Adding Notes / Upgrading to 14.0.3 or 14.0.4

Adding Notes

Finding a good notes program for Android devices is not so easy. After searching again I found NextCloud Notes, perfect. It updates immediately on you NextCloud server from whichever Android device or server web interface you approach it. Do not forget to enable it first by installing it.

Upgrading to NextCloud 14.0.3

From, October 14st 2018, I upgraded NextCloud through the web interface from version 14.0.1 to 14.0.3. Everything went well…. aside one error showed up again.

Fix the “Referrer Header error”

The error was previously fixed by adding an line to the .htaccess file. This gets overwritten during the update. Further research showed it is better to change the sites available configuration file:

sudo nano /etc/apache2/sites-available/nextcloud.conf

Notice if you have a secure site the file may be called nextcloud-le-ssl.conf

sudo nano /etc/apache2/sites-available/nextcloud-le-ssl.conf

For some unknown reason the line may also have to be:

Header set Referrer-Policy “no-referrer”

Insert the blue coloured text in the file, safe the file and restart Apache:

sudo systemctl restart apache2

Background Updates do not seem to function any more.

Above error showed up after updating to 4.0.3, I am surprised! Looking in the manual, it now seems required to have a cron job, to make sure background tasks of NextCloud run sufficiently. Previously it seemed to be okay to have Ajax type update with every page that is requested. To fix this error I found in the manual the following solution:
sudo crontab -u www-data -e
An editor of your choise, it will be Nano, will open the you paste the following line:

*/15  *  *  *  * php -f /var/www/nextcloud/cron.php

Save the file and wait half an our, the error should have disappeared!

This will conclude the update to NextCloud 14.0.3.


Last Updated on 11 december 2018