@Gargron auto update? (get latest tag, pre-compile assets, run migrations and restart)
@kdy @Gargron Frankly, I didn't wait to do it x) https://pastie.crystalyx.net/?797a2e014049d511#U2RzG/QJeQzi+1dCJJ2vm9WFOaXkrb555tV+hnWnc9I=
@xefir @Gargron Heh, your script sure is smaller than mine (well, I am a bit more verbose too and have to manage some merges)
And since the precompile part uses a lot of ressources, I need to stop Elasticsearch to prevent the server from dying.
@Gargron Just "mastodon"?
@Sylvhem I don't understand this
@Gargron Sorry, I was suggesting to just use "mastodon" as the name of the command.
@Sylvhem tootctl or riot
@Gargron Update, add/remove/verify users, remote remove media, in order of importance.
@Gargron Maybe something that runs the clear cache tasks?
@corbin do you mean media cache
@Gargron Yeah, I couldn't remember if there were other cache commands
upgrade-without-any-problem <instance's url>
@Gargron Should I do rake tasks? 😨
tootctl federate :)
More seriously, critical stats and admin jobs that are more about core functionality than misc db tasks, etc.
Def like idea of centralizing key things under there:
tootctl stats users
tootctl stats load
tootctl cleanup # disk space, etc
@Gargron `cowsay` but with an ASCII mastodon.
@Gargron tootctl backup && tootctl update && tootctl checkall
$ tootctl update --stats --profiles --avatars --remote-media-cache
$ tootctl --update-all-the-shit
I know that is a very costly task to do, but if a server can afford it, let it have a command that can be run with a cron more often
Taking backup and clearing caches would be top of my list.
@Gargron While you're at it - create a rake task that expires unused preview cards?
I'm not sure why I need 223151 of those, using up an additional 8.5G of space...
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!