YunoHost-Apps / friendica_ynh

Friendica package for YunoHost
http://friendi.ca/
Other
11 stars 13 forks source link

DB need update when migration to 2019.01 #18

Closed Josue-T closed 3 months ago

Josue-T commented 5 years ago

Hello,

I saw that when we upgrade friendica to the version 2019.01 we need to update the database. To do that I did it manually in the admin pannel. But I think it could be useful to do that automatically on the upgrade or to add this information in the README.

anmol26s commented 5 years ago

As I do not use the Friendica personally. Can you please explain me how you updated the database? In my test from previous version there was no problem while upgrading to 2019.01.

Josue-T commented 5 years ago

Yes, the upgrade don't fail, but until the migration is done, friendica don't work really well dans tall all my CPU...

To do that as I said, I did it on the web admin of friendica in the admin panel I have a page named something like "DB update", (I don't know really well the exact name because It depends of the theme and of the language). in this page I have a link named "check database structure", but maybe you have something else before to do the upgrade.

anmol26s commented 5 years ago

Ok I understand, but I am not sure if this is related to this upgrade or there is some other issue while upgrade. Sometimes the DB upgrade fails for no reason as I have seen this with Hubzilla and it has to manually upgrade.

But still I will add this in readme.

Josue-T commented 5 years ago

Maybe we can force the db update as documented here : https://github.com/friendica/friendica/releases/tag/2019.06

With this command:

bin/console dbstructure update
anmol26s commented 4 years ago

I will add this in next update. Thanks

tio-trom commented 5 months ago

Is this issue still relevant now?