ERROR: Unable to retrieve the URL needed for download (Query DISTRO: synology, BUILD: )
bruvv opened this issue · 8 comments
Got an error on my synology server.
Configuration complete. Would you like to run plexupdate with these settings now? [Y/n] y
/volume2/schijf/scripts/plexupdate/plexupdate.sh: line 313: [: missing `]'
/volume2/schijf/scripts/plexupdate/plexupdate.sh: line 315: [: missing `]'
/volume2/schijf/scripts/plexupdate/plexupdate.sh: line 317: [: missing `]'
Retrieving list of available distributions
ERROR: Unable to retrieve the URL needed for download (Query DISTRO: synology, BUILD: )
And uname -m gives:
uname -m
x86_64
Download URL should be:
https://downloads.plex.tv/plex-media-server-new/1.15.3.876-ad6e39743/synology/PlexMediaServer-1.15.3.876-ad6e39743-x86_64.spk
Have you added the following to your plexupdate.conf
?
DISTRO='synology'
BUILD='linux-x86_64'
DISTRO_INSTALL='synopkg install'
What version of dsm are you running?
have you done this https://support.plex.tv/articles/205165858-how-to-add-plex-s-package-signing-public-key-to-synology-nas-package-center/ ?
@myellen I did that yes and version: 6.2.1-23824 Update 6
@deepfriedmind I used the install.sh from @myellen (and the updater it self) so I am assuming that should be in the config. The thing is tho, the file is not in the folder that my plexupdate.sh is located. Where is the config file saved?
ls: cannot access /volume2/schijf/scripts/plexupdate/plexupdate.conf: No such file or directory
When adding the file I get still the same error message.
/volume2/schijf/scripts/plexupdate/plexupdate.conf
DISTRO='synology'
BUILD='linux-x86_64'
DISTRO_INSTALL='synopkg install'
@d1slact0r the installer.sh from me still pulls from this repo and you wont get the patched files
run plex update with sudo
@myellen I did a git pull from your repo and than did:
./extra/installer.sh
Just made sure it was 100% correct, I did a WGET:
wget https://raw.githubusercontent.com/myellen/plexupdate/master/plexupdate.sh
still the same error
and I run it as sudo ofcourse ;)
The config file goes in /etc/
when the task is run as admin (i.e. scheduled).
The config file goes in
/etc/
when the task is run as admin (i.e. scheduled).
ah that did it when editting that file all works fine, perhaps add this to the future release to enable synology support :) ?