Nextcloud broke after update to 16.0.5

Hello,

I am running nextcloud in a freenas 11.2 jail, php71-7.1.32, apache24-2.4.41, mariadb102-server-10.2.26.
I ran pkg update and upgrade and loading the web page gave me a server error. I ran ./occ upgrade and now the page looks like the screenshot


occ maintenance:repair did not fix it, neither clearing browser cache/using different browser.
I can still access my files with the android app just the external SMB share is missing.
I was upgrading from 16.0.4 to .5, but occ status now returns

  • installed: true
  • version: 17.0.0.9
  • versionstring: 17.0.0
  • edition:

Any help is appreciated!

Hello,

  1. Does it write something to log file of nextcloud and in apache log (error_log)?
  2. If you click F12 in brower, does it show any errors?

Thank you for your response!
Here are both logs. I will check the browser console as soon as I get back from work.

Httpd-error
[Thu Oct 10 19:59:13.814381 2019] [mpm_prefork:notice] [pid 7118] AH00169: caught SIGTERM, shutting down
[Thu Oct 10 20:01:07.314330 2019] [ssl:warn] [pid 97332] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Oct 10 20:01:07.316152 2019] [mpm_prefork:notice] [pid 97332] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Thu Oct 10 20:01:07.316203 2019] [core:notice] [pid 97332] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Thu Oct 10 20:15:27.841345 2019] [mpm_prefork:notice] [pid 97332] AH00169: caught SIGTERM, shutting down
[Thu Oct 10 20:15:32.857875 2019] [ssl:warn] [pid 97926] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Oct 10 20:15:32.859773 2019] [mpm_prefork:notice] [pid 97926] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Thu Oct 10 20:15:32.859827 2019] [core:notice] [pid 97926] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Thu Oct 10 20:19:52.912318 2019] [mpm_prefork:notice] [pid 97926] AH00169: caught SIGTERM, shutting down
[Thu Oct 10 20:28:45.972816 2019] [ssl:warn] [pid 98363] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Oct 10 20:28:45.974794 2019] [mpm_prefork:notice] [pid 98363] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Thu Oct 10 20:28:45.974845 2019] [core:notice] [pid 98363] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Thu Oct 10 20:30:15.973184 2019] [mpm_prefork:notice] [pid 98363] AH00169: caught SIGTERM, shutting down
[Thu Oct 10 20:30:24.472461 2019] [ssl:warn] [pid 99192] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Oct 10 20:30:24.474462 2019] [mpm_prefork:notice] [pid 99192] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Thu Oct 10 20:30:24.474508 2019] [core:notice] [pid 99192] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Thu Oct 10 20:33:48.359321 2019] [mpm_prefork:notice] [pid 99192] AH00169: caught SIGTERM, shutting down
[Thu Oct 10 20:34:20.820624 2019] [ssl:warn] [pid 99412] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Oct 10 20:34:20.822545 2019] [mpm_prefork:notice] [pid 99412] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Thu Oct 10 20:34:20.822597 2019] [core:notice] [pid 99412] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Thu Oct 10 23:46:47.811383 2019] [mpm_prefork:notice] [pid 99412] AH00169: caught SIGTERM, shutting down
[Thu Oct 10 23:46:47.890206 2019] [ssl:warn] [pid 5812] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Oct 10 23:46:47.891892 2019] [mpm_prefork:notice] [pid 5812] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Thu Oct 10 23:46:47.891930 2019] [core:notice] [pid 5812] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Fri Oct 11 06:31:45.065368 2019] [proxy_fcgi:error] [pid 5814] (70007)The timeout specified has expired: [client 37.157.136.201:33932] AH01075: Error dispatching request to : (polling)
[Fri Oct 11 06:31:58.979447 2019] [proxy_fcgi:error] [pid 6464] (70007)The timeout specified has expired: [client 37.157.136.201:33962] AH01075: Error dispatching request to : (polling)
[Fri Oct 11 06:32:05.608494 2019] [proxy_fcgi:error] [pid 6409] (70007)The timeout specified has expired: [client 37.157.136.201:33980] AH01075: Error dispatching request to : (polling)
[Fri Oct 11 06:41:39.063489 2019] [proxy_fcgi:error] [pid 15961] (70007)The timeout specified has expired: [client 192.168.1.1:43707] AH01075: Error dispatching request to : (polling)
[Fri Oct 11 06:42:01.195375 2019] [proxy_fcgi:error] [pid 16313] (70007)The timeout specified has expired: [client 192.168.1.1:39029] AH01075: Error dispatching request to : (polling)
[Fri Oct 11 07:32:14.883119 2019] [proxy_fcgi:error] [pid 6464] (70007)The timeout specified has expired: [client 172.58.235.171:20032] AH01075: Error dispatching request to : (polling)
[Fri Oct 11 07:32:57.639120 2019] [mpm_prefork:notice] [pid 5812] AH00169: caught SIGTERM, shutting down
[Fri Oct 11 07:32:57.750505 2019] [ssl:warn] [pid 21602] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Oct 11 07:32:57.753440 2019] [mpm_prefork:notice] [pid 21602] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Fri Oct 11 07:32:57.753492 2019] [core:notice] [pid 21602] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Fri Oct 11 08:02:12.961953 2019] [mpm_prefork:notice] [pid 21602] AH00169: caught SIGTERM, shutting down
[Fri Oct 11 08:02:19.100055 2019] [ssl:warn] [pid 23364] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Oct 11 08:02:19.102350 2019] [mpm_prefork:notice] [pid 23364] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Fri Oct 11 08:02:19.102395 2019] [core:notice] [pid 23364] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Fri Oct 11 11:13:44.405390 2019] [proxy_fcgi:error] [pid 23406] (70007)The timeout specified has expired: [client 37.157.136.201:55754] AH01075: Error dispatching request to : (polling)
[Fri Oct 11 11:25:41.476231 2019] [proxy_fcgi:error] [pid 24595] (70007)The timeout specified has expired: [client 37.157.136.201:55800] AH01075: Error dispatching request to : (polling)
[Fri Oct 11 11:37:41.484312 2019] [proxy_fcgi:error] [pid 23408] (70007)The timeout specified has expired: [client 37.157.136.201:55844] AH01075: Error dispatching request to : (polling)
[Mon Oct 14 02:55:49.139121 2019] [core:error] [pid 42486] [client 15.188.47.240:32875] AH00126: Invalid URI in request GET /dana-na/…/dana/html5acc/guacamole/…/…/…/…/…/…/…/etc/passwd?/dana/html5acc/guacamole/ HTTP/1.1
[Fri Oct 18 17:10:51.129613 2019] [mpm_prefork:notice] [pid 23364] AH00169: caught SIGTERM, shutting down
[Fri Oct 18 17:10:51.208602 2019] [ssl:warn] [pid 54169] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Oct 18 17:10:51.210675 2019] [mpm_prefork:notice] [pid 54169] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Fri Oct 18 17:10:51.210727 2019] [core:notice] [pid 54169] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Fri Oct 18 17:34:59.070253 2019] [mpm_prefork:notice] [pid 54169] AH00169: caught SIGTERM, shutting down
[Fri Oct 18 17:37:40.639622 2019] [ssl:warn] [pid 56077] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Oct 18 17:37:40.641837 2019] [mpm_prefork:notice] [pid 56077] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Fri Oct 18 17:37:40.641889 2019] [core:notice] [pid 56077] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Fri Oct 18 17:38:01.143261 2019] [mpm_prefork:notice] [pid 56077] AH00169: caught SIGTERM, shutting down
[Fri Oct 18 17:38:20.396486 2019] [ssl:warn] [pid 56941] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Oct 18 17:38:20.398602 2019] [mpm_prefork:notice] [pid 56941] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Fri Oct 18 17:38:20.398646 2019] [core:notice] [pid 56941] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Fri Oct 18 17:38:51.738267 2019] [mpm_prefork:notice] [pid 56941] AH00169: caught SIGTERM, shutting down
[Fri Oct 18 17:39:22.344435 2019] [ssl:warn] [pid 90766] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Oct 18 17:39:22.346595 2019] [mpm_prefork:notice] [pid 90766] AH00163: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2o-freebsd configured – resuming normal operations
[Fri Oct 18 17:39:22.346647 2019] [core:notice] [pid 90766] AH00094: Command line: ‘/usr/local/sbin/httpd -D NOHTTPACCEPT’
[Sun Oct 20 18:54:57.778020 2019] [proxy_fcgi:error] [pid 5503] [client 192.168.1.1:2831] AH01071: Got error ‘Primary script unknown\n’

Nextcloud

{“reqId”:“BTUhTzrgCzxA9cIRpSm8”,“level”:3,“time”:“2019-10-21T09:33:31+00:00”,“remoteAddr”:“199.253.244.17”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/index.php/204",“message”:{“Exception”:“InvalidArgumentException”,“Message”:“Notifier Federated sharing (id: files_sharing) is not considered because it is using the old way to register.”,“Code”:0,“Trace”:[{“file”:"/usr/local/www/nextcloud/apps/federatedfilesharing/appinfo/app.php",“line”:40,“function”:“registerNotifier”,“class”:“OC\Notification\Manager”,“type”:"->",“args”:[{“class”:“Closure”},{“class”:“Closure”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/federatedfilesharing/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[{“class”:“OCA\FederatedFileSharing\AppInfo\Application”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“federatedfilesharing”]},{“file”:"/usr/local/www/nextcloud/lib/base.php",“line”:997,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[]},{“file”:"/usr/local/www/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/usr/local/www/nextcloud/lib/private/Notification/Manager.php",“Line”:86,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.8.1”,“version”:“17.0.0.9”}
{“reqId”:“BTUhTzrgCzxA9cIRpSm8”,“level”:3,“time”:“2019-10-21T09:33:31+00:00”,“remoteAddr”:“199.253.244.17”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/index.php/204",“message”:{“Exception”:“InvalidArgumentException”,“Message”:“Notifier Usage survey (id: survey_client) is not considered because it is using the old way to register.”,“Code”:0,“Trace”:[{“file”:"/usr/local/www/nextcloud/apps/survey_client/appinfo/app.php",“line”:37,“function”:“registerNotifier”,“class”:“OC\Notification\Manager”,“type”:"->",“args”:[{“class”:“Closure”},{“class”:“Closure”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/survey_client/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[“survey_client”]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“survey_client”]},{“file”:"/usr/local/www/nextcloud/lib/base.php",“line”:997,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[]},{“file”:"/usr/local/www/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/usr/local/www/nextcloud/lib/private/Notification/Manager.php",“Line”:86,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.8.1”,“version”:“17.0.0.9”}
{“reqId”:“mT4Bdeuhcyl8V3RlLtqL”,“level”:3,“time”:“2019-10-21T09:37:55+00:00”,“remoteAddr”:“199.253.244.17”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/index.php/204",“message”:{“Exception”:“OCP\AutoloadNotAllowedException”,“Message”:“Autoload path not allowed: /usr/local/www/nextcloud/apps/files_external/lib/config.php”,“Code”:0,“Trace”:[{“file”:"/usr/local/www/nextcloud/lib/autoloader.php",“line”:162,“function”:“isValidPath”,“class”:“OC\Autoloader”,“type”:"->",“args”:["/usr/local/www/nextcloud/apps/files_external/lib/config.php"]},{“function”:“load”,“class”:“OC\Autoloader”,“type”:"->",“args”:[“OC_Mount_Config”]},{“file”:"/usr/local/www/nextcloud/apps/files_external/appinfo/app.php",“line”:36,“function”:“spl_autoload_call”,“args”:[“OC_Mount_Config”]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/files_external/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[“files_external”]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“files_external”]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/util.php",“line”:196,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[[“filesystem”]]},{“file”:"/usr/local/www/nextcloud/lib/private/Files/Filesystem.php",“line”:266,“function”:“setupFS”,“class”:“OC_Util”,“type”:"::",“args”:[""]},{“file”:"/usr/local/www/nextcloud/lib/private/Server.php",“line”:291,“function”:“getMountManager”,“class”:“OC\Files\Filesystem”,“type”:"::",“args”:[null]},{“file”:"/usr/local/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php",“line”:118,“function”:“OC\{closure}”,“class”:“OC\Server”,“type”:"->",“args”:["*** sensitive parameters replaced "]},{“file”:"/usr/local/www/nextcloud/lib/private/ServerContainer.php",“line”:120,“function”:“offsetGet”,“class”:“Pimple\Container”,“type”:"->",“args”:[“RootFolder”]},{“file”:"/usr/local/www/nextcloud/lib/private/Server.php",“line”:313,“function”:“query”,“class”:“OC\ServerContainer”,“type”:"->",“args”:[“RootFolder”]},{“function”:“OC\{closure}”,“class”:“OC\Server”,“type”:"->",“args”:[" sensitive parameters replaced "]},{“file”:"/usr/local/www/nextcloud/lib/private/Files/Node/LazyRoot.php",“line”:61,“function”:“call_user_func”,“args”:[{“class”:“Closure”}]},{“file”:"/usr/local/www/nextcloud/lib/private/Files/Node/LazyRoot.php",“line”:78,“function”:"__call",“class”:“OC\Files\Node\LazyRoot”,“type”:"->",“args”:[“listen”,["\OC\Files",“postWrite”,{“class”:“Closure”}]]},{“file”:"/usr/local/www/nextcloud/apps/carnet/appinfo/app.php",“line”:45,“function”:“listen”,“class”:“OC\Files\Node\LazyRoot”,“type”:"->",“args”:["\OC\Files",“postWrite”,{“class”:“Closure”}]},{“file”:"/usr/local/www/nextcloud/apps/carnet/appinfo/app.php",“line”:59,“function”:“connectWatcher”,“class”:“OCA\Carnet\AppInfo\Application”,“type”:"->",“args”:[{“class”:“OC\AppFramework\DependencyInjection\DIContainer”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/carnet/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[{“class”:“OCA\Carnet\AppInfo\Application”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“carnet”]},{“file”:"/usr/local/www/nextcloud/lib/base.php",“line”:988,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[[“filesystem”,“logging”]]},{“file”:"/usr/local/www/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/usr/local/www/nextcloud/lib/autoloader.php",“Line”:137,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.8.1”,“version”:“17.0.0.9”}
{“reqId”:“mT4Bdeuhcyl8V3RlLtqL”,“level”:3,“time”:“2019-10-21T09:37:55+00:00”,“remoteAddr”:“199.253.244.17”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/index.php/204",“message”:{“Exception”:“OCP\AutoloadNotAllowedException”,“Message”:“Autoload path not allowed: /usr/local/www/nextcloud/apps/files_external/lib/config.php”,“Code”:0,“Trace”:[{“file”:"/usr/local/www/nextcloud/lib/autoloader.php",“line”:162,“function”:“isValidPath”,“class”:“OC\Autoloader”,“type”:"->",“args”:["/usr/local/www/nextcloud/apps/files_external/lib/config.php"]},{“function”:“load”,“class”:“OC\Autoloader”,“type”:"->",“args”:[“OC_Mount_Config”]},{“file”:"/usr/local/www/nextcloud/apps-pkg/files_external/appinfo/routes.php",“line”:32,“function”:“spl_autoload_call”,“args”:[“OC_Mount_Config”]},{“file”:"/usr/local/www/nextcloud/lib/private/Route/Router.php",“line”:351,“args”:["/usr/local/www/nextcloud/apps-pkg/files_external/appinfo/routes.php"],“function”:“include_once”},{“file”:"/usr/local/www/nextcloud/lib/private/Route/Router.php",“line”:151,“function”:“requireRouteFile”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/usr/local/www/nextcloud/apps-pkg/files_external/appinfo/routes.php",“files_external”]},{“file”:"/usr/local/www/nextcloud/lib/private/Route/Router.php",“line”:331,“function”:“loadRoutes”,“class”:“OC\Route\Router”,“type”:"->",“args”:[]},{“file”:"/usr/local/www/nextcloud/lib/private/Route/CachingRouter.php",“line”:60,“function”:“generate”,“class”:“OC\Route\Router”,“type”:"->",“args”:[“theming.Theming.getStylesheet”,{“v”:“13”},false]},{“file”:"/usr/local/www/nextcloud/lib/private/URLGenerator.php",“line”:79,“function”:“generate”,“class”:“OC\Route\CachingRouter”,“type”:"->",“args”:[“theming.Theming.getStylesheet”,{“v”:“13”}]},{“file”:"/usr/local/www/nextcloud/apps/theming/appinfo/app.php",“line”:34,“function”:“linkToRoute”,“class”:“OC\URLGenerator”,“type”:"->",“args”:[“theming.Theming.getStylesheet”,{“v”:“13”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/theming/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[{“class”:“OCP\AppFramework\App”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“theming”]},{“file”:"/usr/local/www/nextcloud/lib/base.php",“line”:988,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[[“filesystem”,“logging”]]},{“file”:"/usr/local/www/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/usr/local/www/nextcloud/lib/autoloader.php",“Line”:137,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.8.1”,“version”:“17.0.0.9”}
{“reqId”:“mT4Bdeuhcyl8V3RlLtqL”,“level”:3,“time”:“2019-10-21T09:37:55+00:00”,“remoteAddr”:“199.253.244.17”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/index.php/204",“message”:{“Exception”:“InvalidArgumentException”,“Message”:“Notifier Federated sharing (id: files_sharing) is not considered because it is using the old way to register.”,“Code”:0,“Trace”:[{“file”:"/usr/local/www/nextcloud/apps/federatedfilesharing/appinfo/app.php",“line”:40,“function”:“registerNotifier”,“class”:“OC\Notification\Manager”,“type”:"->",“args”:[{“class”:“Closure”},{“class”:“Closure”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/federatedfilesharing/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[{“class”:“OCA\FederatedFileSharing\AppInfo\Application”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“federatedfilesharing”]},{“file”:"/usr/local/www/nextcloud/lib/base.php",“line”:997,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[]},{“file”:"/usr/local/www/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/usr/local/www/nextcloud/lib/private/Notification/Manager.php",“Line”:86,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.8.1”,“version”:“17.0.0.9”}
{“reqId”:“mT4Bdeuhcyl8V3RlLtqL”,“level”:3,“time”:“2019-10-21T09:37:55+00:00”,“remoteAddr”:“199.253.244.17”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/index.php/204",“message”:{“Exception”:“InvalidArgumentException”,“Message”:“Notifier Usage survey (id: survey_client) is not considered because it is using the old way to register.”,“Code”:0,“Trace”:[{“file”:"/usr/local/www/nextcloud/apps/survey_client/appinfo/app.php",“line”:37,“function”:“registerNotifier”,“class”:“OC\Notification\Manager”,“type”:"->",“args”:[{“class”:“Closure”},{“class”:“Closure”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/survey_client/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[“survey_client”]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“survey_client”]},{“file”:"/usr/local/www/nextcloud/lib/base.php",“line”:997,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[]},{“file”:"/usr/local/www/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/usr/local/www/nextcloud/lib/private/Notification/Manager.php",“Line”:86,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.8.1”,“version”:“17.0.0.9”}
{“reqId”:“WD3rV6tAeIcWCCwFBFnv”,“level”:3,“time”:“2019-10-21T09:37:56+00:00”,“remoteAddr”:“199.253.244.17”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/index.php/204",“message”:{“Exception”:“OCP\AutoloadNotAllowedException”,“Message”:“Autoload path not allowed: /usr/local/www/nextcloud/apps/files_external/lib/config.php”,“Code”:0,“Trace”:[{“file”:"/usr/local/www/nextcloud/lib/autoloader.php",“line”:162,“function”:“isValidPath”,“class”:“OC\Autoloader”,“type”:"->",“args”:["/usr/local/www/nextcloud/apps/files_external/lib/config.php"]},{“function”:“load”,“class”:“OC\Autoloader”,“type”:"->",“args”:[“OC_Mount_Config”]},{“file”:"/usr/local/www/nextcloud/apps/files_external/appinfo/app.php",“line”:36,“function”:“spl_autoload_call”,“args”:[“OC_Mount_Config”]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/files_external/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[“files_external”]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“files_external”]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/util.php",“line”:196,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[[“filesystem”]]},{“file”:"/usr/local/www/nextcloud/lib/private/Files/Filesystem.php",“line”:266,“function”:“setupFS”,“class”:“OC_Util”,“type”:"::",“args”:[""]},{“file”:"/usr/local/www/nextcloud/lib/private/Server.php",“line”:291,“function”:“getMountManager”,“class”:“OC\Files\Filesystem”,“type”:"::",“args”:[null]},{“file”:"/usr/local/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php",“line”:118,“function”:“OC\{closure}”,“class”:“OC\Server”,“type”:"->",“args”:["
sensitive parameters replaced "]},{“file”:"/usr/local/www/nextcloud/lib/private/ServerContainer.php",“line”:120,“function”:“offsetGet”,“class”:“Pimple\Container”,“type”:"->",“args”:[“RootFolder”]},{“file”:"/usr/local/www/nextcloud/lib/private/Server.php",“line”:313,“function”:“query”,“class”:“OC\ServerContainer”,“type”:"->",“args”:[“RootFolder”]},{“function”:“OC\{closure}”,“class”:“OC\Server”,“type”:"->",“args”:[" sensitive parameters replaced ***"]},{“file”:"/usr/local/www/nextcloud/lib/private/Files/Node/LazyRoot.php",“line”:61,“function”:“call_user_func”,“args”:[{“class”:“Closure”}]},{“file”:"/usr/local/www/nextcloud/lib/private/Files/Node/LazyRoot.php",“line”:78,“function”:"__call",“class”:“OC\Files\Node\LazyRoot”,“type”:"->",“args”:[“listen”,["\OC\Files",“postWrite”,{“class”:“Closure”}]]},{“file”:"/usr/local/www/nextcloud/apps/carnet/appinfo/app.php",“line”:45,“function”:“listen”,“class”:“OC\Files\Node\LazyRoot”,“type”:"->",“args”:["\OC\Files",“postWrite”,{“class”:“Closure”}]},{“file”:"/usr/local/www/nextcloud/apps/carnet/appinfo/app.php",“line”:59,“function”:“connectWatcher”,“class”:“OCA\Carnet\AppInfo\Application”,“type”:"->",“args”:[{“class”:“OC\AppFramework\DependencyInjection\DIContainer”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/carnet/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[{“class”:“OCA\Carnet\AppInfo\Application”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“carnet”]},{“file”:"/usr/local/www/nextcloud/lib/base.php",“line”:988,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[[“filesystem”,“logging”]]},{“file”:"/usr/local/www/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/usr/local/www/nextcloud/lib/autoloader.php",“Line”:137,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.8.1”,“version”:“17.0.0.9”}
{“reqId”:“WD3rV6tAeIcWCCwFBFnv”,“level”:3,“time”:“2019-10-21T09:37:56+00:00”,“remoteAddr”:“199.253.244.17”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/index.php/204",“message”:{“Exception”:“OCP\AutoloadNotAllowedException”,“Message”:“Autoload path not allowed: /usr/local/www/nextcloud/apps/files_external/lib/config.php”,“Code”:0,“Trace”:[{“file”:"/usr/local/www/nextcloud/lib/autoloader.php",“line”:162,“function”:“isValidPath”,“class”:“OC\Autoloader”,“type”:"->",“args”:["/usr/local/www/nextcloud/apps/files_external/lib/config.php"]},{“function”:“load”,“class”:“OC\Autoloader”,“type”:"->",“args”:[“OC_Mount_Config”]},{“file”:"/usr/local/www/nextcloud/apps-pkg/files_external/appinfo/routes.php",“line”:32,“function”:“spl_autoload_call”,“args”:[“OC_Mount_Config”]},{“file”:"/usr/local/www/nextcloud/lib/private/Route/Router.php",“line”:351,“args”:["/usr/local/www/nextcloud/apps-pkg/files_external/appinfo/routes.php"],“function”:“include_once”},{“file”:"/usr/local/www/nextcloud/lib/private/Route/Router.php",“line”:151,“function”:“requireRouteFile”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/usr/local/www/nextcloud/apps-pkg/files_external/appinfo/routes.php",“files_external”]},{“file”:"/usr/local/www/nextcloud/lib/private/Route/Router.php",“line”:331,“function”:“loadRoutes”,“class”:“OC\Route\Router”,“type”:"->",“args”:[]},{“file”:"/usr/local/www/nextcloud/lib/private/Route/CachingRouter.php",“line”:60,“function”:“generate”,“class”:“OC\Route\Router”,“type”:"->",“args”:[“theming.Theming.getStylesheet”,{“v”:“13”},false]},{“file”:"/usr/local/www/nextcloud/lib/private/URLGenerator.php",“line”:79,“function”:“generate”,“class”:“OC\Route\CachingRouter”,“type”:"->",“args”:[“theming.Theming.getStylesheet”,{“v”:“13”}]},{“file”:"/usr/local/www/nextcloud/apps/theming/appinfo/app.php",“line”:34,“function”:“linkToRoute”,“class”:“OC\URLGenerator”,“type”:"->",“args”:[“theming.Theming.getStylesheet”,{“v”:“13”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/theming/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[{“class”:“OCP\AppFramework\App”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“theming”]},{“file”:"/usr/local/www/nextcloud/lib/base.php",“line”:988,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[[“filesystem”,“logging”]]},{“file”:"/usr/local/www/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/usr/local/www/nextcloud/lib/autoloader.php",“Line”:137,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.8.1”,“version”:“17.0.0.9”}
{“reqId”:“WD3rV6tAeIcWCCwFBFnv”,“level”:3,“time”:“2019-10-21T09:37:56+00:00”,“remoteAddr”:“199.253.244.17”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/index.php/204",“message”:{“Exception”:“InvalidArgumentException”,“Message”:“Notifier Federated sharing (id: files_sharing) is not considered because it is using the old way to register.”,“Code”:0,“Trace”:[{“file”:"/usr/local/www/nextcloud/apps/federatedfilesharing/appinfo/app.php",“line”:40,“function”:“registerNotifier”,“class”:“OC\Notification\Manager”,“type”:"->",“args”:[{“class”:“Closure”},{“class”:“Closure”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/federatedfilesharing/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[{“class”:“OCA\FederatedFileSharing\AppInfo\Application”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“federatedfilesharing”]},{“file”:"/usr/local/www/nextcloud/lib/base.php",“line”:997,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[]},{“file”:"/usr/local/www/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/usr/local/www/nextcloud/lib/private/Notification/Manager.php",“Line”:86,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.8.1”,“version”:“17.0.0.9”}
{“reqId”:“WD3rV6tAeIcWCCwFBFnv”,“level”:3,“time”:“2019-10-21T09:37:56+00:00”,“remoteAddr”:“199.253.244.17”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/index.php/204",“message”:{“Exception”:“InvalidArgumentException”,“Message”:“Notifier Usage survey (id: survey_client) is not considered because it is using the old way to register.”,“Code”:0,“Trace”:[{“file”:"/usr/local/www/nextcloud/apps/survey_client/appinfo/app.php",“line”:37,“function”:“registerNotifier”,“class”:“OC\Notification\Manager”,“type”:"->",“args”:[{“class”:“Closure”},{“class”:“Closure”}]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:260,“args”:["/usr/local/www/nextcloud/apps/survey_client/appinfo/app.php"],“function”:“require_once”},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:154,“function”:“requireAppFile”,“class”:“OC_App”,“type”:"::",“args”:[“survey_client”]},{“file”:"/usr/local/www/nextcloud/lib/private/legacy/app.php",“line”:127,“function”:“loadApp”,“class”:“OC_App”,“type”:"::",“args”:[“survey_client”]},{“file”:"/usr/local/www/nextcloud/lib/base.php",“line”:997,“function”:“loadApps”,“class”:“OC_App”,“type”:"::",“args”:[]},{“file”:"/usr/local/www/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/usr/local/www/nextcloud/lib/private/Notification/Manager.php",“Line”:86,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.8.1”,“version”:“17.0.0.9”}

Hello. How did you upgrade your server?
I see you have problems with different applications from log.
You can try to update applications via command line what you see there:
sudo -u apache php occ app:update files_sharing
This command could show what is installed and its version.
sudo -u apache php occ app:list

I did upgrade using pkg update and pkg upgrade and then I ran occ upgrade.

root@nextcloud:/usr/local/www/nextcloud # su -m www -c “php ./occ app:update files_sharing”
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
root@nextcloud:/usr/local/www/nextcloud # su -m www -c “php ./occ app:list”
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
Enabled:

  • accessibility: 1.3.0
  • activity: 2.10.1
  • carnet: 0.18.5
  • cloud_federation_api: 1.0.0
  • comments: 1.7.0
  • dav: 1.13.0
  • federatedfilesharing: 1.7.0
  • federation: 1.7.0
  • files: 1.12.0
  • files_external: 1.8.0
  • files_pdfviewer: 1.6.0
  • files_rightclick: 0.15.1
  • files_sharing: 1.9.0
  • files_trashbin: 1.7.0
  • files_versions: 1.10.0
  • files_videoplayer: 1.6.0
  • firstrunwizard: 2.6.0
  • gallery: 18.4.0
  • logreader: 2.2.0
  • lookup_server_connector: 1.5.0
  • nextcloud_announcements: 1.6.0
  • notifications: 2.5.0
  • oauth2: 1.5.0
  • password_policy: 1.7.0
  • privacy: 1.1.0
  • provisioning_api: 1.7.0
  • recommendations: 0.5.0
  • serverinfo: 1.7.0
  • sharebymail: 1.7.0
  • survey_client: 1.5.0
  • systemtags: 1.7.0
  • text: 1.1.0
  • theming: 1.8.0
  • twofactor_backupcodes: 1.6.0
  • updatenotification: 1.7.0
  • viewer: 1.1.0
  • workflowengine: 1.7.0
    Disabled:
  • admin_audit
  • camerarawpreviews
  • encryption
  • files_texteditor
  • support
  • support2
  • unsplash
  • user_ldap
    root@nextcloud:/usr/local/www/nextcloud #

Hi.
I checked some versions of your application and their and found they are the same. You can try to do the manual upgrade again (download version 17).

I just never seen the line ’ is not considered because it is using the old way to register.’.

This line appeared only in version 17 and in 16.0.4 you won’t be able to find it. So something in application changed.

It might be useful to write into GitHub issues, if you haven’t done it before.

@ntranov: if you logs tell you that some modules are missing or stuff is not configured properly, I’d put that on my todo-list. Such things can improve performance and what might be a warning or an error might fail in the future.

Back to the problem: I found this topic:


this looks very likely that some changes in the code break stuff in certain apps that were not properly checked to be compatible with the new version. But it is strange that this pops up with the files_sharing app, I’d guess somebody would have noticed that.

For debug: I’d disable apps one by one (start with less popular ones) and see if that works.

Github issue would be good as well. If it is related to this deprecated stuff it should be better tested, and if there is something to fix, they can perhaps ship it with 17.0.1.