I am trying to migrate my personal nextcloud instance. The original instance was installed on hardware, the new instance is installed as a snap.
Both servers are running version 17.0.1
I have:
Merged the config.php from the original instance into the snap version, keeping instanceid, secret and passwordsalt from the original
Imported a database dump from the original server
rsynced the data folder
The problem I have now is that no user password works.
If I reset my users password using nextcloud.occ I can log in and everything looks fine.
Since I have some family members on there I really want the migration to be seamless.
Is it using the same hash-algorithm? Perhaps there is one that is not installed in your snap?
With the same config.php, you should have everything for the right salts.
have the same issue - problem is missing PHP argon2 support on the new server!
NextCloud always chooses the highest security standard available to encrypt passwords:
Hence, to make your passwords work again, you need to run NextCloud on a PHP version compiled with argon2 support - or, as you did, reset all passwords!