[bug] user_follows_hashtag_hashtag_id_fkey error on running prune_objects tasks #868
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#868
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?
Your setup
OTP
Extra details
Debian 12
Version
2025.01,7cc6c35
PostgreSQL version
14
What were you trying to do?
I'm running database maintenance tasks with
What did you expect to happen?
The tasks should be success without any error
What actually happened?
I've got this error
Logs
No response
Severity
I can manage
Have you searched for this issue?
The indicated commit does not exist in upstream.
The bug was already fixed in upstream 2025.01 and the failing query no longer exists in this version; please ensure you actually use the upstream release and no interfering local patches. While at it, best also upgrade to 2025.01.01.
The current query is:
DELETE FROM hashtags
USING hashtags AS ht
LEFT JOIN hashtags_objects hto
ON ht.id = hto.hashtag_id
LEFT JOIN user_follows_hashtag ufht
ON ht.id = ufht.hashtag_id
WHERE
hashtags.id = ht.id
AND hto.hashtag_id is NULL
AND ufht.hashtag_id is NULL
@Oneric Thank you~ I didn't notice that there is a newer version released. just updated and it work fine 🙏