NextCloudPi is a ready to use image for Raspberry Pi that runs NextCloud software to enable your Pi to be a home cloud server. This code also generates the NextCloudPi ARM docker image.
Follow the guide How to install NextCloudPi.
I get stuck at "NC not yet initialized..." / Nextcloud is so slow / failing randomly / getting server errors even with a fresh image?
Most commonly these things are caused by hardware problems.
- Check your SD card: take it out, copy the whole image to your computer and then copy it back to the SD. Assert that there are no read/write errors. You can also check the md5sum after reading it again and assert that it matches the md5sum of the image that you just copied.
- Check your power supply. Many cheap power supplies are not stable enough for reliable functioning. Also try to have external supplies for your external HDDs.
See this guide
nc-update
only updates NextCloudPi related stuff. In order to upgrade the Nextcloud instance itself you use nc-update-nextcloud
.
No. You only need to run the Wizard to have a working Nextcloud instance. Everything else is optional.
No. These do not support the linux user/permission system.
You can read/write to NTFS/FAT filesystems, but the permissions need to be set for the whole drive, which leads to many problems.
Secondly, the performance can be really bad in linux, and this is very noticeable on the pi.
For this reasons, this is not supported. Do it at your own risk.
There are two ways.
- You can place an empty file named
ssh
in the boot partition of the sd card (so/boot/ssh
) - You can connect a keyboard and screen to the Raspberry Pi, log in and activate it typing
sudo raspi-config
, then go to the option 'Interfacing Options' > 'SSH'
Yes, it's here
- For ssh or terminal pi/raspberry (root/1234 on armbian)
- For nextcloudpi.local:4443 ncp/ownyourbits,
- For nextcloudpi.local ncp/ownyourbits
- For Database user is ncadmin/password is generated dynamically and stored in /root/.my.cnf
What user/permissions should I have to the external USB drive mount point, the ncdata and ncdatabase directory?
Directory | User | Group | Permissions | Permission mask |
---|---|---|---|---|
Mount Point | root | root | drwxr-x--x | 751 |
ncdata | www-data | www-data | drwxr-x--- | 750 |
ncdatabase | mysql | mysql | drwxr-xr-x | 755 |
Read the blog post.
The md5sum on the site is the md5sum of the tar.bz2
file that you get after you download, not the image's one.
In dd
command you need to specify the block device, not the partition. E.x.:
sudo dd bs=4M if=NextCloudPi_xx-yy-zz.img of=/dev/sda status=progress && sync
Yes, it can be done following this guide
You can change the port in the apache virtual host files ( in /etc/apache2/sites-available
), but the Let's Encrypt authentication process won't work for you.
- If you only have port 443 available, you can use the following workaround: copy that code and after that try again from the web interface or
nextcloudpi-config
sudo wget https://raw.githubusercontent.com/nextcloud/nextcloudpi/beb9bc1ee2909a1ab6bfde7398ddf19a50d02478/etc/nextcloudpi-config.d/letsencrypt.sh -O /usr/local/etc/nextcloudpi-config.d/letsencrypt.sh
- If you don't have port 443 available, you will have to do it manually. You can use the Let's Encrypt DNS challenge authentication for this ( wiki entry ).
Also, see this page on performance tips.
First install plex, after configure NextCloudPi, upgrades, etc.