mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Update README.md
This commit is contained in:
parent
21a9f171b8
commit
30f48695da
1 changed files with 5 additions and 2 deletions
|
@ -60,9 +60,12 @@ $ screen -r
|
|||
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'
|
||||
|
||||
`$ 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'
|
||||
|
||||
`$ 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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue