Skip to content

[bug] docker image puts selenium cache folder in root home directory #1454

Description

@ynaciri

Describe the bug
Lots of warnings in the logs when searching for a book metadata :
WARN {selenium.webdriver.common.selenium_manager:151} Cache folder (/root/.cache/selenium) cannot be created: Permission denied (os error 13)

To Reproduce
Steps to reproduce the behavior:

  1. Start CWA with the provided docker image setting PUID/PGID to non root user
  2. Add a book
  3. Search for the book metadata online
  4. See warning in the logs

Expected behavior
The app should use the documented path /config/.config/.cache/selenium like it does for the plugins in /config/.config/calibre/plugins

Configuration(please complete the following information):

  • OS: Ubuntu 22 + Kubernetes + Docker
  • Hardware: x64 server
  • Version : latest tag (sha256:c31a738b6d5ec6982c050063dd3f063b6943eb1051fc81144789f840d9093a8d)

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