Easiest Nextcloud Installation with Docker

Easiest Nextcloud Installation with Docker





Make sure server is on.



Download PuTTy



https://putty.org/

Install Putty



Find mount points for disks

lsblk



Make a Directory

mkdir /srv/dev-disk-by-label-32gb/appdata/ncdata





List your directories

ls /srv/dev-disk-by-label-32gb/appdata/



Change noexec



OMV5



https://forum.openmediavault.org/index.php/Thread/28623-with-omv-mkconf-missing-OMV-FSTAB-MNTOPS-EXT4-variable-deprecated-how-can-one-mo/?postID=213327#post213327

nano /etc/openmediavault/config.xml

F6

Search for  <mntent> 

Remove the noexec

omv-salt deploy run fstab



OMV4



https://openmediavault.readthedocs.io/en/stable/various/fs_env_vars.html

omv-mkconf fstab



https://hub.docker.com/r/ownyourbits/nextcloudpi/





Change Port settings for OMV



General Settings

Change Port to 81

Save

Re login to OMV add :81 to end of IP address

Book mark OMV page.































Nextcloudpi





https://ownyourbits.com/nextcloudpi/



Scroll down to documentation



Click on How to install Nextcloud

https://docs.nextcloudpi.com/en/



Scroll How to Get started NCP docker



Download it with:



docker pull ownyourbits/nextcloudpi-x86



docker pull ownyourbits/nextcloudpi-armhf     (If using RPI ot other armfs SBC)



IP=192.168.8.111

docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v /srv/dev-disk-by-label-32gb/appdata/ncdata:/data --name nextcloudpi ownyourbits/nextcloudpi-x86 192.168.8.111







Check Logs for completion



docker logs -f nextcloudpi

(ctrl+c to exit log)





The first time it will take some seconds to do the initial configuration, wait until you see ‘Init done’ or open portainer, shows e











Go to IP address



Copy



NextcloudPi

U: ncp

Password: vVHqOwijjqadcBul0D740qcpQyYcLPfk065owTsLt1Y



Nextcloud

U: ncp

Password: 7ZttPtbCu/+47pAt6dCsIgHH2hc777bfQm9Vchj5ql8



Activate



Then, you can log into Nextcloudpi



https://<ip_or_url>:4443





First Run Wizard

-external access – yes

-forward ports – takes a few minutes

-I will do it manually

Forward ports 80 and 443

-Skip DDNS



Go to Next Cloud Pi web panel



-Config

- nc-trusted domains – change domain three to local network.

- nc-passwd



Login to Nextcloud

Download desktop app

Phone app



Add duckdns account

https://www.duckdns.org/domains

Networking

- duckDNS

add domain and get token, apply

nextcloudtdl.duckdns.org

Copy Token



Add letsencrypt

Networking

- letsencrypt

nextcloudtdl.duckdns.org



Login to Phone App

Use duckdns address and email password to self to copy



Add a Music folder

Click on plus sign above folders on left

Drag and drop files to folder



Add apps

Click letter in top right corner

Click apps

- multimedia

- add audio player

open audio player

- click settings bottom left

- advanced settings

- search for files in Music

Comments

Popular posts from this blog