Skip to content

Scan watcher not working on docker #637

@AlphaZulu666

Description

@AlphaZulu666

gonic version: 0.19.0

if from docker, docker tag: latest
if from source, git tag/branch:

Having the following docker environment:

environment:
  - TZ
  # optionally, see more available env vars in the readme
  - GONIC_SCAN_WATCHER_ENABLED=true
  - GONIC_SCAN_AT_START_ENABLED=true

and volumes:

volumes:
[...]
- /opt/storage/media/0004-Music/SORTED:/music:ro # your music
[..]

It looks like GONIC_SCAN_WATCHER_ENABLE is not actually working.

From the log I see that the feature is enabled:

2025/12/17 09:51:32 scan-at-start-enabled true
2025/12/17 09:51:32 scan-embedded-cover-enabled true
2025/12/17 09:51:32 scan-interval 0
2025/12/17 09:51:32 scan-watcher-enabled true

but for some reason if I delete a file on the drive, nothing happen on the log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions