Closed anmol26s closed 6 years ago
PG password ... strange
You can try to re-launch the upgrade ?
sudo yunohost app upgrade --verbose mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh.git
Same error with same log.
Why the PostgreSQL don't have any password?
All pgsql operation as made by 'postgres' user with su After many try, I can't reproduce your problem on my test server.
If you have backup of the app you can remove and restore it.
Or if you not have backup you can try to make one with this command:
yunohost backup create --ignore-system --apps mastodon --verbose
All pgsql operation as made by 'postgres' user with su
Using su as user is not a good idea.
For now,I have kind of temporary solved the issue. But I would like to play around with the setting when I get time to have a dedicated user for postgres.
Upgrade failed and mastodon stopped working.