Upgraded nextcloud jail (17.0.9.0) becomes nextcloud plugin (19.0.2.0), but is no longer working

floogy

Dabbler
Joined
Oct 24, 2012
Messages
22
Hi, I upgraded my FreeNAS from 11.2-RELEASE to FreeNAS-11.3-U4.1. In prior to this I upgraded my jails from 8.3-RELEASE, 9.1-RELEASE, 10.3-RELEASE, 11.0-RELEASE, 11.2-RELEASE successfully, even though with caveats and a bunch of issues, particulary for the outdated warden jails, to iocage 11.3-RELEASE-p12 jails.

Code:
root@floogy:~ # iocage exec nextcloud freebsd-version
11.2-RELEASE-p15
root@floogy:~ # iocage list
freebsd-version could not be found at /mnt/datapool/iocage/jails/dlna_1/root/bin/freebsd-version
freebsd-version could not be found at /mnt/datapool/iocage/jails/pluginjail/root/bin/freebsd-version
+-----+-------------+---------+--------------+---------------+
| JID |    NAME     |  STATE  |   RELEASE    |      IP4      |
+=====+=============+=========+==============+===============+
| 2   | FAMP        | up      | 11.0-RELEASE | DHCP          |
+-----+-------------+---------+--------------+---------------+
| -   | dlna_1      | CORRUPT | N/A          | N/A           |
+-----+-------------+---------+--------------+---------------+
| -   | firefly_1   | down    | 11.0-RELEASE | 172.16.240.23 |
+-----+-------------+---------+--------------+---------------+
| 5   | nextcloud   | up      | 11.2-RELEASE | DHCP          |
+-----+-------------+---------+--------------+---------------+
| -   | nextcloud_1 | down    | 10.3-RELEASE | 172.16.240.16 |
+-----+-------------+---------+--------------+---------------+
| -   | pluginjail  | CORRUPT | N/A          | N/A           |
+-----+-------------+---------+--------------+---------------+



Code:
root@floogy:~ # iocage list
+-----+-------------+-------+--------------+---------------+
| JID |    NAME     | STATE |   RELEASE    |      IP4      |
+=====+=============+=======+==============+===============+
| 1   | FAMP        | up    | 11.3-RELEASE | DHCP          |
+-----+-------------+-------+--------------+---------------+
| -   | dlna_1      | down  | 11.3-RELEASE | 172.16.240.19 |
+-----+-------------+-------+--------------+---------------+
| 2   | firefly_1   | up    | 11.3-RELEASE | 172.16.240.23 |
+-----+-------------+-------+--------------+---------------+
| 3   | nextcloud   | up    | 11.3-RELEASE | DHCP          |
+-----+-------------+-------+--------------+---------------+
| 4   | nextcloud_1 | up    | 11.3-RELEASE | 172.16.240.16 |
+-----+-------------+-------+--------------+---------------+
| 5   | pluginjail  | up    | 11.3-RELEASE | 172.16.240.25 |
+-----+-------------+-------+--------------+---------------+


I had a running warden jail for nextcloud with nextcloud 17.0.9.0 before upgrading the jail (to iocage).

Either the FreeNAS upgrade process or the warden 11.2-RELEASE -> iocage 11.2-RELEASE -> iocage 11.3-RELEASE jails upgrade seems to detect/pushed my nextcloud jail to a nextcloud plugin jail and therefore eliminated my configuration(? hypothesis). I didn't had a nextcloud warden pbi for nextcloud 17.0.9.0 (this didn't existing, but I got a running pbi nextcloud_1 with nextcloud 10.0.3.0, which was before upgrading from warden to iocage a warden pbi plugin. It still runs on 11.3-RELEASE without flaws, but it's sticking to php5.5 and therefore not upgradeable behind 10.0.3.0.

So I'm a bit clueless how to solve this error, also the upgrade process dropped my https SSL acme.sh configuration for nginx, so it's no longer listening on port 443:

Interner Serverfehler
Der Server konnte die Anfrage nicht fertig stellen.

Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an Deinen Server-Administrator.

Weitere Details können im Server-Protokoll gefunden werden.
Technische Details
  • Entfernte Adresse: 172.16.240.37
  • Anfragekennung: 7f6NLyhy445QxUUIjxDZ


Code:
{"reqId":"zL91KbwVUfwYaGaQhL9r","level":4,"time":"2020-08-24T08:45:01+00:00","remoteAddr":"84.182.82.121","user":"--","app":"webdav","method":"PROPFIND","url":"\/remote.php\/dav\/files\/gerhard\/","message":{"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"OC\\HintException: Downgrading is not supported and is likely to cause unpredictable

issues (from 17.0.8.1 to 17.0.1.1)","Code":0,"Trace":[{"function":"{closure}","args":["*** sensitive parameters replaced ***"]},{"file":"\/usr\/local\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[{"__class__":"Closure"},["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]]},{"file":"\/usr\/local\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":466,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["beforeMethod",["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]]},{"file":"\/usr\/local\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"\/usr\/local\/www\/nextcloud\/remote.php","line":72,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/usr\/local\/www\/nextcloud\/remote.php","line":166,"function":"handleException","args":[{"__class__":"OC\\HintException"}]}],"File":"\/usr\/local\/www\/nextcloud\/remote.php","Line":70,"CustomMessage":"--"},"userAgent":"Mozil...skipping...

\AutoloadNotAllowedException"},500]}],"File":"/usr/local/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":143,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0","version":"17.0.9.0"}

{"reqId":"NEaeTZ2fdRPIWv3IbVoh","level":3,"time":"2020-08-31T11:15:37+00:00","remoteAddr":"172.16.240.37","user":"--","app":"no app in context","method":"GET","url":"/js/core/merged-template-prepend.js?v=77c30c89-0","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":165,"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/OC_App.php","line":266,"args":["/usr/local/www/nextcloud/apps/files_external/appinfo/app.php"],"function":"require_once"},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":155,"function":"requireAppFile","class":"OC_App","type":"::","args":["files_external"]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":128,"function":"loadApp","class":"OC_App","type":"::","args":["files_external"]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_Util.php","line":197,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/usr/local/www/nextcloud/lib/base.php","line":1011,"function":"setupFS","class":"OC_Util","type":"::","args":[]},{"file":"/usr/local/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/usr/local/www/nextcloud/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0","version":"17.0.9.0"}

{"reqId":"NEaeTZ2fdRPIWv3IbVoh","level":3,"time":"2020-08-31T11:15:37+00:00","remoteAddr":"172.16.240.37","user":"--","app":"no app in context","method":"GET","url":"/js/core/merged-template-prepend.js?v=77c30c89-0","message":{"Exception":"Error","Message":"Call to protected method OCA\\Files_Sharing\\AppInfo\\Application::registerMountProviders() from context 'OC_App'","Code":0,"Trace":[{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":266,"function":"require_once"},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":155,"function":"requireAppFile","class":"OC_App","type":"::","args":["files_sharing"]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":128,"function":"loadApp","class":"OC_App","type":"::","args":["files_sharing"]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_Util.php","line":197,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/usr/local/www/nextcloud/lib/base.php","line":1011,"function":"setupFS","class":"OC_Util","type":"::","args":[]},{"file":"/usr/local/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/usr/local/www/nextcloud/apps/files_sharing/appinfo/app.php","Line":39,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0","version":"17.0.9.0"}

{"reqId":"NEaeTZ2fdRPIWv3IbVoh","level":3,"time":"2020-08-31T11:15:37+00:00","remoteAddr":"172.16.240.37","user":"--","app":"index","method":"GET","url":"/js/core/merged-template-prepend.js?v=77c30c89-0","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":165,"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":33,"function":"spl_autoload_call","args":["OC_Mount_Config"]},{"file":"/usr/local/www/nextcloud/lib/private/Route/Router.php","line":380,"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":268,"function":"loadRoutes","class":"OC\\Route\\Router","type":"->","args":[]},{"file":"/usr/local/www/nextcloud/lib/base.php","line":1012,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/js/core/merged-template-prepend.js"]},{"file":"/usr/local/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/usr/local/www/nextcloud/lib/autoloader.php","Line":140,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0","version":"17.0.9.0"}

{"reqId":"NEaeTZ2fdRPIWv3IbVoh","level":3,"time":"2020-08-31T11:15:37+00:00","remoteAddr":"172.16.240.37","user":"--","app":"no app in context","method":"GET","url":"/js/core/merged-template-prepend.js?v=77c30c89-0","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route

\"calendar.view.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/usr/local/www/nextcloud/lib/private/Route/Router.php","line":338,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["calendar.view.index",[],1]},{"file":"/usr/local/www/nextcloud/lib/private/Route/CachingRouter.php","line":60,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["calendar.view.index",[],false]},{"file":"/usr/local/www/nextcloud/lib/private/URLGenerator.php","line":83,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->","args":["calendar.view.index",[]]},{"file":"/usr/local/www/nextcloud/lib/private/NavigationManager.php","line":294,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["calendar.view.index"]},{"file":"/usr/local/www/nextcloud/lib/private/NavigationManager.php","line":115,"function":"init","class":"OC\\NavigationManager","type":"->","args":[]},{"file":"/usr/local/www/nextcloud/apps-pkg/theming/lib/ThemingDefaults.php","line":183,"function":"getAll","class":"OC\\NavigationManager","type":"->","args":["guest"]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_Defaults.php","line":263,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":[]},{"file":"/usr/local/www/nextcloud/lib/public/Defaults.php","line":169,"function":"getLongFooter","class":"OC_Defaults","type":"->","args":[]},{"file":"/usr/local/www/nextcloud/core/templates/layout.guest.php","line":55,"function":"getLongFooter","class":"OCP\\Defaults","type":"->","args":[]},{"file":"/usr/local/www/nextcloud/lib/private/Template/Base.php","line":178,"args":["/usr/local/www/nextcloud/core/templates/layout.guest.php"],"function":"include"},{"file":"/usr/local/www/nextcloud/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->","args":["/usr/local/www/nextcloud/core/templates/layout.guest.php",null]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_Template.php","line":182,"function":"fetchPage","class":"OC\\Template\\Base","type":"->","args":[null]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_Template.php","line":213,"function":"fetchPage","class":"OC_Template","type":"->","args":[null]},{"file":"/usr/local/www/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_Template.php","line":334,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/usr/local/www/nextcloud/index.php","line":63,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"OCP\\AutoloadNotAllowedException"},500]}],"File":"/usr/local/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":143,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0","version":"17.0.9.0"}

(END)
 

floogy

Dabbler
Joined
Oct 24, 2012
Messages
22
Hm,

Code:
root@nextcloud:/usr/local/www/nextcloud # sudo -u www php occ upgrade
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
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
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Maintenance mode is kept active
Reset log level
 
Top