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] URL for download plex from plex.tv does not exist #375

Closed
1 task done
jpahullo opened this issue Sep 11, 2023 · 6 comments
Closed
1 task done

[BUG] URL for download plex from plex.tv does not exist #375

jpahullo opened this issue Sep 11, 2023 · 6 comments

Comments

@jpahullo
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I can see that from the plex.tv there is URLs for dowloading of the form: https://downloads.plex.tv/plex-media-server-new/1.32.5.7349-8f4248874/debian/plexmediaserver_1.32.5.7349-8f4248874_amd64.deb.

However, the start of the docker container shows this message:

[...]

**** Server already claimed ****
Atempting to upgrade to: "latest"
failed: Connection timed out.

failed: Connection timed out.
https://downloads.plex.tv/plex-media-server-new/%22latest%22/debian/plexmediaserver_%22latest%22_amd64.deb:
2023-09-11 12:37:26 ERROR 404: Not Found.



########################################################
# Upgrade attempt failed, this could be because either #
# plex update site is down, local network issues, or   #
# you were trying to get a version that simply doesn't #
# exist, check over the VERSION variable thoroughly &  #
# correct it or try again later.                       #
########################################################

[...]

As we can see, the URL for downloading differs from the above (from the plex.tv web), and the log of the docker container.

Maybe this URL should be revisited?

Expected Behavior

I think the URL should match the existing URLs from the web, so that the downloading of the last version goes properly all the times.

Steps To Reproduce

  1. Start the docker container
  2. docker logs -f plex
  3. See the logs.
  4. Go to the plex.tv web and check the URL format.

Environment

- OS: Ubuntu 20.4 LTS
- How docker service was installed: through docker.com specification.

CPU architecture

x86-64

Docker creation

# Always use latest version.
docker pull linuxserver/plex
docker-compose -f "${thisdir}/../docker/docker-compose.yml" up -d

docker-compose.yml

version: "3"

services:
plex:
image: linuxserver/plex
container_name: plex
environment:
- VERSION="latest"
- PUID=1000
- PGID=1000
- TZ="Europe/London"
volumes:
- ./../config:/config
- ./../data:/data
network_mode: "host"

Container logs

jpax360:~ 
$ docker logs plex 
[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
───────────────────────────────────────

**** Server already claimed ****
Atempting to upgrade to: "latest"
failed: Connection timed out.
failed: Connection timed out.
https://downloads.plex.tv/plex-media-server-new/%22latest%22/debian/plexmediaserver_%22latest%22_amd64.deb:
2023-09-11 12:37:26 ERROR 404: Not Found.



########################################################
# Upgrade attempt failed, this could be because either #
# plex update site is down, local network issues, or   #
# you were trying to get a version that simply doesn't #
# exist, check over the VERSION variable thoroughly &  #
# correct it or try again later.                       #
########################################################


[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
@github-actions
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.

@Roxedus
Copy link
Member

Roxedus commented Sep 11, 2023

@jpahullo
Copy link
Author

Hi,

I have updated the docker-compose.yml as follows:

version: "3"

services:
    plex:
        image: linuxserver/plex
        container_name: plex
        environment:
            - VERSION=docker
            - PUID=1000
            - PGID=1000
            - TZ=Europe/London
        volumes:
            - ./../config:/config
            - ./../data:/data
        network_mode: host
        devices:
            - "/dev/dri:/dev/dri"

and now the output is this:

───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

**** Server already claimed ****
**** creating video group videoyog4 with id 135 ****
**** adding /dev/dri/renderD129 to video group videoyog4 with id 135 ****
**** permissions for /dev/dri/renderD128 are good ****
**** adding /dev/dri/card5 to video group video with id 44 ****
**** permissions for /dev/dri/card4 are good ****
**** permissions for /dev/dri/card3 are good ****
**** permissions for /dev/dri/card2 are good ****
**** permissions for /dev/dri/card1 are good ****
**** permissions for /dev/dri/card0 are good ****
Docker is used for versioning skip update check
[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

Putting the VERSION=docker as you suggest, it simply runs the version of the container and does not look for any new version. So the version checking against the plex.tv site is not performed.

However, there is a long waiting time between the lines User GID: 1000 and the first **** Server already claimed ****. It takes almost a minute or so.

Is it, maybe, due to the mounting directories are on NTFS filesystem mounted as fuseblk? Maybe due to this reason, every boot time goes to chown -R those directories, since the filesystem is not ext4 filesystem or similar. Is that possible? If so, any suggestion to prevent this action performed every time I start the plex service?

Thanks a lot for your work.

Jordi

@aptalca
Copy link
Member

aptalca commented Sep 16, 2023

#377

@LinuxServer-CI
Copy link
Contributor

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.

@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2023
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Dec 17, 2023
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

4 participants