I’ve recently installed Nextcloud using the NextcloudPi image and have successfully logged in. However, I’m finding it challenging to navigate back to the initial setup where I can specify the hard drive and create a DNS. I’ve tried following a tutorial video, but the steps are a bit unclear to me.
Should I consider switching to a Docker installation, or is the NextcloudPi method okay? While I’ve managed to create the SD image and log in, I’m struggling with the configuration. Any advice or guidance would be greatly appreciated!
Thanks in advance for your help!
If anyone could suggest the best install method for pi4 I’d appreciate it.
Thanks for tip. To be honest I’m struggling. Does anyone have a fool proof install for Nextcloudpi - I’ve tried though I’m really struggling. The youtube videos seem quite old or not relevant for this image.
I need
Port forwarding
dns setting - duck dns or something similar
Enable - ssh
Straightforward and well presented instructions assuming little knowledge.
Sorry to here you are struggling, and afaik there is no such thing as fool proof in matters of server administration. It can be hard in the beginning.
Port forwarding is managed from your router, so it has nothing to do with NCP or NC. You need to log in to the box provided by your Internet provider.
Mine is at 192.168.1.1 and look for NAT/PAT to add the port forwards
exfat is not a linux filesystem all tho you can use it if you install exfat-fuse and exfat-utils you cannot set permissions like in linux because it simply doesn’t support it.
when you plug in the usb drive it is most likely automaticly mounted in /media/[USERNAME]/[DRIVE-NAME] where [USERNAME] is most likely pi
Nextcloud needs read/write access to this disk but under the USERNAME of your Webserver ( www-data )
You can use exfat but it needs to be mounted under the uid/gid of your webserver.
when you login ssh on pi you can check if the webserver can write to your exfat disk
go where your disk is mounted example /media/pi/HDD
cd /media/pi/HDD
sudo -u www-data touch delete.this
sudo rm delete.this
If the disk is not yet used I would suggest to format it ext4 to avoid such problems.
Have you thought about the future when the 8Tb is full.
check out LVM it allow logical volumes spanning over multiple disks.
Thanks for you help Vincent however this is a little too complicated for me. Can anyone else help?
I’m really struggling. I’ve installed NextcloudPi 4 times due to various issues. I now need to use my external drive (8TB). I’ve tried formatting it on my Mac using GPT fdisk; however, it still isn’t being recognised. Can somebody give me the steps to
Format the external drive (to the correct format)
Mount it in Nextcloud
Allow me to use it as storage?
At this storage I have none of my data on the drive.
Thanks Vincent for your help. I’m struggling to follow you’re instructions, as I’m new to this, I’ve now got the following message during login - Your data directory is invalid.
Ensure there is a file called “.ocdata” in the root of the data directory.