What type of hardware are you using: Virtual machine What YunoHost version are you running: 12.0.11 What app is this about: Nextcloud
Describe your issue
See title – mariadb was uninstalled during the migration and never reinstalled. Only discovered this when I went to try to upgrade Nextcloud.
What’s the path forward, here? I’m pretty sure just reinstalling mariadb-server won’t help since the databases seem to be gone. Should I uninstall Nextcloud, restore from backup, then run the upgrade again?
I confirm, on Yunohost 12, the upgrade from Nextcloud 29 to 30 works fine (tested with v29 installed some minutes ago for test).
I can’t test the migration from Yunoshost 11 to 12, but when I did my Nextcloud was on version 29 or less, and I didn’t upgraded to 30 because I have app installed not compatible with version 30.
yep, saw that too. no idea how to fix. Not sure what the script is trying to do in that moment – trying to provision the needed tables? Or adding a user?
I did verify that there’s no nextcloud user in mysql.user, but I would have expected the script to remove that user when it reverted the system changes after the install failure.
So on a hunch I went ahead and tried to run the install again and this time it yelled at me for still having the yunohost.app/nextcloud folder from the old install. So I moved that out of the way, ran the install again, and it worked.
My best guess is there was a lingering nextcloud user in the database that got removed on that first failed install but who knows, it’s working now. Thanks for looking at it everyone.