plexamp-docker icon indicating copy to clipboard operation
plexamp-docker copied to clipboard

Cant get Plexamp to work

Open progecon opened this issue 1 year ago • 5 comments

Hi again. After taking a break for some time, I tried to get this docker container working once again. This is my compose:

version: '3.8'

services:
  plexamp:
    container_name: plexamp
    privileged: true
    image: ghcr.io/anatosun/plexamp:amd64
    devices:
      - "/dev/snd:/dev/snd"
    volumes:
      - /home/XXXX/docker/plexamp_headless/config:/root/.local/share/Plexamp/Settings
    environment:
      - PLEXAMP_CLAIM_TOKEN=claim-_________-xXfa
      - PLEXAMP_PLAYER_NAME=music_streaming
    ports:
      - 32500:32500
      - 20000:20000
    networks:
      - xxxxx-network-plex
    restart: unless-stopped

networks:
  xxxxx-network-plex:
    external: true

I can get the container running. Funny thing is, after restarting it once, it does not want to start again (e.g. it keeps restarting). I can only get it running once again after removing the old (filled) plexamp_headless/config folder and creating and empty new one. Why might that be?

Here is my log after getting the container to run:

2024-10-18 15:45:31
Starting Plexamp 4.11.2
2024-10-18 15:45:34
DEVICE: Error loading cloud players from plex.tv HTTP status 403
2024-10-18 15:45:34
DEVICE: Server connection https://192-168-188-133.9942XXXXXX3f0fXXXXX.plex.direct:32400 didn't work for Gawain: HTTP status -7
2024-10-18 15:45:34
DEVICE: Player connection http://172.16.0.162:32500 didn't work for music-streaming: HTTP status -7
2024-10-18 15:45:34
DEVICE: Player connection http://172.16.0.28:32500 didn't work for music-streaming: HTTP status -7
2024-10-18 15:45:34
DEVICE: Connection testing failed for music-streaming
2024-10-18 15:45:34
DEVICE: Player connection http://172.16.0.162:32500 didn't work for music_streaming# replace this with your player name: HTTP status -7
2024-10-18 15:45:34
DEVICE: Player connection http://172.16.0.28:32500 didn't work for music_streaming# replace this with your player name: HTTP status -7
2024-10-18 15:45:34
DEVICE: Connection testing failed for music_streaming# replace this with your player name
2024-10-18 15:45:34
DEVICE: Player connection http://192.168.188.194:32500 didn't work for SHIELD Android TV: HTTP status -7
2024-10-18 15:45:34
DEVICE: Connection testing failed for SHIELD Android TV
2024-10-18 15:45:34
DEVICE: Server connection https://192-168-188-133.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for Gawain: HTTP status -7
2024-10-18 15:45:34
DEVICE: Server connection https://84-112-86-198.c2901cd8881744d39147f7f86c744392.plex.direct:32423 didn't work for SHIELD Android TV: HTTP status -60
2024-10-18 15:45:35
Plexamp is now signed in and ready!

The login screen takes time to appear. After I log in, it does not find any libraries though. What am I doing wrong?

image

progecon avatar Oct 18 '24 16:10 progecon

Try it with network_mode: host. If this does not work, maybe there is a deeper problem with your Plex account.

anatosun avatar Dec 03 '24 10:12 anatosun

Just wanted to add I have the same issue. Running with network_mode: host did not resolve the issue.

RobertPosluszny avatar Dec 24 '24 23:12 RobertPosluszny

Same here, the suggested solution did not help

progecon avatar Dec 24 '24 23:12 progecon

image After a few hours I did actually get it working. Had to set all the network addresses/URLs in the network tab of Plex. I believe my Unifi system prevents DNS rebinding which makes prevents the Plex server from being shown. I saw a tip about it in the Plex support forums.

RobertPosluszny avatar Dec 25 '24 01:12 RobertPosluszny

Could you specify which fields you had to fill out? My Plexamp docker IP address is 172.16.0.26., for example. What do I need to change? -------- Original Message --------On 24/12/2024 20:40, Robert Posluszny - notifications at github.com wrote:

    Forwarded by SimpleLogin to ***@***.*** from "Robert Posluszny " with Re: [anatosun/plexamp-docker] Cant get Plexamp to work (Issue #13) as subject

image.png (view on web) After a few hours I did actually get it working. Had to set all the network addresses/URLs in the network tab of Plex. I believe my Unifi system prevents DNS rebinding which makes prevents the Plex server from being shown. I saw a tip about it in the Plex support forums.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.> [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/anatosun/plexamp-docker/issues/13#issuecomment-2561533559", "url": "https://github.com/anatosun/plexamp-docker/issues/13#issuecomment-2561533559", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

progecon avatar Dec 25 '24 07:12 progecon