🌈 💃 🔨 How to
Set the permissions to run the script:
$ chmod a+x nextcloud-<action>-<platform>.sh
Run it:
$ chmod a+x nextcloud-<action>-<platform>.sh
✏️ Apache configuration for symlinks
‼️ “Symbolic link not allowed or link target not accessible"
🐊 openSUSE Linux
Add the following lines to /etc/apache2/default-server.conf:
Options Indexes FollowSymLinks
AllowOverride None
The settings need to be in <Directory "/srv/www/htdocs">:
DocumentRoot "/srv/www/htdocs"
#
# Configure the DocumentRoot
#
<Directory "/srv/www/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
#Require all granted
Restart Apache:
$ sudo apache2ctl restart
😺 Ubuntu
WIP
🔒 If your home folder is encrypted
The symlinks will not work, so you need to work around that as described at this link: https://stackoverflow.com/a/39037942
$ sudo apt-get install lsyncd
Starting the background service
$ sudo lsyncd -rsync /home/<username>/nextcloud/ /var/www/html/nextcloud/
Additionally set the permissions on the lsynced files in /var/www
sudo chown www-data:www-data /var/www/data
sudo chown :www-data /var/www/config/
sudo chmod 775 /var/www/config/
sudo chown :www-data /var/www/apps/
sudo chmod 775 /var/www/apps/

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
