Conversation
Notices
-
Embed this notice
meso [netzsphaere era] (meso@netzsphaere.xyz)'s status on Wednesday, 28-Aug-2024 20:47:53 JST meso [netzsphaere era]
why doesn't this command work
mix pleroma.database prune_objects --keep-threads --keep-non-public --vacuum
just spits
** (MatchError) no match of right hand side value: {[vacuum: true], ["true"], [{"--keep-threads", nil}, {"--keep-non-public", nil}]}
(pleroma 2.6.52-830-g895eea5c-develop) lib/mix/tasks/pleroma/database.ex:66: Mix.Tasks.Pleroma.Database.run/1
(mix 1.14.0) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4
(mix 1.14.0) lib/mix/cli.ex:84: Mix.CLI.run_task/2
CC @mint @sun-
Embed this notice
Angry Sun (sun@shitposter.world)'s status on Wednesday, 28-Aug-2024 20:47:52 JST Angry Sun
@meso @mint that's a bug -
Embed this notice
(mint@ryona.agency)'s status on Wednesday, 28-Aug-2024 21:55:11 JST
@meso @sun Never ran it so wouldn't know. -
Embed this notice
:blank: (i@declin.eu)'s status on Wednesday, 28-Aug-2024 22:27:13 JST :blank:
@psnacks @meso @mint @sun or delete all the old announce/like activities as an easy start
also it breaks because that change is in v2.7.0, and you're running pleroma 2.6, so you would have to upgrade for the improved script
not that either would help because the instance would kneel over in the proceeding vacuum for a long while likes this. -
Embed this notice
psnacks (psnacks@netzsphaere.xyz)'s status on Wednesday, 28-Aug-2024 22:27:14 JST psnacks
@meso @mint @sun bigger disk -
Embed this notice
meso [netzsphaere era] (meso@netzsphaere.xyz)'s status on Wednesday, 28-Aug-2024 22:27:15 JST meso [netzsphaere era]
@mint @sun any tips on reducing the database size it's 300GB now -
Embed this notice
(mint@ryona.agency)'s status on Wednesday, 28-Aug-2024 22:30:15 JST
@meso @sun Dropping everything but Create/Follow/Accept/Block/Announce activities should be safe. In case of announces, dropping them from relay accounts should be safe as well. Then mass-send unfollows from your old followbot to prevent it from growing too rapidly. -
Embed this notice
Angry Sun (sun@shitposter.world)'s status on Wednesday, 28-Aug-2024 22:39:30 JST Angry Sun
@i @meso @psnacks @mint pg_repack
-
Embed this notice