Server: Internal Server Error on every page after upgrade to 14 beta 3. Class 'OCP\\Config' not found

Created on 12 Aug 2018  路  8Comments  路  Source: nextcloud/server

Steps to reproduce

  1. Select custom theme with custom logo image (?)
  2. Upgrade Nextcloud to 14 Beta 3
    3.

Expected behaviour

Upgrade would finish without issues, instance would work as expected

Actual behaviour

Upgrade finishes, but when redirecting to home page after upgrade, I got an error:

Internal Server Error

The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.

Server configuration

Operating system:
Ubuntu 14.04

Web server:
Apache 2.4.7

Database:
mysql Ver 14.14 Distrib 5.5.61

PHP version:
PHP 7.0.31-1+ubuntu14.04.1+deb.sury.org+1

Nextcloud version: (see Nextcloud admin page)
should be 14 Beta 3

Updated from an older Nextcloud/ownCloud or fresh install:
Just updated from 13.05

Where did you install Nextcloud from:
The updater in the settings

Signing status:


Signing status

Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

List of activated apps:


App list

Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Enabled:

  • activity: 2.6.1
  • announcementcenter: 3.2.1
  • bookmarks: 0.11.0
  • bruteforcesettings: 1.1.0
  • calendar: 1.6.1
  • cloud_federation_api: true
  • comments: 1.3.0
  • contacts: 2.1.5
  • dashboard: 5.0.0
  • dav: 1.4.7
  • deck: 0.4.1
  • external: 3.0.4
  • federatedfilesharing: 1.3.1
  • federation: 1.3.0
  • files: 1.8.0
  • files_external: 1.4.1
  • files_markdown: 2.0.4
  • files_pdfviewer: 1.2.1
  • files_reader: 1.2.3
  • files_sharing: 1.5.0
  • files_texteditor: 2.5.1
  • files_trashbin: 1.3.0
  • files_versions: 1.6.0
  • files_videoplayer: 1.2.0
  • firstrunwizard: 2.2.1
  • gallery: 18.0.0
  • groupfolders: 1.3.3
  • impersonate: 1.0.4
  • logreader: 2.0.0
  • lookup_server_connector: 1.1.0
  • mail: 0.8.3
  • music: 0.9.0
  • nextcloud_announcements: 1.2.0
  • notifications: 2.1.2
  • oauth2: 1.1.1
  • password_policy: 1.3.0
  • provisioning_api: 1.3.0
  • serverinfo: 1.3.0
  • sharebymail: 1.3.0
  • spreed: 3.2.5
  • survey_client: 1.1.0
  • systemtags: 1.3.0
  • tasks: 0.9.6
  • theming: 1.4.5
  • twofactor_backupcodes: 1.2.3
  • updatenotification: 1.3.0
  • workflowengine: 1.3.0
    Disabled:
  • accessibility
  • admin_audit
  • audioplayer
  • circles
  • encryption
  • files_accesscontrol
  • files_automatedtagging
  • gpxedit
  • keeweb
  • mindmaps
  • support
  • user_external
  • user_ldap
  • weather

Nextcloud configuration:


Config report
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"192.168.1.116",
"REMOVED SENSITIVE VALUE",
"REMOVED SENSITIVE VALUE"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"overwrite.cli.url": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "13.0.5.2",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"logfile": "/var/log/nextcloud.log",
"loglevel": 0,
"forcessl": true,
"forceSSLforSubdomains": true,
"appstore.experimental.enabled": true,
"maintenance": false,
"theme": "",
"updatechecker": false,
"preview_libreoffice_path": "/usr/lib/libreoffice/program/soffice",
"updater.server.url": "https://updates.nextcloud.com/updater_server/",
"updater.release.channel": "beta",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtpmode": "php",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"updater.secret": "REMOVED SENSITIVE VALUE"
}
}

Are you using external storage, if yes which one: local/smb/sftp/...
yes, local

Are you using encryption: yes/no
no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no

Client configuration

Browser:
Firefox

Operating system:
ubuntu 16.04

Logs

Web server error log


Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)


Nextcloud log

{"reqId":"AhMjP3Ses6tYKgezQW94","level":3,"time":"2018-08-12T10:28:36+00:00","remoteAddr":"37.193.247.194","user":"--","app":"PHP","method":"GET","url":"\/index.php\/settings\/integrity\/failed","message":"Undefined index: name at \/var\/www\/owncloud\/core\/templates\/update.admin.php#24","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"AhMjP3Ses6tYKgezQW94","level":3,"time":"2018-08-12T10:28:36+00:00","remoteAddr":"37.193.247.194","user":"--","app":"index","method":"GET","url":"\/index.php\/settings\/integrity\/failed","message":{"Exception":"Error","Message":"Class 'OCP\\Config' not found","Code":0,"Trace":[{"file":"\/var\/www\/owncloud\/apps\/files_reader\/lib\/Hooks.php","line":41,"function":"get","class":"OCA\\Files_Reader\\Config","type":"::","args":["epub_enable","true"]},{"file":"\/var\/www\/owncloud\/lib\/private\/legacy\/hook.php","line":106,"function":"announce_settings","class":"OCA\\Files_Reader\\Hooks","type":"::","args":[{"array":{"oc_debug":"false","oc_isadmin":"false","backendAllowsPasswordConfirmation":"true","oc_dataURL":"false","oc_webroot":"\"\"","oc_appswebroots":"{\"activity\":\"\/apps\/activity\",\"announcementcenter\":\"\/apps\/announcementcenter\",\"bookmarks\":\"\/apps\/bookmarks\",\"bruteforcesettings\":\"\/apps\/bruteforcesettings\",\"calendar\":\"\/apps\/calendar\",\"cloud_federation_api\":\"\/apps\/cloud_federation_api\",\"comments\":\"\/apps\/comments\",\"contacts\":\"\/apps\/contacts\",\"dashboard\":\"\/apps\/dashboard\",\"dav\":\"\/apps\/dav\",\"deck\":\"\/apps\/deck\",\"external\":\"\/apps\/external\",\"federatedfilesharing\":\"\/apps\/federatedfilesharing\",\"federation\":\"\/apps\/federation\",\"files\":\"\/apps\/files\",\"files_external\":\"\/apps\/files_external\",\"files_markdown\":\"\/apps\/files_markdown\",\"files_pdfviewer\":\"\/apps\/files_pdfviewer\",\"files_reader\":\"\/apps\/files_reader\",\"files_sharing\":\"\/apps\/files_sharing\",\"files_texteditor\":\"\/apps\/files_texteditor\",\"files_trashbin\":\"\/apps\/files_trashbin\",\"files_versions\":\"\/apps\/files_versions\",\"files_videoplayer\":\"\/apps\/files_videoplayer\",\"firstrunwizard\":\"\/apps\/firstrunwizard\",\"gallery\":\"\/apps\/gallery\",\"groupfolders\":\"\/apps\/groupfolders\",\"impersonate\":\"\/apps\/impersonate\",\"logreader\":\"\/apps\/logreader\",\"lookup_server_connector\":\"\/apps\/lookup_server_connector\",\"mail\":\"\/apps\/mail\",\"music\":\"\/apps\/music\",\"nextcloud_announcements\":\"\/apps\/nextcloud_announcements\",\"notifications\":\"\/apps\/notifications\",\"oauth2\":\"\/apps\/oauth2\",\"password_policy\":\"\/apps\/password_policy\",\"provisioning_api\":\"\/apps\/provisioning_api\",\"serverinfo\":\"\/apps\/serverinfo\",\"sharebymail\":\"\/apps\/sharebymail\",\"spreed\":\"\/apps\/spreed\",\"survey_client\":\"\/apps\/survey_client\",\"systemtags\":\"\/apps\/systemtags\",\"tasks\":\"\/apps\/tasks\",\"templateeditor\":false,\"theming\":\"\/apps\/theming\",\"twofactor_backupcodes\":\"\/apps\/twofactor_backupcodes\",\"updatenotification\":\"\/apps\/updatenotification\",\"workflowengine\":\"\/apps\/workflowengine\"}","datepickerFormatDate":"\"dd\\\/MM\\\/y\"","nc_lastLogin":0,"nc_pageLoad":1534069716,"dayNames":"[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]","dayNamesShort":"[\"Sun.\",\"Mon.\",\"Tue.\",\"Wed.\",\"Thu.\",\"Fri.\",\"Sat.\"]","dayNamesMin":"[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"]","monthNames":"[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]","monthNamesShort":"[\"Jan.\",\"Feb.\",\"Mar.\",\"Apr.\",\"May.\",\"Jun.\",\"Jul.\",\"Aug.\",\"Sep.\",\"Oct.\",\"Nov.\",\"Dec.\"]","firstDay":"1","oc_config":"{\"session_lifetime\":1440,\"session_keepalive\":true,\"version\":\"14.0.0.15\",\"versionstring\":\"14.0.0 Beta 3\",\"enable_avatars\":true,\"lost_password_link\":null,\"modRewriteWorking\":false,\"sharing.maxAutocompleteResults\":0,\"sharing.minSearchStringLength\":0,\"blacklist_files_regex\":\"\\\\.(part|filepart)$\"}","oc_appconfig":"{\"core\":{\"defaultExpireDateEnabled\":true,\"defaultExpireDate\":1,\"defaultExpireDateEnforced\":false,\"enforcePasswordForPublicLink\":false,\"enableLinkPasswordByDefault\":false,\"sharingDisabledForUser\":false,\"resharingAllowed\":true,\"remoteShareAllowed\":true,\"federatedCloudShareDoc\":\"https:\\\/\\\/docs.nextcloud.com\\\/server\\\/14\\\/go.php?to=user-sharing-federated\",\"allowGroupSharing\":true},\"files\":{\"max_chunk_size\":10485760}}","oc_defaults":"{\"entity\":\"***********\",\"name\":\"***********",\"title\":\"***********",\"baseUrl\":\"***********",\"syncClientUrl\":\"https:\\\/\\\/nextcloud.com\\\/install\\\/#install-clients\",\"docBaseUrl\":\"https:\\\/\\\/docs.nextcloud.com\",\"docPlaceholderUrl\":\"https:\\\/\\\/docs.nextcloud.com\\\/server\\\/14\\\/go.php?to=PLACEHOLDER\",\"slogan\":\"***********\",\"logoClaim\":\"\",\"shortFooter\":\"<a href=\\\"***********\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\">***********<\\\/a> \\u2013 ***********\",\"longFooter\":\"<a href=\\\"***********\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\">***********<\\\/a> \\u2013 ***********\",\"folder\":\"\"}","oc_capabilities":"{\"core\":{\"pollinterval\":60,\"webdav-root\":\"remote.php\\\/webdav\"},\"bruteforce\":{\"delay\":0},\"activity\":{\"apiv2\":[\"filters\",\"filters-api\",\"previews\",\"rich-strings\"]},\"dav\":{\"chunking\":\"1.0\"},\"files_sharing\":{\"api_enabled\":true,\"public\":{\"enabled\":true,\"password\":{\"enforced\":false},\"expire_date\":{\"enabled\":true,\"days\":\"1\",\"enforced\":false},\"send_mail\":false,\"upload\":true,\"upload_files_drop\":true},\"resharing\":true,\"user\":{\"send_mail\":false,\"expire_date\":{\"enabled\":true}},\"group_sharing\":true,\"group\":{\"enabled\":true,\"expire_date\":{\"enabled\":true}},\"default_permissions\":31,\"federation\":{\"outgoing\":true,\"incoming\":true,\"expire_date\":{\"enabled\":true}},\"sharebymail\":{\"enabled\":true,\"upload_files_drop\":{\"enabled\":true},\"password\":{\"enabled\":true},\"expire_date\":{\"enabled\":true}}},\"files\":{\"bigfilechunking\":true,\"blacklisted_files\":[\".htaccess\"],\"undelete\":true,\"versioning\":true}}"}}]},{"file":"\/var\/www\/owncloud\/lib\/private\/Template\/JSConfigHelper.php","line":277,"function":"emit","class":"OC_Hook","type":"::","args":["\\OCP\\Config","js",{"array":{"oc_debug":"false","oc_isadmin":"false","backendAllowsPasswordConfirmation":"true","oc_dataURL":"false","oc_webroot":"\"\"","oc_appswebroots":"{\"activity\":\"\/apps\/activity\",\"announcementcenter\":\"\/apps\/announcementcenter\",\"bookmarks\":\"\/apps\/bookmarks\",\"bruteforcesettings\":\"\/apps\/bruteforcesettings\",\"calendar\":\"\/apps\/calendar\",\"cloud_federation_api\":\"\/apps\/cloud_federation_api\",\"comments\":\"\/apps\/comments\",\"contacts\":\"\/apps\/contacts\",\"dashboard\":\"\/apps\/dashboard\",\"dav\":\"\/apps\/dav\",\"deck\":\"\/apps\/deck\",\"external\":\"\/apps\/external\",\"federatedfilesharing\":\"\/apps\/federatedfilesharing\",\"federation\":\"\/apps\/federation\",\"files\":\"\/apps\/files\",\"files_external\":\"\/apps\/files_external\",\"files_markdown\":\"\/apps\/files_markdown\",\"files_pdfviewer\":\"\/apps\/files_pdfviewer\",\"files_reader\":\"\/apps\/files_reader\",\"files_sharing\":\"\/apps\/files_sharing\",\"files_texteditor\":\"\/apps\/files_texteditor\",\"files_trashbin\":\"\/apps\/files_trashbin\",\"files_versions\":\"\/apps\/files_versions\",\"files_videoplayer\":\"\/apps\/files_videoplayer\",\"firstrunwizard\":\"\/apps\/firstrunwizard\",\"gallery\":\"\/apps\/gallery\",\"groupfolders\":\"\/apps\/groupfolders\",\"impersonate\":\"\/apps\/impersonate\",\"logreader\":\"\/apps\/logreader\",\"lookup_server_connector\":\"\/apps\/lookup_server_connector\",\"mail\":\"\/apps\/mail\",\"music\":\"\/apps\/music\",\"nextcloud_announcements\":\"\/apps\/nextcloud_announcements\",\"notifications\":\"\/apps\/notifications\",\"oauth2\":\"\/apps\/oauth2\",\"password_policy\":\"\/apps\/password_policy\",\"provisioning_api\":\"\/apps\/provisioning_api\",\"serverinfo\":\"\/apps\/serverinfo\",\"sharebymail\":\"\/apps\/sharebymail\",\"spreed\":\"\/apps\/spreed\",\"survey_client\":\"\/apps\/survey_client\",\"systemtags\":\"\/apps\/systemtags\",\"tasks\":\"\/apps\/tasks\",\"templateeditor\":false,\"theming\":\"\/apps\/theming\",\"twofactor_backupcodes\":\"\/apps\/twofactor_backupcodes\",\"updatenotification\":\"\/apps\/updatenotification\",\"workflowengine\":\"\/apps\/workflowengine\"}","datepickerFormatDate":"\"dd\\\/MM\\\/y\"","nc_lastLogin":0,"nc_pageLoad":1534069716,"dayNames":"[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]","dayNamesShort":"[\"Sun.\",\"Mon.\",\"Tue.\",\"Wed.\",\"Thu.\",\"Fri.\",\"Sat.\"]","dayNamesMin":"[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"]","monthNames":"[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]","monthNamesShort":"[\"Jan.\",\"Feb.\",\"Mar.\",\"Apr.\",\"May.\",\"Jun.\",\"Jul.\",\"Aug.\",\"Sep.\",\"Oct.\",\"Nov.\",\"Dec.\"]","firstDay":"1","oc_config":"{\"session_lifetime\":1440,\"session_keepalive\":true,\"version\":\"14.0.0.15\",\"versionstring\":\"14.0.0 Beta 3\",\"enable_avatars\":true,\"lost_password_link\":null,\"modRewriteWorking\":false,\"sharing.maxAutocompleteResults\":0,\"sharing.minSearchStringLength\":0,\"blacklist_files_regex\":\"\\\\.(part|filepart)$\"}","oc_appconfig":"{\"core\":{\"defaultExpireDateEnabled\":true,\"defaultExpireDate\":1,\"defaultExpireDateEnforced\":false,\"enforcePasswordForPublicLink\":false,\"enableLinkPasswordByDefault\":false,\"sharingDisabledForUser\":false,\"resharingAllowed\":true,\"remoteShareAllowed\":true,\"federatedCloudShareDoc\":\"https:\\\/\\\/docs.nextcloud.com\\\/server\\\/14\\\/go.php?to=user-sharing-federated\",\"allowGroupSharing\":true},\"files\":{\"max_chunk_size\":10485760}}","oc_defaults":"{\"entity\":\"***********\",\"name\":\"***********\",\"title\":\"***********\",\"baseUrl\":\"***********\",\"syncClientUrl\":\"https:\\\/\\\/nextcloud.com\\\/install\\\/#install-clients\",\"docBaseUrl\":\"https:\\\/\\\/docs.nextcloud.com\",\"docPlaceholderUrl\":\"https:\\\/\\\/docs.nextcloud.com\\\/server\\\/14\\\/go.php?to=PLACEHOLDER\",\"slogan\":\"***********\",\"logoClaim\":\"\",\"shortFooter\":\"<a href=\\\"***********\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\">***********<\\\/a> \\u2013 ***********\",\"longFooter\":\"<a href=\\\"***********\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\">***********<\\\/a> \\u2013 ***********\",\"folder\":\"\"}","oc_capabilities":"{\"core\":{\"pollinterval\":60,\"webdav-root\":\"remote.php\\\/webdav\"},\"bruteforce\":{\"delay\":0},\"activity\":{\"apiv2\":[\"filters\",\"filters-api\",\"previews\",\"rich-strings\"]},\"dav\":{\"chunking\":\"1.0\"},\"files_sharing\":{\"api_enabled\":true,\"public\":{\"enabled\":true,\"password\":{\"enforced\":false},\"expire_date\":{\"enabled\":true,\"days\":\"1\",\"enforced\":false},\"send_mail\":false,\"upload\":true,\"upload_files_drop\":true},\"resharing\":true,\"user\":{\"send_mail\":false,\"expire_date\":{\"enabled\":true}},\"group_sharing\":true,\"group\":{\"enabled\":true,\"expire_date\":{\"enabled\":true}},\"default_permissions\":31,\"federation\":{\"outgoing\":true,\"incoming\":true,\"expire_date\":{\"enabled\":true}},\"sharebymail\":{\"enabled\":true,\"upload_files_drop\":{\"enabled\":true},\"password\":{\"enabled\":true},\"expire_date\":{\"enabled\":true}}},\"files\":{\"bigfilechunking\":true,\"blacklisted_files\":[\".htaccess\"],\"undelete\":true,\"versioning\":true}}"}}]},{"file":"\/var\/www\/owncloud\/lib\/private\/TemplateLayout.php","line":172,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->","args":[]},{"file":"\/var\/www\/owncloud\/lib\/private\/legacy\/template.php","line":210,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest",""]},{"file":"\/var\/www\/owncloud\/lib\/private\/Template\/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"\/var\/www\/owncloud\/lib\/base.php","line":399,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"\/var\/www\/owncloud\/lib\/base.php","line":944,"function":"printUpgradePage","class":"OC","type":"::","args":[{"__class__":"OC\\SystemConfig"}]},{"file":"\/var\/www\/owncloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/owncloud\/apps\/files_reader\/lib\/config.php","Line":28,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"AhMjP3Ses6tYKgezQW94","level":0,"time":"2018-08-12T10:28:36+00:00","remoteAddr":"37.193.247.194","user":"--","app":"core","method":"GET","url":"\/index.php\/settings\/integrity\/failed","message":"Scss is disabled for \/var\/www\/owncloud\/core\/css\/jquery-ui-fixes.scss, ignoring","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"AhMjP3Ses6tYKgezQW94","level":0,"time":"2018-08-12T10:28:36+00:00","remoteAddr":"37.193.247.194","user":"--","app":"core","method":"GET","url":"\/index.php\/settings\/integrity\/failed","message":"Scss is disabled for \/var\/www\/owncloud\/core\/css\/server.scss, ignoring","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"AhMjP3Ses6tYKgezQW94","level":0,"time":"2018-08-12T10:28:36+00:00","remoteAddr":"37.193.247.194","user":"--","app":"core","method":"GET","url":"\/index.php\/settings\/integrity\/failed","message":"Scss is disabled for \/var\/www\/owncloud\/core\/css\/css-variables.scss, ignoring","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"AhMjP3Ses6tYKgezQW94","level":0,"time":"2018-08-12T10:28:36+00:00","remoteAddr":"37.193.247.194","user":"--","app":"core","method":"GET","url":"\/index.php\/settings\/integrity\/failed","message":"Scss is disabled for \/var\/www\/owncloud\/core\/css\/jquery.ocdialog.scss, ignoring","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"AhMjP3Ses6tYKgezQW94","level":0,"time":"2018-08-12T10:28:36+00:00","remoteAddr":"37.193.247.194","user":"--","app":"core","method":"GET","url":"\/index.php\/settings\/integrity\/failed","message":"Scss is disabled for \/var\/www\/owncloud\/core\/search\/css\/results.scss, ignoring","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"AhMjP3Ses6tYKgezQW94","level":0,"time":"2018-08-12T10:28:36+00:00","remoteAddr":"37.193.247.194","user":"--","app":"core","method":"GET","url":"\/index.php\/settings\/integrity\/failed","message":"Scss is disabled for \/var\/www\/owncloud\/core\/css\/styles.scss, ignoring","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"AhMjP3Ses6tYKgezQW94","level":0,"time":"2018-08-12T10:28:36+00:00","remoteAddr":"37.193.247.194","user":"--","app":"core","method":"GET","url":"\/index.php\/settings\/integrity\/failed","message":"Scss is disabled for \/var\/www\/owncloud\/core\/css\/header.scss, ignoring","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"AhMjP3Ses6tYKgezQW94","level":3,"time":"2018-08-12T10:28:36+00:00","remoteAddr":"37.193.247.194","user":"--","app":"no app in context","method":"GET","url":"\/index.php\/settings\/integrity\/failed","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"theming.Theming.getImage\" as such route does not exist.","Code":0,"Trace":[{"file":"\/var\/www\/owncloud\/lib\/private\/Route\/Router.php","line":337,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["theming.Theming.getImage",{"key":"logo","useSvg":true,"v":"35"},1]},{"file":"\/var\/www\/owncloud\/lib\/private\/URLGenerator.php","line":79,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["theming.Theming.getImage",{"key":"logo","useSvg":true,"v":"35"}]},{"file":"\/var\/www\/owncloud\/apps\/theming\/lib\/ThemingDefaults.php","line":224,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["theming.Theming.getImage",{"key":"logo","useSvg":true,"v":"35"}]},{"file":"\/var\/www\/owncloud\/lib\/public\/Defaults.php","line":187,"function":"getLogo","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":[true]},{"file":"\/var\/www\/owncloud\/core\/templates\/layout.guest.php","line":34,"function":"getLogo","class":"OCP\\Defaults","type":"->","args":[]},{"file":"\/var\/www\/owncloud\/lib\/private\/Template\/Base.php","line":179,"args":["\/var\/www\/owncloud\/core\/templates\/layout.guest.php"],"function":"include"},{"file":"\/var\/www\/owncloud\/lib\/private\/Template\/Base.php","line":151,"function":"load","class":"OC\\Template\\Base","type":"->","args":["\/var\/www\/owncloud\/core\/templates\/layout.guest.php",null]},{"file":"\/var\/www\/owncloud\/lib\/private\/legacy\/template.php","line":207,"function":"fetchPage","class":"OC\\Template\\Base","type":"->","args":[null]},{"file":"\/var\/www\/owncloud\/lib\/private\/legacy\/template.php","line":238,"function":"fetchPage","class":"OC_Template","type":"->","args":[null]},{"file":"\/var\/www\/owncloud\/lib\/private\/Template\/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"\/var\/www\/owncloud\/lib\/private\/legacy\/template.php","line":359,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"\/var\/www\/owncloud\/index.php","line":83,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"Error"},500]}],"File":"\/var\/www\/owncloud\/3rdparty\/symfony\/routing\/Generator\/UrlGenerator.php","Line":113,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}

Browser log


Browser log
Console:

JQMIGRATE: Migrate is installed, version 1.4.0 core.js:7:542
[Show/hide message details.] ReferenceError: oc_appconfig is not defined[Learn More] merged-share-backend.js:24:4
<anonymous>
https://********/index.php/js/core/merged-share-backend.js:24:4
<anonymous>
https://********/index.php/js/core/merged-share-backend.js:13:2

bug

Most helpful comment

manually upgrading with sudo -u www-data php occ upgrade did the trick

All 8 comments

GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/6712 (Internal Server Error after upgrade to 12 - file not found), https://github.com/nextcloud/server/issues/10140 (Internal server error), https://github.com/nextcloud/server/issues/6994 (Internal Server Error), https://github.com/nextcloud/server/issues/2741 (Calendar app: internal server error after upgrading to Nextcloud 11), and https://github.com/nextcloud/server/issues/8326 (Internal Server Error (Template not found) when loading Calendar after upgrade to Nextcloud 13.x).

manually upgrading with sudo -u www-data php occ upgrade did the trick

@rseek I'm glad it is fixed. But still weird error. I'll close this for now. If anybody runs into it again maybe we can debug...

@rullzer
isn't it a T-shirt case? :)

i run in the same issue!
startet from 13.0.5
updated to 13.0.6rc1 automatically by the updater
then
updated to 14 rc1 by the updater

error
Hint: This demo is not available from outside my LAN!

{"reqId":"2inVyJRxmJm3W4Ie7dZr","level":0,"time":"2018-08-26T22:31:03+02:00","remoteAddr":"127.0.0.1","user":"cloudchef","app":"core","method":"GET","url":"/js/core/merged-template-prepend.js?v=b335bbb8-141","message":"Scss is disabled for /var/www/nextcloud/core/css/jquery-ui-fixes.scss, ignoring","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0","version":"14.0.0.17"}
{"reqId":"2inVyJRxmJm3W4Ie7dZr","level":0,"time":"2018-08-26T22:31:03+02:00","remoteAddr":"127.0.0.1","user":"cloudchef","app":"core","method":"GET","url":"/js/core/merged-template-prepend.js?v=b335bbb8-141","message":"Scss is disabled for /var/www/nextcloud/core/css/server.scss, ignoring","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0","version":"14.0.0.17"}
{"reqId":"2inVyJRxmJm3W4Ie7dZr","level":0,"time":"2018-08-26T22:31:03+02:00","remoteAddr":"127.0.0.1","user":"cloudchef","app":"core","method":"GET","url":"/js/core/merged-template-prepend.js?v=b335bbb8-141","message":"Scss is disabled for /var/www/nextcloud/core/css/css-variables.scss, ignoring","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0","version":"14.0.0.17"}
{"reqId":"2inVyJRxmJm3W4Ie7dZr","level":0,"time":"2018-08-26T22:31:03+02:00","remoteAddr":"127.0.0.1","user":"cloudchef","app":"core","method":"GET","url":"/js/core/merged-template-prepend.js?v=b335bbb8-141","message":"Scss is disabled for /var/www/nextcloud/core/css/jquery.ocdialog.scss, ignoring","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0","version":"14.0.0.17"}
{"reqId":"2inVyJRxmJm3W4Ie7dZr","level":0,"time":"2018-08-26T22:31:03+02:00","remoteAddr":"127.0.0.1","user":"cloudchef","app":"core","method":"GET","url":"/js/core/merged-template-prepend.js?v=b335bbb8-141","message":"Scss is disabled for /var/www/nextcloud/core/search/css/results.scss, ignoring","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0","version":"14.0.0.17"}
{"reqId":"2inVyJRxmJm3W4Ie7dZr","level":0,"time":"2018-08-26T22:31:03+02:00","remoteAddr":"127.0.0.1","user":"cloudchef","app":"core","method":"GET","url":"/js/core/merged-template-prepend.js?v=b335bbb8-141","message":"Scss is disabled for /var/www/nextcloud/core/css/styles.scss, ignoring","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0","version":"14.0.0.17"}
{"reqId":"2inVyJRxmJm3W4Ie7dZr","level":0,"time":"2018-08-26T22:31:03+02:00","remoteAddr":"127.0.0.1","user":"cloudchef","app":"core","method":"GET","url":"/js/core/merged-template-prepend.js?v=b335bbb8-141","message":"Scss is disabled for /var/www/nextcloud/core/css/header.scss, ignoring","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0","version":"14.0.0.17"}
{"reqId":"2inVyJRxmJm3W4Ie7dZr","level":3,"time":"2018-08-26T22:31:03+02:00","remoteAddr":"127.0.0.1","user":"cloudchef","app":"no app in context","method":"GET","url":"/js/core/merged-template-prepend.js?v=b335bbb8-141","message":{"Exception":"Symfony\Component\Routing\Exception\RouteNotFoundException","Message":"Unable to generate a URL for the named route "theming.Theming.getImage" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":337,"function":"generate","class":"Symfony\Component\Routing\Generator\UrlGenerator","type":"->","args":["theming.Theming.getImage",{"key":"logo","useSvg":true,"v":"141"},1]},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":60,"function":"generate","class":"OC\Route\Router","type":"->","args":["theming.Theming.getImage",{"key":"logo","useSvg":true,"v":"141"},false]},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":79,"function":"generate","class":"OC\Route\CachingRouter","type":"->","args":["theming.Theming.getImage",{"key":"logo","useSvg":true,"v":"141"}]},{"file":"/var/www/nextcloud/apps/theming/lib/ThemingDefaults.php","line":224,"function":"linkToRoute","class":"OC\URLGenerator","type":"->","args":["theming.Theming.getImage",{"key":"logo","useSvg":true,"v":"141"}]},{"file":"/var/www/nextcloud/lib/public/Defaults.php","line":187,"function":"getLogo","class":"OCA\Theming\ThemingDefaults","type":"->","args":[true]},{"file":"/var/www/nextcloud/core/templates/layout.guest.php","line":34,"function":"getLogo","class":"OCP\Defaults","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":179,"args":["/var/www/nextcloud/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":151,"function":"load","class":"OC\Template\Base","type":"->","args":["/var/www/nextcloud/core/templates/layout.guest.php",null]},{"file":"/var/www/nextcloud/lib/private/legacy/template.php","line":207,"function":"fetchPage","class":"OC\Template\Base","type":"->","args":[null]},{"file":"/var/www/nextcloud/lib/private/legacy/template.php","line":238,"function":"fetchPage","class":"OC_Template","type":"->","args":[null]},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/private/legacy/template.php","line":359,"function":"printPage","class":"OC\Template\Base","type":"->","args":[]},{"file":"/var/www/nextcloud/index.php","line":83,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"TypeError"},500]}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":113,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0","version":"14.0.0.17"}

Ubuntu 18.0.4.1
PHP 7.2.9
Redis
MariaDB 10.3.9

Something similar here (manually upgrading with sudo -u www-data php occ upgrade did NOT fix it..)
My nc update remains in Maintenance mode. Quite annoying. I updated through the web GUI.
Relevant logs, stripped of signatures etc.;
http://afluisterland.nl/uptown/updater.txt
http://afluisterland.nl/uptown/nextcloud.txt

After manually switching off Maintenance mode, I get;
`# sudo -u www-data php occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Checking for update of app activity in appstore
An unhandled exception has been thrown:
Error: Call to undefined method GuzzleHttpClient::request() in /var/www/nextcloud/lib/private/Http/Client/Client.php:161
Stack trace:

0 /var/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php(106): OCHttpClientClient->get('https://apps.ne...', Array)

1 /var/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php(80): OCAppAppStoreFetcherFetcher->fetch('', '')

2 /var/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php(170): OCAppAppStoreFetcherAppFetcher->fetch('', '')

3 /var/www/nextcloud/lib/private/Installer.php(385): OCAppAppStoreFetcherFetcher->get()

4 /var/www/nextcloud/lib/private/Updater.php(445): OCInstaller->isUpdateAvailable('activity')

5 /var/www/nextcloud/lib/private/Updater.php(256): OCUpdater->upgradeAppStoreApps(Array)

6 /var/www/nextcloud/lib/private/Updater.php(126): OCUpdater->doUpgrade('14.0.3.0', '13.0.6.1')

7 /var/www/nextcloud/core/Command/Upgrade.php(262): OCUpdater->upgrade()

8 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(251): OCCoreCommandUpgrade->execute(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))

9 /var/www/nextcloud/3rdparty/symfony/console/Application.php(946): SymfonyComponentConsoleCommandCommand->run(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))

10 /var/www/nextcloud/3rdparty/symfony/console/Application.php(248): SymfonyComponentConsoleApplication->doRunCommand(Object(OCCoreCommandUpgrade), Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))

11 /var/www/nextcloud/3rdparty/symfony/console/Application.php(148): SymfonyComponentConsoleApplication->doRun(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))

12 /var/www/nextcloud/lib/private/Console/Application.php(213): SymfonyComponentConsoleApplication->run(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))

13 /var/www/nextcloud/console.php(96): OCConsoleApplication->run()

14 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')

15 {main} # sudo -u www-data php occ maintenance:mode --off

Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Maintenance mode disabled
`

And on the web;

Preparing update
Set log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Checking for update of app "activity" in appstore
An error occurred.

specs;
Debian 9 (stretch), all up to date
nginx/1.13.10 with php-fpm (no apache)
PHP 7.0.30-0+deb9u1 (cli)
mysql Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

Was this page helpful?
0 / 5 - 0 ratings