While testing my backup recovery (on a separate test server), I inadvertently initiated a restore to my working server, which I killed immediately by rebooting (seemed no other way to abort) and then running a reconfigure to recover. It generally seems otherwise OK, but NextCloud is now broken, and the the server ran another backup which restarted the sequence overwrote my previous full backup and incrementals, so I no longer have the pre-error backup
Accessing NextCloud now shows the following:
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
The access generates the following in /var/log/php/nextcloud/error.log
[03-Apr-2024 08:52:55 America/Vancouver] PHP Warning: file_exists(): open_basedir restriction in effect. File(/templates/) is not within the allowed path(s): (/usr/share/nextcloud:/var/lib/nextcloud:/var/log/nextcloud.log:/var/lib/php/nextcloud:/home/e-smith/files/nextcloud:/dev/urandom:/proc/meminfo:/usr/share/GeoIP/GeoLite2-Country.mmdb:/proc/cpuinfo:) in /usr/share/nextcloud/lib/private/Template/Base.php on line 68
This appears to be due to some file in the backup; on my test server I ran a fresh install, installed nextcloud, and found that nextcloud was accessible. After restoring from backup, I get same results as above. A restore from an archived backup works, though.
Not sure where to start looking ...
Thanks