1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

'tootctl self-destruct --dry-run' to prevent accidental run

This commit is contained in:
OniriCorpe 2024-02-25 01:03:06 +01:00
parent 345a0c38c1
commit 3fba232c40
2 changed files with 6 additions and 2 deletions

View file

@ -60,9 +60,11 @@ Otherwise your data will remain in federation cache for ever.
```bash ```bash
screen screen
sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl self-destruct sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl self-destruct --dry-run
``` ```
Remove the `--dry-run` part only when you're absolutely certain that you really want to delete your Mastodon instance.
Check [the official documentation](https://docs.joinmastodon.org/admin/tootctl/#self-destruct) for more details. Check [the official documentation](https://docs.joinmastodon.org/admin/tootctl/#self-destruct) for more details.
## Known Bugs ## Known Bugs

View file

@ -60,9 +60,11 @@ Sinon, vos données resteront dans le cache de la fédération pour toujours.
```bash ```bash
screen screen
sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl self-destruct sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl self-destruct --dry-run
``` ```
Retirez la partie `--dry-run` uniquement lorsque vous avez la certitude que que vous voulez vraiment supprimer votre instance Mastodon.
Consulter [la documentation officielle](https://docs.joinmastodon.org/admin/tootctl/#self-destruct) pour plus de détails. Consulter [la documentation officielle](https://docs.joinmastodon.org/admin/tootctl/#self-destruct) pour plus de détails.
## Bugs connus ## Bugs connus