Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] lsiown /kavita/wwwroot causing slow startup #4

Closed
1 task done
HazardousBackup opened this issue Jul 10, 2024 · 1 comment · Fixed by #5
Closed
1 task done

[BUG] lsiown /kavita/wwwroot causing slow startup #4

HazardousBackup opened this issue Jul 10, 2024 · 1 comment · Fixed by #5

Comments

@HazardousBackup
Copy link

HazardousBackup commented Jul 10, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When starting a container for the first time it can take a very long time until the service becomes available.
Poking around it seems that this is caused by lsiown running through and chown-ing the /kavita/wwwroot to the set PUID/PGID.

Seems related to: linuxserver/docker-calibre-web#244

Expected Behavior

Faster startup.

Steps To Reproduce

Start as you normally would

Environment

- OS: TrueNAS -> Jailmaker -> Debian
- How docker service was installed: Jailmaker (install of debian Docker package from Docker's website)

CPU architecture

x86-64

Docker creation

---
services:
  kavita:
    image: lscr.io/linuxserver/kavita:latest
    container_name: kavita
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - config:/config
    ports:
      - 5000:5000
    restart: unless-stopped

volumes:
   config:

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
Kavita: https://opencollective.com/kavita
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@thespad thespad mentioned this issue Jul 10, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant