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] Jackett WebGUI Portainer Issue #152

Open
1 task done
jcarroll53 opened this issue Jul 6, 2024 · 4 comments
Open
1 task done

[BUG] Jackett WebGUI Portainer Issue #152

jcarroll53 opened this issue Jul 6, 2024 · 4 comments

Comments

@jcarroll53
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I use the "LinuxServer.io" Jackett docker compose example inside Portainer and use the PUID and PGID of 1000, the WebUI is not accessible and the container will not load. The only way I can get the container to load and the WebUI to work is if I set the PUID and PGID to 0 (root). When I set it back to 1000 and inspect the logs, the container won't even finish loading or pulling the image. If I switch it back to 0, it loads everything perfectly fine.

I have also created a user called "docker" that is used throughout the network for various containers with sudo privileges. I matched the PUID and PGID for that user and tried that and still does not work.

Expected Behavior

Jackett stack should fully load if using PGID/PUID of 1000.

Steps To Reproduce

  1. Fresh install of Ubuntu 22.04
  2. Install Docker Engine
  3. Create Portainer docker-compose.yaml
  4. Add LinuxServer.io jackett example to the stack deployment section.
  5. Try switching PUID/PGID from 1000 to 0 and the container will fully load and allow WebUI to work.

Environment

- OS: Ubuntu 22.04
- How docker service was installed: Installed via Portainer using the "stack" deployment.

CPU architecture

x86-64

Docker creation

services:
  jackett:
    image: lscr.io/linuxserver/jackett:latest
    container_name: jackett
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /dockerpods/jackett/data:/config
      - /dockerpods/jackett/blackhole:/downloads
    ports:
      - 9117:9117
    restart: unless-stopped

Container logs

This is when I run it with PUID/PGID as 1000:

[migrations] started
[migrations] no migrations found
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v0.22.281-ls455
Build-date: 2024-07-06T06:42:02+00:00
───────────────────────────────────────

----------------------------------------------------------------
This is when I run it with PUID/PGID as 0:

[migrations] started
[migrations] no migrations found
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    0
User GID:    0
───────────────────────────────────────
Linuxserver.io version: v0.22.281-ls455
Build-date: 2024-07-06T06:42:02+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
07-06 16:39:31 Info Starting Jackett v0.22.281
07-06 16:39:32 Info Environment version: 8.0.6 (/app/Jackett/)
07-06 16:39:32 Info OS version: Unix 5.15.0.113 (64bit OS) (64bit process)
07-06 16:39:32 Info Jackett variant: CoreLinuxMuslAmdx64
07-06 16:39:32 Info File /etc/issue: Welcome to Alpine Linux 3.20
07-06 16:39:32 Info Running in Docker: Yes (image build: v0.22.281-ls455)
07-06 16:39:32 Info ThreadPool MaxThreads: 32767 workerThreads, 1000 completionPortThreads
07-06 16:39:32 Info App config/log directory: /config/Jackett
07-06 16:39:32 Info Using proxy: Disabled
07-06 16:39:32 Info Using FlareSolverr: No
07-06 16:39:32 Error Jackett is running with root privileges. You should run Jackett as an unprivileged user.
07-06 16:39:32 Info Using HTTP Client: HttpWebClient2
07-06 16:39:32 Info Loading Native indexers ...
07-06 16:39:32 Info Loaded 72 Native indexers.
07-06 16:39:32 Info Loading Cardigann indexers from: /config/cardigann/definitions/, /etc/xdg/cardigan/definitions/, /app/Jackett/Definitions
07-06 16:39:35 Info Loaded 544 Cardigann indexers.
07-06 16:39:35 Info Loaded 616 indexers in total
07-06 16:39:35 Info Adding aggregate indexer ('all' indexer) ...
07-06 16:39:35 Info Adding filter indexer ('type:public' indexer) ...
07-06 16:39:35 Info Adding filter indexer ('type:private' indexer) ...
07-06 16:39:35 Info Adding filter indexer ('type:semi-public' indexer) ...
07-06 16:39:35 Info Jackett startup finished in 4.352 s
Hosting environment: Production
Content root path: /app/Jackett/Content
Now listening on: http://[::]:9117
Application started. Press Ctrl+C to shut down.
Connection to localhost (::1) 9117 port [tcp/*] succeeded!
[ls.io-init] done.
Copy link

github-actions bot commented Jul 6, 2024

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

@j0nnymoe
Copy link
Member

j0nnymoe commented Jul 6, 2024

The container works fine according to our smoke tests: https://ci-tests.linuxserver.io/linuxserver/jackett/latest/index.html

Seems like to potentially might be permissions issues but you'd have to test with true compose. We do not support nor recommend portainer for deployment of our containers.
https://docs.linuxserver.io/misc/support-policy/

@jcarroll53
Copy link
Author

Thanks! I'll double check and will report back if I find anything.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Issues
Development

No branches or pull requests

3 participants