YunoHost-Apps / mastodon_ynh

Free, open-source social network for YunoHost
https://joinmastodon.org/
GNU Affero General Public License v3.0
84 stars 34 forks source link

Upgrade to version 4.0.2 #345

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

Upgrade to v4.0.2

close #344

yunohost-bot commented 1 year ago

:rocket: Test Badge

memo-567 commented 1 year ago

@yalh76

Upgrade to v4.02 and a fresh installation, both with added fix https://github.com/YunoHost-Apps/mastodon_ynh/pull/348 by @panomaki, works to me:

Install 4.0.2~ynh1 on YunoHost 11.1.0.2 (testing). ✅ Upgrade 3.5.3~ynh4 to 4.0.2~ynh1 on YunoHost 11.1.0.2 (testing). ✅

tituspijean commented 1 year ago

!testme

yunohost-bot commented 1 year ago

May the CI gods be with you! Test Badge

Clusters commented 1 year ago

@tituspijean why is test job #4331 showed here? #4330 seems to be the correct one.

tituspijean commented 1 year ago

It looks like this is a CI bug. Someone has restarted the job, hopefully it will get it right now.


Edit: Indeed the job was duplicated, I have stopped 4331 and replaced the links with 4330 above.

memo-567 commented 1 year ago

@yalh76

Two ideas / wishes for the upgrade script:

  1. Since the content of Mastodon is very dynamic, lots of public posts, but also possibly DM and follow-up requests in just a minute, it might be useful during an upgrade to stop the Mastodon service first and then start the backup afterwards.

Then start the service after Mastodon has been successfully updated, or the backup has been restored as usual.

That way, if something went wrong during the upgrade process, no messages will be lost.

  1. All manually .env.production changes (S3 file storage, translation options etc.) are gone and need to be re-added after an upgrade.

Can this be changed?

panomaki commented 1 year ago

@memo-567 I think it would be better if you would make two issues for your requests. That way pull requests can be created addressing them. In this thread your wishes will be lost I fear...

neosam commented 1 year ago

Is it possible to update from a different repository or branch? So I could have my own fork with custom modifications and use it for my server?

Clusters commented 1 year ago

@neosam this question has no relation to this PR. Continue reading (on your own risk) here https://yunohost.org/de/packaging_apps?q=%2Fpackaging_apps#test-it as stated in the Readme file.

Can someone merge this, so no further unrelated questions may arise 😅

neosam commented 1 year ago

Thank you. And yes, you're right, sorry. One reason I asked was that I wanted to test this PR. It's still the wrong place to ask this question, though. Apologies.