Edit: I originally post this in the installation category, but have moved it to support as its to do with an existing installation.
TL;DR: I try to upgrade 11.0.8 to 12.0.9 and I’m left with a blank screen on the web UI.
I’ve been using Nextcloud (and Owncloud before that) for many years on a Raspberry Pi.
However I am no Linux expert, I’m just running this system to keep all my devices in sync.
Generally I have found the upgrade process to be simple, however back in March I tried to upgrade NC11.0.3 to the latest version at the time (12.0.6).
I initially tried installing via the updater app however when it finished I was greeted with a blank screen in Firefox. I tried various things following online advice to try to fix this, including manual upgrades, but to no avail. Fortunately every time I failed I could restore the backups and continue.
Finally I just upgraded to the latest 11 release (11.0.8) which did install correctly, and moved on.
Now however I’m getting issues with my desktop sync not working, and since 11 is no longer supported I should really catch up, but again using the updater app to go to 12.0.9 leaves me with a blank UI.
I tried a manual upgrade to 12.0.9, and also to 12.0.0 (in case it was too big a jump), both finish, but then leave me with a blank UI.
Does anyone have any ideas as to what might be causing this?
Or troubleshooting ideas to give me more than “There is just a blank screen”.
I didn’t notice any errors during the upgrade.
Perhaps it’s a PHP issue? Or maybe there’s a necessary apache/nginx configuration that needs to be changes. Could also be permissions weren’t changed properly
I don’t think its a php issue, since it worked again once i restored the files.
Initially I thought v12 might have increased the php version, but the release notes say 5.6 is still acceptable.
As to the permission suggestion, I ran the following to reset permissions after the upgrade.
please check your logfiles (webserver), it should give you more information why it failed. You need to increase the loglevel in some cases or try logging php errors (php.ini should give you all the required information what and where to log it).
Thanks for your assistance @tflidd sorry I left this hanging for a few weeks.
I tried the upgrade again (this time using the auto updater to update to 12.0.10),
When I was asked “Keep maintenance mode active?” I said Yes and ran. sudo -u www-data php /var/www/html/nextcloud/occ upgrade
That appeared to complete however again I was left with a blank UI.
Looking at the /var/log/apache2/error.log
I’d increased error_reporting to E_ALL
in /etc/php5/apache2/php.ini
and whereas before where there were no errors I now saw…
[Tue Jul 31 12:56:39.041020 2018] [mpm_prefork:notice] [pid 12522] AH00163: Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t configured -- resuming normal operations
[Tue Jul 31 12:56:39.041381 2018] [core:notice] [pid 12522] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 31 12:57:46.214884 2018] [:error] [pid 12527] [client 86.139.171.90:48067] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:57:50.615237 2018] [:error] [pid 12526] [client 86.139.171.90:48069] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:57:54.848339 2018] [:error] [pid 12527] [client 86.139.171.90:48071] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:57:59.078349 2018] [:error] [pid 12526] [client 86.139.171.90:48073] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:03.380037 2018] [:error] [pid 12554] [client 86.139.171.90:48075] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:07.600483 2018] [:error] [pid 12527] [client 86.139.171.90:48077] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:11.837710 2018] [:error] [pid 12526] [client 86.139.171.90:48079] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:16.079570 2018] [:error] [pid 12527] [client 86.139.171.90:48083] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:20.347408 2018] [:error] [pid 12530] [client 86.139.171.90:48085] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:21.072668 2018] [:error] [pid 12527] [client 86.139.171.90:48087] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:25.280182 2018] [:error] [pid 12530] [client 86.139.171.90:48089] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:29.540395 2018] [:error] [pid 12527] [client 86.139.171.90:48091] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:33.775580 2018] [:error] [pid 12526] [client 86.139.171.90:48095] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:38.035954 2018] [:error] [pid 12530] [client 86.139.171.90:48097] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:42.289367 2018] [:error] [pid 12527] [client 86.139.171.90:48099] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:46.558380 2018] [:error] [pid 12554] [client 86.139.171.90:48101] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:50.786766 2018] [:error] [pid 12530] [client 86.139.171.90:48103] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 12:58:55.038580 2018] [:error] [pid 12527] [client 86.139.171.90:48105] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 13:01:05.000394 2018] [:error] [pid 12530] [client 86.139.171.90:7376] PHP Warning: include(/var/www/html/nextcloud/lib/composer/composer/../../../lib/private/Diagnostics/EventLogger.php): failed to open stream: No such file or direct
ory in /var/www/html/nextcloud/lib/composer/composer/ClassLoader.php on line 444
[Tue Jul 31 13:01:05.000647 2018] [:error] [pid 12530] [client 86.139.171.90:7376] PHP Warning: include(): Failed opening '/var/www/html/nextcloud/lib/composer/composer/../../../lib/private/Diagnostics/EventLogger.php' for inclusion (include_path
='/var/www/html/nextcloud/3rdparty/pear/console_getopt:/var/www/html/nextcloud/3rdparty/pear/pear_exception:/var/www/html/nextcloud/3rdparty/pear/archive_tar:/var/www/html/nextcloud/3rdparty/pear/pear-core-minimal/src:/var/www/html/nextcloud/apps'
) in /var/www/html/nextcloud/lib/composer/composer/ClassLoader.php on line 444
[Tue Jul 31 13:01:05.000963 2018] [:error] [pid 12530] [client 86.139.171.90:7376] PHP Fatal error: Class 'OC\\Diagnostics\\EventLogger' not found in /var/www/html/nextcloud/lib/private/Server.php on line 618
[Tue Jul 31 13:01:37.003622 2018] [:error] [pid 12528] [client 86.139.171.90:7460] PHP Warning: require_once(/var/www/html/nextcloud/lib/base.php): failed to open stream: Permission denied in /var/www/html/nextcloud/status.php on line 32
[Tue Jul 31 13:01:39.777222 2018] [:error] [pid 12528] [client 86.139.171.90:7460] PHP Fatal error: require_once(): Failed opening required '/var/www/html/nextcloud/lib/base.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/
nextcloud/status.php on line 32
[Tue Jul 31 13:02:08.995549 2018] [:error] [pid 12526] [client 86.139.171.90:7546] PHP Warning: require_once(/var/www/html/nextcloud/lib/base.php): failed to open stream: Permission denied in /var/www/html/nextcloud/status.php on line 32
[Tue Jul 31 13:02:08.995753 2018] [:error] [pid 12526] [client 86.139.171.90:7546] PHP Fatal error: require_once(): Failed opening required '/var/www/html/nextcloud/lib/base.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/
nextcloud/status.php on line 32
[Tue Jul 31 13:02:40.986709 2018] [:error] [pid 12530] [client 86.139.171.90:7627] PHP Warning: require_once(/var/www/html/nextcloud/lib/base.php): failed to open stream: Permission denied in /var/www/html/nextcloud/status.php on line 32
[Tue Jul 31 13:02:40.986899 2018] [:error] [pid 12530] [client 86.139.171.90:7627] PHP Fatal error: require_once(): Failed opening required '/var/www/html/nextcloud/lib/base.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/
nextcloud/status.php on line 32
[Tue Jul 31 13:03:12.990620 2018] [:error] [pid 12526] [client 86.139.171.90:7707] PHP Warning: require_once(/var/www/html/nextcloud/lib/base.php): failed to open stream: Permission denied in /var/www/html/nextcloud/status.php on line 32
[Tue Jul 31 13:03:12.990845 2018] [:error] [pid 12526] [client 86.139.171.90:7707] PHP Fatal error: require_once(): Failed opening required '/var/www/html/nextcloud/lib/base.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/
nextcloud/status.php on line 32
[Tue Jul 31 13:14:03.174749 2018] [:error] [pid 12526] [client 86.139.171.90:48291] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 13:14:07.473251 2018] [:error] [pid 12614] [client 86.139.171.90:48293] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 13:14:11.728111 2018] [:error] [pid 12619] [client 86.139.171.90:48295] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 13:14:15.964629 2018] [:error] [pid 12526] [client 86.139.171.90:48327] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 13:14:20.233592 2018] [:error] [pid 12528] [client 86.139.171.90:48329] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 13:14:24.471316 2018] [:error] [pid 12554] [client 86.139.171.90:48331] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
[Tue Jul 31 13:14:29.005915 2018] [:error] [pid 12528] [client 86.139.171.90:48335] PHP Fatal error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found in /var/www/html/nextcloud/remote.php on line 57
Does this explain my issue?
If so how can I fix it?