HI all,
i’ve just completed (almost) migrating from the Ubuntu 18.04LST based version of the VM to the 20.04LTS version. see :
A few days ago i noticed that 20.0.2 installed correctly on the 18.04 version so i took this as i sign that i should migrate now. I followed the migration procedure outlined in the manual (tar balled /var/www/nextcloud/ and rsync’d it over the 20.04 machine + backed up and restored the databases + edited config.php to have all the old passwords of for all the stuff (except the database which has a auto-generated password for at the time of VM setup) as per the old machine. (anyway i followed the manual’s guidance)
the only thing that seems complete broken is the ‘external storages’ admin interface which yeilds an internal server error every time i click on it. in my old machine i had ldap users configured and they mounted smb shares using save credentials in database. I’m happy to re-enter the config if i can get back in but i’m not sure how to reset ‘external storages’ so that i can edit things.
here is what the log says when i grep’d for the error code:
{"reqId":"4sLZUOfSJ4j6DwSM0Fbv","level":3,"time":"2020-12-09T21:30:48-06:00","remoteAddr":"192.168.1.196","user":"ncadmin","app":"index","method":"GET","url":"/settings/admin/externalstorages","message":{"Exception":"Exception","Message":"HMAC does not match.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Security/CredentialsManager.php","line":101,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php","line":56,"function":"retrieve","class":"OC\\Security\\CredentialsManager","type":"->"},{"file":"/var/www/nextcloud/apps/files_external/lib/Settings/Admin.php","line":72,"function":"getAuth","class":"OCA\\Files_External\\Lib\\Auth\\Password\\GlobalAuth","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":141,"function":"getForm","class":"OCA\\Files_External\\Settings\\Admin","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/AdminSettingsController.php","line":83,"function":"formatSettings","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":152,"function":"getSettings","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/AdminSettingsController.php","line":68,"function":"getIndexResponse","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"index","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Security/Crypto.php","Line":139,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) xxxxxxxxxx","version":"20.0.2.2"}
p.s. the plural of storage is storage not ‘storages’ (I’m a native English speaker for what its worth)
p.p.s. if i’ve done something stupid with my migration i can always try again. i’ve snapshot’d the new VM in a just after basic setup state…