diff options
| author | panomaki <p45+github@freedom.nl> | 2023-04-12 11:29:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-12 11:29:34 +0200 |
| commit | 21a9f171b83de4bc8cace4f41c81b28f7661deac (patch) | |
| tree | f371a78fa0e555a395bc2220d8a2012a70c0b342 | |
| parent | 6f94c6315a85fb3a0d304d02e55f8bedb89c6fd5 (diff) | |
| download | mastodon_ynh-21a9f171b83de4bc8cace4f41c81b28f7661deac.tar.gz mastodon_ynh-21a9f171b83de4bc8cace4f41c81b28f7661deac.tar.bz2 mastodon_ynh-21a9f171b83de4bc8cace4f41c81b28f7661deac.zip | |
Update README.md
| -rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -57,6 +57,22 @@ $ screen -r `$ sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh --debug ` +Upgrading from 3.5.3 to 4.1.2 directly has not been integration-tested. It is recommended to do a two-step upgrade: + +Mastodon can grow huge. You could consider cleaning up your local cache first as otherwise your backup will be very big: +'sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl media remove --days=0 --dry-run' +If all looks good commit the cleanup: +'sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl media remove --days=0' + +First upgrade to 4.0.2~ynh2: + +`$ sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh/tree/94381183ca2d14da72234b53c9a83972ffb16e54 --debug ` + +Check your installation. If all looks well, upgrade to 4.1.2~ynh1: + +`$ sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh --debug ` + + ### Administrate with tooctl `$ (cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl --help)` |
