mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[GH-ISSUE #2052] [FR]: cli command to fix broken images (and maybe preload missing ones)? #1082
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1082
Loading…
Add table
Add a link
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?
Originally created by @AEnterprise on GitHub (Aug 15, 2025).
Original GitHub issue: https://github.com/koel/koel/issues/2052
Originally assigned to: @phanan on GitHub.
Description
Currently there is no way to fix broken images (missing on disk, after a docker update or wrong manipulation in moving mounted files around). I'd like to make a koel:verify-images command. This would go through all the images it expects to exist in the database. If it cant find the file it would clear the field in the db so it can be re fetched.
Ideally this would have a flag to then fetch the missing images as well, or maybe that would make more sense as a separate command.
Additional information
I'd like to try making it myself but it's probably quite a bit of work not being very familiar with the codebase so figured i'd open an issue first to make sure this is actually wanted or not before putting in the work
@phanan commented on GitHub (Aug 21, 2025):
I'd gladly accept a PR!
@Jacob-Noah commented on GitHub (Sep 19, 2025):
Is there a way to force a refresh of images by clearing specific fields in the database? I can't seem to figure out how to actually restore the images even manually.