Hi,
scheduled task always runs, but it stops with an error with non-existing/invalid spk.
At least I get notices that there is new update, and download manually.
Thanks for this little timesaver idea.
I see you are from Ukraine: wishing succesful and early ending to the conflict!
Cheers, Lukas
Below is the log (shortened the part with download progress.):
Task Scheduler has completed a scheduled task.
Task: syno-plex-update YuriyGuts
Start time: Wed, 31 Aug 2022 03:03:03 GMT
Stop time: Wed, 31 Aug 2022 03:03:52 GMT
Current status: 1 (Interrupted)
Standard output/error:
<13>Aug 31 03:03:05 lukasfrancl: [syno-plex-update] PlexMediaServer auto-update started
<13>Aug 31 03:03:09 lukasfrancl: [syno-plex-update] Using update channel: Public
<13>Aug 31 03:03:11 lukasfrancl: [syno-plex-update] Downloading Plex release metadata from 'https://plex.tv/api/downloads/5.json?X-Plex-Token='
<13>Aug 31 03:03:12 lukasfrancl: [syno-plex-update] Installed version: 1.28.2.6106
<13>Aug 31 03:03:14 lukasfrancl: [syno-plex-update] Latest available version: 1.28.2.6151
<13>Aug 31 03:03:15 lukasfrancl: [syno-plex-update] Update available. Trying to download and install
<13>Aug 31 03:03:19 lukasfrancl: [syno-plex-update] Downloading latest version from https://downloads.plex.tv/plex-media-server-new/1.28.2.6151-914ddd2b3/synology-dsm7/PlexMediaServer-1.28.2.6151-914ddd2b3-aarch64_DSM7.spk
--2022-08-31 03:03:21-- https://downloads.plex.tv/plex-media-server-new/1.28.2.6151-914ddd2b3/synology-dsm7/PlexMediaServer-1.28.2.6151-914ddd2b3-aarch64_DSM7.spk
Resolving downloads.plex.tv... 172.64.153.236, 104.18.34.20, 2606:4700:4400::6812:2214, ...
Connecting to downloads.plex.tv|172.64.153.236|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 97525760 (93M) [binary/octet-stream]
Saving to: '/tmp/syno-plex-update/PlexMediaServer-1.28.2.6151-914ddd2b3-aarch64_DSM7.spk'
0K .......... .......... .......... .......... .......... 0% 5.12M 18s
95200K .......... .......... .......... .......... 100% 4.04M=27s
2022-08-31 03:03:49 (3.39 MB/s) - '/tmp/syno-plex-update/PlexMediaServer-1.28.2.6151-914ddd2b3-aarch64_DSM7.spk' saved [97525760/97525760]
<13>Aug 31 03:03:49 lukasfrancl: [syno-plex-update] Installing SPK package from /tmp/syno-plex-update/PlexMediaServer-1.28.2.6151-914ddd2b3-aarch64_DSM7.spk
{"error":{"code":263,"description":"failed to sort spks, the spk might not exist or invalid format"},"success":false}
<13>Aug 31 03:03:51 lukasfrancl: [syno-plex-update] PlexMediaServer auto-update failed with exit code 1
From xoxosyn
Hi,
scheduled task always runs, but it stops with an error with non-existing/invalid spk.
At least I get notices that there is new update, and download manually.
Thanks for this little timesaver idea.
I see you are from Ukraine: wishing succesful and early ending to the conflict!
Cheers, Lukas
Below is the log (shortened the part with download progress.):
Task Scheduler has completed a scheduled task.
Task: syno-plex-update YuriyGuts
Start time: Wed, 31 Aug 2022 03:03:03 GMT
Stop time: Wed, 31 Aug 2022 03:03:52 GMT
Current status: 1 (Interrupted)
Standard output/error:
<13>Aug 31 03:03:05 lukasfrancl: [syno-plex-update] PlexMediaServer auto-update started
<13>Aug 31 03:03:09 lukasfrancl: [syno-plex-update] Using update channel: Public
<13>Aug 31 03:03:11 lukasfrancl: [syno-plex-update] Downloading Plex release metadata from 'https://plex.tv/api/downloads/5.json?X-Plex-Token='
<13>Aug 31 03:03:12 lukasfrancl: [syno-plex-update] Installed version: 1.28.2.6106
<13>Aug 31 03:03:14 lukasfrancl: [syno-plex-update] Latest available version: 1.28.2.6151
<13>Aug 31 03:03:15 lukasfrancl: [syno-plex-update] Update available. Trying to download and install
<13>Aug 31 03:03:19 lukasfrancl: [syno-plex-update] Downloading latest version from https://downloads.plex.tv/plex-media-server-new/1.28.2.6151-914ddd2b3/synology-dsm7/PlexMediaServer-1.28.2.6151-914ddd2b3-aarch64_DSM7.spk
--2022-08-31 03:03:21-- https://downloads.plex.tv/plex-media-server-new/1.28.2.6151-914ddd2b3/synology-dsm7/PlexMediaServer-1.28.2.6151-914ddd2b3-aarch64_DSM7.spk
Resolving downloads.plex.tv... 172.64.153.236, 104.18.34.20, 2606:4700:4400::6812:2214, ...
Connecting to downloads.plex.tv|172.64.153.236|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 97525760 (93M) [binary/octet-stream]
Saving to: '/tmp/syno-plex-update/PlexMediaServer-1.28.2.6151-914ddd2b3-aarch64_DSM7.spk'
0K .......... .......... .......... .......... .......... 0% 5.12M 18s
95200K .......... .......... .......... .......... 100% 4.04M=27s
2022-08-31 03:03:49 (3.39 MB/s) - '/tmp/syno-plex-update/PlexMediaServer-1.28.2.6151-914ddd2b3-aarch64_DSM7.spk' saved [97525760/97525760]
<13>Aug 31 03:03:49 lukasfrancl: [syno-plex-update] Installing SPK package from /tmp/syno-plex-update/PlexMediaServer-1.28.2.6151-914ddd2b3-aarch64_DSM7.spk
{"error":{"code":263,"description":"failed to sort spks, the spk might not exist or invalid format"},"success":false}
<13>Aug 31 03:03:51 lukasfrancl: [syno-plex-update] PlexMediaServer auto-update failed with exit code 1
From xoxosyn