Pruning remote posts not working #436
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#436
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I don't know if i just do something wrong or if it's an actual bug, but pruning remote posts just results in this error
your screenshot contains no errors and shows the command working as expected
isnt it supposed to delete the remote posts though? cause i can access everything still just fine like before and storage usage didnt decrease.
it deletes objects, not posts
if you view a post again, the system will refetch it
your instance likely isn't old enough for it to have any noticable storage decrease, especially with a query that short
you can check
COUNT(id)
overobjects
if you want to be sure it's working (it will be)yeah your instance is about a week old, you will be deleting kilobytes at most
Just fyi because I see that you use vacuum full. If you plan to run this on a regular basis, you shouldn't use the --vacuum option by default. That's more an option for older instances who just start pruning for the first time and therefor will delete a lot of rows. It's better to enable auto vacuum on your database. (This should probably be explained better in the Akkoma docs.)
See the Postgresql docs at https://www.postgresql.org/docs/current/sql-vacuum.html