YuriyGuts / syno-plex-update

Automatically check for Plex Media Server updates on Synology NAS and install them. Compatible with DSM 6 and DSM 7.
BSD 3-Clause "New" or "Revised" License
46 stars 2 forks source link

DSM7 PLEX_PREFERENCES_FILE path is incorrect #1

Closed programatix closed 2 years ago

programatix commented 2 years ago

In DSM7, the path for PLEX_PREFERENCES_FILE is '/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server'

On package trust, how did you add the certificate? DSM7 Package Center has no "Certificate" tab as in DSM6.

programatix commented 2 years ago

Additionally the version comparison should use the ">" instead of "!=" as now, if older version is found on the server, the script assume that there is an update.

programatix commented 2 years ago

Resolved in https://github.com/YuriyGuts/syno-plex-update/commit/e844a00fe80fab6d49bceca3db578527a996b246

YuriyGuts commented 2 years ago

Thank you for the PR (https://github.com/YuriyGuts/syno-plex-update/pull/2) đź‘Ť

On package trust, how did you add the certificate? DSM7 Package Center has no "Certificate" tab as in DSM6.

Interesting— I think my DSM 7 had this setting somewhere after upgrading from DSM 6, but maybe it was removed later. I can't find it either.

According to https://www.reddit.com/r/synology/comments/os7xlx/add_third_party_cert_keys_to_dsm7/ it seems like importing the key is no longer necessary.

programatix commented 2 years ago

Will try the script on the next Plex update and report in.

programatix commented 2 years ago

I confirmed that in DSM 7, the installation works without the need of adding the package trust in DSM 6.

YuriyGuts commented 2 years ago

Thanks for the heads up!