Closed neogamaes closed 1 year ago
My guess is that the JSON lookup isn't finding a matching release and that the variable that should have been set with the download URL is null.
Please run the following script and post back the "SYNOLOGY NAS INFO" section:
https://github.com/michealespinola/syno.plexupdate/blob/master/Tools/syno.plexinfo.sh
This should give me what I need to verify against the JSON query to see if there is something missing or mismatched. Be sure to redact anything personally identifiable.
I should have noted that the "info" script is made for DSM 7, so it will likely throw errors about the Plex parts of the output. That's fine because I only need the top NAS-related info.
Thank you for your quick answer.
Running syno.plexinfo I get:
SYNO.PLEX INFO SCRIPT for DSM 7
Nodename: DiskStation
DSM ver: 6.2.4-25556 Update 6
Model: DS218j-j
Architecture: armv7l (armada38x) Kernel: Linux (3.10.105) Admin account: Disabled Internal IP: 192.168.1.23 External IP:
Europe/Amsterdam
Friendly Name: PMS ver: Transcoder: () Update Channel: Public Device-ID: Machine-ID: Online Token:
I am not sure this is really helpful. For information, this is the message I get from syno.plexupdate, maybe more helpful:
Tâche : Plex Auto Update Heure de début : Wed, 09 Nov 2022 16:39:26 GMT Heure d’arrêt : Wed, 09 Nov 2022 16:39:33 GMT État actuel : 1 (Interrompu) Sortie standard/erreur :
SYNO.PLEX UPDATE SCRIPT v3.0.2
Script: syno.plexupdate1.sh v3.0.2
Script Dir: /volume1/Backup/Script/autoplexupdate
Running Ver: 3.0.2
* No new version found.
Synology: DS218j-j (armv7l), DSM 6.2.4-25556 Update 6
Plex Dir: /volume1/Plex/Library/Application Support/Plex Media Server
Plex Token: xxxxxxxxxxx
Running Ver: 1.29.1.6276
Online Ver: 1.30.0.6359 (Beta Channel)
Released: 2022-10-31 23:22:39+01:00 (8+ days old)
* Newer version found!
New Package:
Package Age: 8+ days old (7+ required for install)
wget: missing URL Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
Update from: 1.29.1.6276 to: 1.30.0.6359 succeeded!
Thanks for your support
Le mer. 9 nov. 2022 à 16:17, Micheal Espinola @.***> a écrit :
I should have noted that the "info" script is made for DSM 7, so it will likely through errors about the Plex parts of the output. That's fine because I only need the top NAS-related info.
— Reply to this email directly, view it on GitHub https://github.com/michealespinola/syno.plexupdate/issues/34#issuecomment-1309004854, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKESTNC7SKWQ63KKBVXRWVLWHPFAXANCNFSM6AAAAAAR3SLLUQ . You are receiving this because you authored the thread.Message ID: @.***>
JSON query for ".nas."Synology".releases[]
" for non-DSM 7 shows that there is not an exact match for your "armv7l
" architecture:
{
"label": "Intel 32-bit (x10 Series, DS415play, and DS214play)",
"build": "linux-x86",
"distro": "synology",
"url": "https://downloads.plex.tv/plex-media-server-new/1.30.0.6359-1185e28d9/synology/PlexMediaServer-1.30.0.6359-1185e28d9-x86_DSM6.spk",
"checksum": "5c5ac7860f40aa985bad1aca2da5ff57083d1cd0"
}
{
"label": "Intel 64-bit (DSM 6.0 and newer)",
"build": "linux-x86_64",
"distro": "synology",
"url": "https://downloads.plex.tv/plex-media-server-new/1.30.0.6359-1185e28d9/synology/PlexMediaServer-1.30.0.6359-1185e28d9-x86_64_DSM6.spk",
"checksum": "405586624b58e6a0d2b9352fe6b98a2d31889313"
}
{
"label": "ARMv8 (x18 Series)",
"build": "linux-aarch64",
"distro": "synology",
"url": "https://downloads.plex.tv/plex-media-server-new/1.30.0.6359-1185e28d9/synology/PlexMediaServer-1.30.0.6359-1185e28d9-aarch64_DSM6.spk",
"checksum": "de934ff9315eb74939504a5748b076a9dbc7fa93"
}
{
"label": "ARMv7 (x13 Series, x14 Series (excluding DS414j), DS115j, RS815, and DS216se)",
"build": "linux-armv7hf",
"distro": "synology",
"url": "https://downloads.plex.tv/plex-media-server-new/1.30.0.6359-1185e28d9/synology/PlexMediaServer-1.30.0.6359-1185e28d9-armv7hf_DSM6.spk",
"checksum": "72c4a0b8a21d409d3ef1296ff77de42fc3831b1c"
}
{
"label": "ARMv7 (x15 Series (excluding DS115j and RS815), x16 Series (excluding DS216se), x17 Series, x18 Series, and DS414j)",
"build": "linux-armv7neon",
"distro": "synology",
"url": "https://downloads.plex.tv/plex-media-server-new/1.30.0.6359-1185e28d9/synology/PlexMediaServer-1.30.0.6359-1185e28d9-armv7neon_DSM6.spk",
"checksum": "157fe428265e9149b12177f85f0f31bc8fc67d0a"
}
Are either of the bottom "ARMv7
" listings applicable for your device? If so, I should be able to insert a substitution for your device. I'm guessing its the last entry that applies to the 'x18 Series'?
Yes you are correct. If I try to download the package manually via Plex it downloads this one: PlexMediaServer-1.30.0.6359-1185e28d9-armv7neon_DSM6.spk which is the last one in your list.
Le mer. 9 nov. 2022 à 17:59, Micheal Espinola @.***> a écrit :
JSON query for ".nas."Synology".releases[]" for non-DSM 7 shows that there is not an exact match for your "armv7l " architecture:
{ "label": "Intel 32-bit (x10 Series, DS415play, and DS214play)", "build": "linux-x86", "distro": "synology", "url": "https://downloads.plex.tv/plex-media-server-new/1.30.0.6359-1185e28d9/synology/PlexMediaServer-1.30.0.6359-1185e28d9-x86_DSM6.spk", "checksum": "5c5ac7860f40aa985bad1aca2da5ff57083d1cd0" } { "label": "Intel 64-bit (DSM 6.0 and newer)", "build": "linux-x86_64", "distro": "synology", "url": "https://downloads.plex.tv/plex-media-server-new/1.30.0.6359-1185e28d9/synology/PlexMediaServer-1.30.0.6359-1185e28d9-x86_64_DSM6.spk", "checksum": "405586624b58e6a0d2b9352fe6b98a2d31889313" } { "label": "ARMv8 (x18 Series)", "build": "linux-aarch64", "distro": "synology", "url": "https://downloads.plex.tv/plex-media-server-new/1.30.0.6359-1185e28d9/synology/PlexMediaServer-1.30.0.6359-1185e28d9-aarch64_DSM6.spk", "checksum": "de934ff9315eb74939504a5748b076a9dbc7fa93" } { "label": "ARMv7 (x13 Series, x14 Series (excluding DS414j), DS115j, RS815, and DS216se)", "build": "linux-armv7hf", "distro": "synology", "url": "https://downloads.plex.tv/plex-media-server-new/1.30.0.6359-1185e28d9/synology/PlexMediaServer-1.30.0.6359-1185e28d9-armv7hf_DSM6.spk", "checksum": "72c4a0b8a21d409d3ef1296ff77de42fc3831b1c" } { "label": "ARMv7 (x15 Series (excluding DS115j and RS815), x16 Series (excluding DS216se), x17 Series, x18 Series, and DS414j)", "build": "linux-armv7neon", "distro": "synology", "url": "https://downloads.plex.tv/plex-media-server-new/1.30.0.6359-1185e28d9/synology/PlexMediaServer-1.30.0.6359-1185e28d9-armv7neon_DSM6.spk", "checksum": "157fe428265e9149b12177f85f0f31bc8fc67d0a" }
Are either of the bottom "ARMv7" listings applicable for your device? If so, I should be able to insert a substitution for your device. I'm guessing its the last entry that applies to the 'x18 Series'?
— Reply to this email directly, view it on GitHub https://github.com/michealespinola/syno.plexupdate/issues/34#issuecomment-1309141002, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKESTNG5UNNVS3FRVPW2UUTWHPRALANCNFSM6AAAAAAR3SLLUQ . You are receiving this because you authored the thread.Message ID: @.***>
Great, thank you for confirming that! Give me a bit and I will write in a shim for your model architecture to use that build
Great thx. Let me know when available.
Le mer. 9 nov. 2022 à 18:52, Micheal Espinola @.***> a écrit :
Great, thank you for confirming that! Give me a bit and I will write in shim for your model architecture to use that build
— Reply to this email directly, view it on GitHub https://github.com/michealespinola/syno.plexupdate/issues/34#issuecomment-1309215611, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKESTNGJV5EJ6MLEOI2UGJ3WHPXIFANCNFSM6AAAAAAR3SLLUQ . You are receiving this because you authored the thread.Message ID: @.***>
Please try v3.1.0 for DSM 6:
https://github.com/michealespinola/syno.plexupdate/blob/master/Tools/syno.plexupdate-3.1.0-DSM6.sh
That works perfectly fine. Thx a lot.
Le mer. 9 nov. 2022 à 22:22, Micheal Espinola @.***> a écrit :
Please try v3.1.0 for DSM 6:
https://github.com/michealespinola/syno.plexupdate/blob/master/Tools/syno.plexupdate-3.1.0-DSM6.sh
— Reply to this email directly, view it on GitHub https://github.com/michealespinola/syno.plexupdate/issues/34#issuecomment-1309462185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKESTNCADE522ET24RWG42LWHQP2NANCNFSM6AAAAAAR3SLLUQ . You are receiving this because you authored the thread.Message ID: @.***>
Hi,
Thanks for your script. It seems perfect for me. However, I just tried to use the v3.0.2 on my DS218j with DSM6.2.4 but I get the error message when trying to download the new plex package:
wget: missing URL Usage: wget [OPTION]... [URL]...
Any idea ?
Thank you, Regards,