I migrated my Nextcloud instance to a new server. I followed the official documentation.
No (big) issues so far… Thanks to @riegerCLOUD for the awesome install bash script
But I have two questions if the following is the “normal” behavior after a migration
Theming and the avatar picrutes are gone after a migration?
Two Factor TOTP Provider - I had to generate new app-passwords (the IP address of the server has changed)
My guess is data didn’t fully copy over. If you copied all of your /data and entire contents of your Nextcloud root (including hidden files), configs, database dump, and it’s the same version of Nextcloud, you Should have everything there. Did you doubly make sure you aren’t missing data on the new server?
@stratacast said it: you have to ensure to copy all data. Espeacilly the “appdata_ocabcxyz…” regarding themes and previews etc.
And your config.php should consist of the correct “secret”, “instanceid” and “passwordsalt” as of your previous release.
If those values are the same, you don’t have to generate new TOTP or other values. And your theme would appear either!
Please verify your config.php:
‘instanceid’ => ‘oc123xyc…’,
should exist! This points to your app_oc123xy… folder inside your data-directory and consists of all your theme and preview information
Regarding: salt
It is called ‘passwordsalt’ and as far as i know it needs to be there?!