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

Cannot connect to Plex webui running in my container #385

Closed
1 task done
adeldiah opened this issue Dec 16, 2023 · 10 comments
Closed
1 task done

Cannot connect to Plex webui running in my container #385

adeldiah opened this issue Dec 16, 2023 · 10 comments

Comments

@adeldiah
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I browse to the Plex server via my media server's ip I get the message "This site can't be reached".

The URL is http://serverip:32400

I get this message whether I attempt access while physically on the media server or remotely via a web browser

Expected Behavior

To be able to connect to Plex service via webui via my media servers IP and the Plex port

Steps To Reproduce

  1. From web browser type http://serverip:32400

Environment

- OS: Sonoma 14.1.2
- How docker service was installed: In portainer as a stack

CPU architecture

arm64

Docker creation

version: "3"
services:
  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    environment:
      - PUID=501
      - PGID=502
	  - VERSION=latest
      - TZ=America/Los Angeles
      - PLEX_CLAIM= #Removed
    volumes:
      - /Users/<user>/Documents/Docker/Plex/config:/config
      - /Volumes/Elements/data/media:/data/media/
    network_mode: host
    restart: "unless-stopped"

Container logs

[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:    501
User GID:    502
───────────────────────────────────────
**** Server already claimed ****
No update required
[custom-init] No custom files found, skipping...
Starting Plex Media Server. . . (you can ignore the libusb_init error)
[ls.io-init] done.
Critical: libusb_init failed
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.

@j0nnymoe
Copy link
Member

Host mode doesn't work on macOS.

@adeldiah
Copy link
Author

Thank you. So just remove the line from the yaml and re-deploy the stack?

@adeldiah
Copy link
Author

I got it to work by mapping the ports correctly. Thank you for pointing out that host network mode is not supported.

@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Dec 17, 2023
@pebroz
Copy link

pebroz commented Dec 21, 2023

Same here, quickly reverted to version 1.32.8.7639-fb6452ebf-ls196 to have the service working.

Host mode on Linux (Unraid). Thanks for posting the information.

@ItsJamesMurray
Copy link

Am I good to revert to 1.32.8.7639-fb6452ebf-ls196 and then go back to latest once resolved? Or am I better off not using host and and mapping ports?

@j0nnymoe
Copy link
Member

There's nothing to be resolved here? OP was using macos and that doesn't allow host mode.

@adeldiah
Copy link
Author

Resolved. Host mode not supported on MacOS.

@andrewtnas
Copy link

I'm not on macOS (running ubuntu) but having the same issue, the container is up and running with no issues in the log, but can't access the web view. Any solution?

@aptalca
Copy link
Member

aptalca commented Apr 6, 2024

Docker desktop also doesn't support host networking

Make sure to install docker engine from the official docker repo (not Ubuntu repo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

6 participants