nextcloud

Known issues & fixes

  1. Internet Connection is not recognized
  2. Logreader doesn’t show logentries anymore
  3. Backup and restore the Nextcloud database

 

 


(1) Internet Connection not recognized

If your admin panel shows up the following message:


This server has no working Internet connection: Multiple endpoints could not be reached.
This means that some of the features like mounting external storage, notifications about updates or installation of third-party apps will not work.
Accessing files remotely and sending of notification emails might not work, either. 
We suggest to enable Internet connection for this server if you want to have all features.

check the log file regarding to this message:

GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate verify locations: CAfile: /var/nc_data/files_external/rootcerts.crt CApath: /etc/ssl/certs

If you find this message just remove the rootcerts.crt from your data folder/files_external directory:

sudo -s
cd /var/nc_data/files_external
rm rootcerts.crt

and check the internet connection state in Nextcloud again:

All checks passed again.


(2) Log Reader App

If you change the logreaders context menue e.g. deselect info, it may happen that the logging page does not show any log entry anymore:

To fix this behaviour just logon to mariadb and run the following statements:

mysql -uroot -p
use nextcloud;
UPDATE oc_appconfig SET configvalue='11111' WHERE oc_appconfig.appid='logreader' AND oc_appconfig.configkey='levels';
quit

Refresh your browser (F5)

and the Logs will be shown again.


(03) Backup and restore the Nextcloud database

You may backup your database via command line:

mysqldump --lock-tables -hlocalhost  -unextcloud -pnextcloud nextcloud > ~/nextcloud-sqlbkp_`date +"%Y%m%d"`.bak

Backup Nextcloud

and as well restore your database by using:

mysql -hlocalhost -unextcloud -pnextcloud nextcloud < ~/nextcloud-sqlbkp_`date +"%Y%m%d"`.bak

Restore Nextcloud

Be careful!