mstinaff / PMS_Updater

Shell script for updating the Plex Media Server inside the FreeNAS Plex plugin
MIT License
442 stars 90 forks source link

Error downloading updates #68

Closed dazmatic closed 10 months ago

dazmatic commented 1 year ago

Using URL https://plex.tv/api/downloads/5.json Searching https://plex.tv/api/downloads/5.json for the FreeBSD download URL .....Done. Downloading https://downloads.plex.tv/plex-media-server-new/1.32.5.7349-8f4248874/freebsd/PlexMediaServer-1.32.5.7349-8f4248874-FreeBSD-amd64.tar.bz2 Error downloading https://downloads.plex.tv/plex-media-server-new/1.32.5.7349-8f4248874/freebsd/PlexMediaServer-1.32.5.7349-8f4248874-FreeBSD-amd64.tar.bz2 Command: /bin/sh /usr/local/PMS_Updater/PMS_Updater.sh -v -a failed! Executed CronTask - /usr/local/bin/iocage exec plex /bin/sh /usr/local/PMS_Updater/PMS_Updater.sh -v -a: Removing /tmp/PlexMediaServer-1.30.2.6563-3d4dc0cce-FreeBSD-amd64.tar.bz2 Using URL https://plex.tv/api/downloads/5.json Searching https://plex.tv/api/downloads/5.json for the FreeBSD download URL .....Done. Downloading https://downloads.plex.tv/plex-media-server-new/1.32.5.7349-8f4248874/freebsd/PlexMediaServer-1.32.5.7349-8f4248874-FreeBSD-amd64.tar.bz2 Error downloading https://downloads.plex.tv/plex-media-server-new/1.32.5.7349-8f4248874/freebsd/PlexMediaServer-1.32.5.7349-8f4248874-FreeBSD-amd64.tar.bz2 Command: /bin/sh /usr/local/PMS_Updater/PMS_Updater.sh -v -a failed!

Been getting this every time I try and run the script.

Running the update manually results in the same.

Downloading the file via fetch gives an error stating that the file appear truncated

lordviceroy commented 1 year ago

Try the steps in this gist: https://gist.github.com/butageek/eabee7329d41040fee566dfcabbeead9

Worked perfectly fine for me just now.

dazmatic commented 1 year ago

Tried exactly that - download still fails. Downloading via wget works fine.

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

dazmatic commented 8 months ago

Still failing