Skip to content

[bug] watcher not working #862

@PierreRust

Description

@PierreRust

Describe the bug

when starting a clean install of CWA using docker compose (using the template from the readme), I get the following errors :

calibre-web-automated  | ========== STARTING METADATA CHANGE DETECTOR ===========
calibre-web-automated  | [metadata-change-detector] Watching folder: /app/calibre-web-automated/metadata_change_logs
calibre-web-automated  | ========== STARTING CWA-INGEST SERVICE ==========
calibre-web-automated  | Setting up watches.
calibre-web-automated  | Failed to watch /app/calibre-web-automated/metadata_change_logs; upper limit on inotify watches reached!
calibre-web-automated  | Please increase the amount of inotify watches allowed per user via `/proc/sys/fs/inotify/max_user_watches'.

I've tried

  • increasing the number of watches
  • setting CWA_WATCH_MODE=poll to avoid inotify

It doesn't fix the issue, I still get the error messages and the startup is stuck in a loop.

To Reproduce

Expected behavior

I expected CWA to start, with inotify watches, or polling.

Configuration(please complete the following information):

  • OS: Ubuntu LTS 24.04
  • Hardware: x86 server
  • Version: crocodilestick/calibre-web-automated:latest
    in the container :
# cat CWA_RELEASE
V3.1.4

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions