Hi,
I managed to update my Nextcloud, after the previous try removed all my data. Unfortunately it doesn’t seem to be initialized. The files in the data directory are still there, but when I try to connect to it in the browser I get this:
I still have the backup from the install process, but how do I use it without deleting all files. I couldn’t find a good explanation how the backup gets restored. Is there a step by step guide somewhere and what to think of? I remember that I tried it once and it removed my whole data directory which takes forever to extract from the backup (quite big).
I appreciate any help, thank you!
NextCloudPi diagnostics
Nextcloud is not installed - only a limited number of commands are available
NextCloudPi version v1.51.0
NextCloudPi image NextcloudPi_docker_01-22-23
OS Debian GNU/Linux 11. 6.0.13-meson64 (aarch64)
automount no
USB devices sda sdb sdc
datadir (doesn't exist)
rootfs usage 19G/466G
swapfile none
dbdir /data/database
Nextcloud check ok
Nextcloud version 25.0.3.2
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB service down
Postfix service up
Internet check ok
public IP ***REMOVED SENSITIVE VALUE***
public IP ***REMOVED SENSITIVE VALUE***
Port check 80 closed
Port check 443 closed
IP ***REMOVED SENSITIVE VALUE***
gateway ***REMOVED SENSITIVE VALUE***
Interface eth0
certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
Uptime 5min
Nextcloud configuration
Nextcloud is not installed - only a limited number of commands are available
There are no commands defined in the "config" namespace.
HTTPd logs
[Tue Jan 24 19:09:04.076491 2023] [proxy_fcgi:error] [pid 328:tid 281473271452032] [client 172.17.0.1:54644] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /data/nextcloud/remote.php:61\nStack trace:\n#0 /data/nextcloud/remote.php(172): handleException()\n#1 {main}\n thrown in /data/nextcloud/remote.php on line 61'
[Tue Jan 24 19:13:42.022179 2023] [proxy_fcgi:error] [pid 328:tid 281472753721728] [client 172.17.0.1:58824] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /data/nextcloud/remote.php:61\nStack trace:\n#0 /data/nextcloud/remote.php(172): handleException()\n#1 {main}\n thrown in /data/nextcloud/remote.php on line 61'
[Tue Jan 24 19:27:14.743847 2023] [proxy_fcgi:error] [pid 327:tid 281472468500864] [client 172.17.0.1:38342] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /data/nextcloud/remote.php:61\nStack trace:\n#0 /data/nextcloud/remote.php(172): handleException()\n#1 {main}\n thrown in /data/nextcloud/remote.php on line 61'
[Tue Jan 24 19:27:15.032765 2023] [proxy_fcgi:error] [pid 327:tid 281472485286272] [client 172.17.0.1:38344] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /data/nextcloud/remote.php:61\nStack trace:\n#0 /data/nextcloud/remote.php(172): handleException()\n#1 {main}\n thrown in /data/nextcloud/remote.php on line 61'
[Tue Jan 24 19:28:49.880740 2023] [proxy_fcgi:error] [pid 327:tid 281472753721728] [client 172.17.0.1:42386] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /data/nextcloud/remote.php:61\nStack trace:\n#0 /data/nextcloud/remote.php(172): handleException()\n#1 {main}\n thrown in /data/nextcloud/remote.php on line 61'
[Tue Jan 24 19:30:18.774985 2023] [core:crit] [pid 328:tid 281472351068544] (13)Permission denied: [client 172.17.0.1:42442] AH00529: /var/www/nextcloud/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/nextcloud/' is executable
[Tue Jan 24 20:35:12.309947 2023] [mpm_event:notice] [pid 325:tid 281473524670480] AH00492: caught SIGWINCH, shutting down gracefully
[Tue Jan 24 20:36:23.460146 2023] [ssl:error] [pid 372:tid 281473498148880] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 1050478643D922999C4D0F784DB1775639C0A8D0 / notbefore: Jan 22 01:34:41 2023 GMT / notafter: Jan 19 01:34:41 2033 GMT]
[Tue Jan 24 20:36:23.460744 2023] [ssl:error] [pid 372:tid 281473498148880] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Tue Jan 24 20:36:23.477714 2023] [ssl:error] [pid 373:tid 281473498148880] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 1050478643D922999C4D0F784DB1775639C0A8D0 / notbefore: Jan 22 01:34:41 2023 GMT / notafter: Jan 19 01:34:41 2033 GMT]
[Tue Jan 24 20:36:23.477749 2023] [ssl:error] [pid 373:tid 281473498148880] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Tue Jan 24 20:36:23.481924 2023] [mpm_event:notice] [pid 373:tid 281473498148880] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Tue Jan 24 20:36:23.482040 2023] [core:notice] [pid 373:tid 281473498148880] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 24 20:40:45.855130 2023] [ssl:error] [pid 372:tid 281472845467664] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 1050478643D922999C4D0F784DB1775639C0A8D0 / notbefore: Jan 22 01:34:41 2023 GMT / notafter: Jan 19 01:34:41 2033 GMT]
[Tue Jan 24 20:40:45.855150 2023] [ssl:error] [pid 372:tid 281472845467664] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Tue Jan 24 20:40:45.869813 2023] [ssl:error] [pid 373:tid 281472845467664] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=localhost / issuer: CN=localhost / serial: 1050478643D922999C4D0F784DB1775639C0A8D0 / notbefore: Jan 22 01:34:41 2023 GMT / notafter: Jan 19 01:34:41 2033 GMT]
[Tue Jan 24 20:40:45.869858 2023] [ssl:error] [pid 373:tid 281472845467664] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Tue Jan 24 20:40:45.871472 2023] [core:warn] [pid 373:tid 281472845467664] AH00098: pid file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Jan 24 20:40:45.873812 2023] [mpm_event:notice] [pid 373:tid 281472845467664] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Tue Jan 24 20:40:45.873906 2023] [core:notice] [pid 373:tid 281472845467664] AH00094: Command line: '/usr/sbin/apache2'
Database logs
tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory
Nextcloud logs
tail: cannot open '/nextcloud.log' for reading: No such file or directory