[Solved] Blank page in browser

Yesterday I tested the Update process inside Nextcloud, to upgrade to version 17. It went ok, but then the Group Folders app refused to work. Since this one is very important, I decided to restore from backup and get back to version 16. This went ok, although the rescanning of files took about an hour and half. My client resynced during the night. Everything seemed to be working ok.

However, the web interface (192.168.1.9/apps/files) does not work; it gives a blank page with only the top and left side bars, no file/folder list. Clicking on menu items does nothing. The admin interface “:4443” UI works ok.

Firefox (version 70/Linux) console lists following errors:

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). ExtensionContent.jsm:579:35
JQMIGRATE: Migrate is installed, version 1.4.1 main.js:278:531
TypeError: OC.filePath is not a function main.js:22:35
TypeError: “OC.imagePath is not a function”
iconPath https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:14
get https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
evaluate https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
xn https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
a https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:14
_render https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
r https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
get https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
mn https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
mount https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
$mount https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
$mount https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
init https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
l https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
l https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
Ji https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
_update https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
r https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
get https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
mn https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
mount https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
$mount https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
$mount https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
_init https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
On https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:33
n https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:1
https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:1
https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:1
notifications.js:7:11676
TypeError: “OC.registerMenu is not a function”
mounted https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:14
Wt https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
rn https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
insert https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
A https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
Ji https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
_update https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
r https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
get https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
mn https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
mount https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
$mount https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
$mount https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
_init https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
On https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:7
https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:33
n https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:1
https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:1
https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0:1
notifications.js:7:11676
TypeError: OC.linkTo is not a function files_sharing.js:1:1003
TypeError: OC.linkTo is not a function collaboration.js:1:940
TypeError: o.linkTo is not a function collections.js:412:48
TypeError: e.linkTo is not a function files.js:23:326
TypeError: OC.linkTo is not a function additionalScripts.js:1:2010
TypeError: OC.filePath is not a function editor.js:22:12242
ReferenceError: oc_requesttoken is not defined scripts-for-file-app.js:1244:1
TypeError: OC.linkToOCS is not a function merged-files.js:8802:11
TypeError: OC.filePath is not a function viewer.js:7:66718
New search handler registered search.js:67:12
TypeError: F.parseQueryString is not a function main.js:120:1282
TypeError: OC.getHost is not a function client.js:937:13
Source map error: Error: request failed with status 404
Resource URL: https://192.168.1.9/js/spreed/merged-files.js?v=f65f8b83-0
Source Map URL: backbone.marionette.min.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/spreed/js/collections.js?v=f65f8b83-0
Source Map URL: collections.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/files_sharing/js/dist/files_sharing.js?v=f65f8b83-0
Source Map URL: files_sharing.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/files_texteditor/build/editor.js?v=f65f8b83-0
Source Map URL: editor.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0
Source Map URL: notifications.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/files_sharing/js/dist/additionalScripts.js?v=f65f8b83-0
Source Map URL: additionalScripts.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/files_videoplayer/js/main.js?v=f65f8b83-0
Source Map URL: main.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/groupfolders/build/files.js?v=f65f8b83-0
Source Map URL: files.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/core/js/dist/main.js?v=f65f8b83-0
Source Map URL: main.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/viewer/js/viewer.js?v=f65f8b83-0
Source Map URL: viewer.js.map
Source map error: Error: request failed with status 404
Resource URL: https://192.168.1.9/js/spreed/merged-files.js?v=f65f8b83-0
Source Map URL: backbone.marionette.min.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/spreed/js/collections.js?v=f65f8b83-0
Source Map URL: collections.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/files_texteditor/build/editor.js?v=f65f8b83-0
Source Map URL: editor.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/groupfolders/build/files.js?v=f65f8b83-0
Source Map URL: files.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/files_versions/js/files_versions.js?v=f65f8b83-0
Source Map URL: files_versions.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/notifications/js/notifications.js?v=f65f8b83-0
Source Map URL: notifications.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/files_sharing/js/dist/additionalScripts.js?v=f65f8b83-0
Source Map URL: additionalScripts.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/files_videoplayer/js/main.js?v=f65f8b83-0
Source Map URL: main.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/files_trashbin/js/files_trashbin.js?v=f65f8b83-0
Source Map URL: files_trashbin.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/core/js/dist/main.js?v=f65f8b83-0
Source Map URL: main.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/systemtags/js/systemtags.js?v=f65f8b83-0
Source Map URL: systemtags.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/comments/js/comments.js?v=f65f8b83-0
Source Map URL: comments.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/core/js/dist/systemtags.js?v=f65f8b83-0
Source Map URL: systemtags.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/core/js/dist/share_backend.js?v=f65f8b83-0
Source Map URL: share_backend.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/files_sharing/js/dist/files_sharing.js?v=f65f8b83-0
Source Map URL: files_sharing.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/viewer/js/viewer.js?v=f65f8b83-0
Source Map URL: viewer.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/apps/recommendations/js/main.js?v=f65f8b83-0
Source Map URL: main.js.map
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: https://192.168.1.9/core/js/dist/main.js?v=f65f8b83-0
Source Map URL: main.js.map

This morning NCP upgraded to 1.19.1, so I’m on latest levels.
I have rebooted both the Raspberry and my laptop.

With the new NCP 1.19.1, I ran nc-update-nextcloud and upgraded to Nextcloud 17.0.1. This seems to have fixed the problems!