Comments (23)
The latest master branch (and upcoming release) should address these issues. If they don't, please open another issue. Thanks!
from synology-update-plex.
@bolshukhin : based on the location of the failure, my guess is that the script is failing while it's invoking synopkg version 'Plex Media Server'
, which would point to either:
A. An issue with using that logic on DSM7 OR
B. An issue with your current plex installation (as in, it's not really installed or installed using an "unusual" process)
My next guess would be that, since you are here, your plex installation is "fine" (Not "B"), so I would have to stick with "Something is broken with the script when used with DSM7"...
If you have a chance, would you be able to try my fork (here), which uses a slightly different method for getting the currently installed version (which I hope is compatible with DSM7 but don't currently have a way of testing... you can see the changes by hitting the "compare" button on my fork's page)
from synology-update-plex.
@bolshukhin : based on the location of the failure, my guess is that the script is failing while it's invoking
synopkg version 'Plex Media Server'
, which would point to either:
A. An issue with using that logic on DSM7 OR
B. An issue with your current plex installation (as in, it's not really installed or installed using an "unusual" process)
My next guess would be that, since you are here, your plex installation is "fine" (Not "B"), so I would have to stick with "Something is broken with the script when used with DSM7"...If you have a chance, would you be able to try my fork (here), which uses a slightly different method for getting the currently installed version (which I hope is compatible with DSM7 but don't currently have a way of testing... you can see the changes by hitting the "compare" button on my fork's page)
Checking for a Plex Media Server update...
[ Retrieving version data ]
Available version: 1.22.3.4392-d7c624def
update-plex.sh: line 155: /var/packages/Plex Media Server/target/Plex Media Server: No such file or directory
Done, with errors!
from synology-update-plex.
@bolshukhin : based on the location of the failure, my guess is that the script is failing while it's invoking
synopkg version 'Plex Media Server'
, which would point to either:
A. An issue with using that logic on DSM7 OR
B. An issue with your current plex installation (as in, it's not really installed or installed using an "unusual" process)
My next guess would be that, since you are here, your plex installation is "fine" (Not "B"), so I would have to stick with "Something is broken with the script when used with DSM7"...
If you have a chance, would you be able to try my fork (here), which uses a slightly different method for getting the currently installed version (which I hope is compatible with DSM7 but don't currently have a way of testing... you can see the changes by hitting the "compare" button on my fork's page)Checking for a Plex Media Server update...
[ Retrieving version data ]
Available version: 1.22.3.4392-d7c624def
update-plex.sh: line 155: /var/packages/Plex Media Server/target/Plex Media Server: No such file or directoryDone, with errors!
@bolshukhin : Well that's interesting... Lets start with the simple/basic confirmation... Can you please confirm that "Plex Media Server" is actually properly installed on your NAS? As in if you go to DSM -> Package Center can you find it listed there and able to run? If not you might have to install it (even if it's an old one)
from synology-update-plex.
@bolshukhin : based on the location of the failure, my guess is that the script is failing while it's invoking
synopkg version 'Plex Media Server'
, which would point to either:
A. An issue with using that logic on DSM7 OR
B. An issue with your current plex installation (as in, it's not really installed or installed using an "unusual" process)
My next guess would be that, since you are here, your plex installation is "fine" (Not "B"), so I would have to stick with "Something is broken with the script when used with DSM7"...
If you have a chance, would you be able to try my fork (here), which uses a slightly different method for getting the currently installed version (which I hope is compatible with DSM7 but don't currently have a way of testing... you can see the changes by hitting the "compare" button on my fork's page)Checking for a Plex Media Server update...
[ Retrieving version data ]
Available version: 1.22.3.4392-d7c624def
update-plex.sh: line 155: /var/packages/Plex Media Server/target/Plex Media Server: No such file or directory
Done, with errors!@bolshukhin : Well that's interesting... Lets start with the simple/basic confirmation... Can you please confirm that "Plex Media Server" is actually properly installed on your NAS? As in if you go to DSM -> Package Center can you find it listed there and able to run? If not you might have to install it (even if it's an old one)
Checking for a Plex Media Server update...
[ Enabling Plex Pass releases ]
Found Plex Token
[ Retrieving version data ]
Available version: 1.23.0.4497-a1b1f3c10
Installed version: 1.22.3.4392-d7c624def
New version available!
[ Finding release ]
{
"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.23.0.4497-a1b1f3c10/synology/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM6.spk",
"checksum": "89559efdde897b38ba1b5e4ffb6de50df6d5bbe9"
}
[ Downloading release package ]
2021-05-07 15:22:15 URL:https://downloads.plex.tv/plex-media-server-new/1.23.0.4497-a1b1f3c10/synology/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM6.spk [110131200/110131200] -> "/tmp/plex.EABKtc/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM6.spk" [1]
[ Verifying checksum ]
Checksum valid!
[ Installing package ]
{"error":{"code":0},"results":[{"action":"install","beta":false,"betaIncoming":false,"error":{"code":319,"description":"invalid package privilege content"},"installReboot":false,"installing":true,"language":"enu","last_stage":"prepare_install","package":"Plex Media Server","packageName":"Plex Media Server","spk":"/tmp/plex.EABKtc/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM6.spk","stage":"install_failed","success":false,"username":""}],"success":false}
[ Cleaning up ]
Removing /tmp/plex.EABKtc
Done, with errors!
from synology-update-plex.
@bolshukhin : based on the location of the failure, my guess is that the script is failing while it's invoking
synopkg version 'Plex Media Server'
, which would point to either:
A. An issue with using that logic on DSM7 OR
B. An issue with your current plex installation (as in, it's not really installed or installed using an "unusual" process)
My next guess would be that, since you are here, your plex installation is "fine" (Not "B"), so I would have to stick with "Something is broken with the script when used with DSM7"...
If you have a chance, would you be able to try my fork (here), which uses a slightly different method for getting the currently installed version (which I hope is compatible with DSM7 but don't currently have a way of testing... you can see the changes by hitting the "compare" button on my fork's page)Checking for a Plex Media Server update...
[ Retrieving version data ]
Available version: 1.22.3.4392-d7c624def
update-plex.sh: line 155: /var/packages/Plex Media Server/target/Plex Media Server: No such file or directory
Done, with errors!@bolshukhin : Well that's interesting... Lets start with the simple/basic confirmation... Can you please confirm that "Plex Media Server" is actually properly installed on your NAS? As in if you go to DSM -> Package Center can you find it listed there and able to run? If not you might have to install it (even if it's an old one)
from synology-update-plex.
@bolshukhin : based on the location of the failure, my guess is that the script is failing while it's invoking
synopkg version 'Plex Media Server'
, which would point to either:
A. An issue with using that logic on DSM7 OR
B. An issue with your current plex installation (as in, it's not really installed or installed using an "unusual" process)
My next guess would be that, since you are here, your plex installation is "fine" (Not "B"), so I would have to stick with "Something is broken with the script when used with DSM7"...
If you have a chance, would you be able to try my fork (here), which uses a slightly different method for getting the currently installed version (which I hope is compatible with DSM7 but don't currently have a way of testing... you can see the changes by hitting the "compare" button on my fork's page)Checking for a Plex Media Server update...
[ Retrieving version data ]
Available version: 1.22.3.4392-d7c624def
update-plex.sh: line 155: /var/packages/Plex Media Server/target/Plex Media Server: No such file or directory
Done, with errors!@bolshukhin : Well that's interesting... Lets start with the simple/basic confirmation... Can you please confirm that "Plex Media Server" is actually properly installed on your NAS? As in if you go to DSM -> Package Center can you find it listed there and able to run? If not you might have to install it (even if it's an old one)
im edited installed_version=$(/var/packages/PlexMediaServer/target/Plex\ Media\ Server --version)
then I have this:
ask Scheduler has completed a scheduled task.
Task: PlexUpdate
Start time: Fri, 07 May 2021 15:29:18 GMT
Stop time: Fri, 07 May 2021 15:29:19 GMT
Current status: 0 (Normal)
Standard output/error:
Checking for a Plex Media Server update...
[ Retrieving version data ]
Available version: 1.22.3.4392-d7c624def
Installed version: 1.22.3.4392-d7c624def
Plex is up-to-date.
Done!
but, with the key --plex-pass
Task: PlexUpdate
Start time: Fri, 07 May 2021 15:31:40 GMT
Stop time: Fri, 07 May 2021 15:31:51 GMT
Current status: 1 (Interrupted)
Standard output/error:
Checking for a Plex Media Server update...
[ Enabling Plex Pass releases ]
Found Plex Token
[ Retrieving version data ]
Available version: 1.23.0.4497-a1b1f3c10
Installed version: 1.22.3.4392-d7c624def
New version available!
[ Finding release ]
{
"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.23.0.4497-a1b1f3c10/synology/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM6.spk",
"checksum": "89559efdde897b38ba1b5e4ffb6de50df6d5bbe9"
}
[ Downloading release package ]
2021-05-07 15:31:46 URL:https://downloads.plex.tv/plex-media-server-new/1.23.0.4497-a1b1f3c10/synology/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM6.spk [110131200/110131200] -> "/tmp/plex.Z5CGLr/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM6.spk" [1]
[ Verifying checksum ]
Checksum valid!
[ Installing package ]
{"error":{"code":0},"results":[{"action":"install","beta":false,"betaIncoming":false,"error":{"code":319,"description":"invalid package privilege content"},"installReboot":false,"installing":true,"language":"enu","last_stage":"prepare_install","package":"Plex Media Server","packageName":"Plex Media Server","spk":"/tmp/plex.Z5CGLr/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM6.spk","stage":"install_failed","success":false,"username":""}],"success":false}
[ Cleaning up ]
Removing /tmp/plex.Z5CGLr
Done, with errors!
from synology-update-plex.
@bolshukhin : based on the location of the failure, my guess is that the script is failing while it's invoking
synopkg version 'Plex Media Server'
, which would point to either:
A. An issue with using that logic on DSM7 OR
B. An issue with your current plex installation (as in, it's not really installed or installed using an "unusual" process)
My next guess would be that, since you are here, your plex installation is "fine" (Not "B"), so I would have to stick with "Something is broken with the script when used with DSM7"...
If you have a chance, would you be able to try my fork (here), which uses a slightly different method for getting the currently installed version (which I hope is compatible with DSM7 but don't currently have a way of testing... you can see the changes by hitting the "compare" button on my fork's page)Checking for a Plex Media Server update...
[ Retrieving version data ]
Available version: 1.22.3.4392-d7c624def
update-plex.sh: line 155: /var/packages/Plex Media Server/target/Plex Media Server: No such file or directory
Done, with errors!@bolshukhin : Well that's interesting... Lets start with the simple/basic confirmation... Can you please confirm that "Plex Media Server" is actually properly installed on your NAS? As in if you go to DSM -> Package Center can you find it listed there and able to run? If not you might have to install it (even if it's an old one)
DSM7.
this is new version for me
https://downloads.plex.tv/plex-media-server-new/1.23.0.4497-a1b1f3c10/synology-dsm7/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_**DSM7**.spk
but script use it
https://downloads.plex.tv/plex-media-server-new/1.23.0.4497-a1b1f3c10/synology/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_**DSM6**.spk
[ Finding release ]
{
"label": "Intel 64-bit (DSM 6.0 and newer)",
"build": "linux-x86_64",
"distro": "synology",
where I can change "synology" to "synology (DSM 7)"?
from synology-update-plex.
@bolshukhin : based on the location of the failure, my guess is that the script is failing while it's invoking
synopkg version 'Plex Media Server'
, which would point to either:
A. An issue with using that logic on DSM7 OR
B. An issue with your current plex installation (as in, it's not really installed or installed using an "unusual" process)
My next guess would be that, since you are here, your plex installation is "fine" (Not "B"), so I would have to stick with "Something is broken with the script when used with DSM7"...
If you have a chance, would you be able to try my fork (here), which uses a slightly different method for getting the currently installed version (which I hope is compatible with DSM7 but don't currently have a way of testing... you can see the changes by hitting the "compare" button on my fork's page)Checking for a Plex Media Server update...
[ Retrieving version data ]
Available version: 1.22.3.4392-d7c624def
update-plex.sh: line 155: /var/packages/Plex Media Server/target/Plex Media Server: No such file or directory
Done, with errors!@bolshukhin : Well that's interesting... Lets start with the simple/basic confirmation... Can you please confirm that "Plex Media Server" is actually properly installed on your NAS? As in if you go to DSM -> Package Center can you find it listed there and able to run? If not you might have to install it (even if it's an old one)
DSM7.
this is new version for me
https://downloads.plex.tv/plex-media-server-new/1.23.0.4497-a1b1f3c10/synology-dsm7/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_**DSM7**.spkbut script use it
https://downloads.plex.tv/plex-media-server-new/1.23.0.4497-a1b1f3c10/synology/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_**DSM6**.spk[ Finding release ]
{
"label": "Intel 64-bit (DSM 6.0 and newer)",
"build": "linux-x86_64",
"distro": "synology",where I can change "synology" to "synology (DSM 7)"?
![]()
All great information @bolshukhin! Thank you! I'll study this some more today and hopefully put a DSM7 support PR up later today. Maybe you can test it out for me?
from synology-update-plex.
@bolshukhin : based on the location of the failure, my guess is that the script is failing while it's invoking
synopkg version 'Plex Media Server'
, which would point to either:A. An issue with using that logic on DSM7 OR
B. An issue with your current plex installation (as in, it's not really installed or installed using an "unusual" process)
My next guess would be that, since you are here, your plex installation is "fine" (Not "B"), so I would have to stick with "Something is broken with the script when used with DSM7"...
If you have a chance, would you be able to try my fork (here), which uses a slightly different method for getting the currently installed version (which I hope is compatible with DSM7 but don't currently have a way of testing... you can see the changes by hitting the "compare" button on my fork's page)
Checking for a Plex Media Server update...
[ Retrieving version data ]
Available version: 1.22.3.4392-d7c624def
update-plex.sh: line 155: /var/packages/Plex Media Server/target/Plex Media Server: No such file or directory
Done, with errors!
@bolshukhin : Well that's interesting... Lets start with the simple/basic confirmation... Can you please confirm that "Plex Media Server" is actually properly installed on your NAS? As in if you go to DSM -> Package Center can you find it listed there and able to run? If not you might have to install it (even if it's an old one)
DSM7.
this is new version for me
but script use it
[ Finding release ]
{
"label": "Intel 64-bit (DSM 6.0 and newer)",
"build": "linux-x86_64",
"distro": "synology",
where I can change "synology" to "synology (DSM 7)"?
![]()
All great information @bolshukhin! Thank you! I'll study this some more today and hopefully put a DSM7 support PR up later today. Maybe you can test it out for me?
Yes, sure. I'm waiting
from synology-update-plex.
Yes, sure. I'm waiting
@bolshukhin I was able to create a new version that I hope adds support for DSM7 (I don't have DSM7 to test, but I came up with a couple of guesses based on your inputs, it still works well with my DSM6)... I have it on my DSM7 branch here: https://github.com/oscaritoro/synology-update-plex/blob/DSM7/update-plex.sh
If you can test it and it works for you then I can do a pull request for it.
from synology-update-plex.
Yes, sure. I'm waiting
@bolshukhin I was able to create a new version that I hope adds support for DSM7 (I don't have DSM7 to test, but I came up with a couple of guesses based on your inputs, it still works well with my DSM6)... I have it on my DSM7 branch here: https://github.com/oscaritoro/synology-update-plex/blob/DSM7/update-plex.sh
If you can test it and it works for you then I can do a pull request for it.
update-plex.sh --plex-pass
Checking for a Plex Media Server update...
[ Enabling Plex Pass releases ]
Found Plex Token
[ Retrieving version data ]
DSM Major Version found: 7
Looking for Available Version (DSM 7)
Available version: 1.23.0.4497-a1b1f3c10
Looking for Installed Version (DSM 7)
Installed version: 1.22.3.4392-d7c624def
New version available!
[ Finding release ]
Getting Release information (DSM 7)
{
"label": "Intel 64-bit",
"build": "linux-x86_64",
"distro": "synology-dsm7",
"url": "https://downloads.plex.tv/plex-media-server-new/1.23.0.4497-a1b1f3c10/synology-dsm7/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM7.spk",
"checksum": "e9f1144422c3ea544c7be97d00fecdf320b63e8d"
}
[ Downloading release package ]
2021-05-08 09:01:30 URL:https://downloads.plex.tv/plex-media-server-new/1.23.0.4497-a1b1f3c10/synology-dsm7/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM7.spk [110417920/110417920] -> "/tmp/plex.MraHtU/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM7.spk" [1]
[ Verifying checksum ]
Checksum valid!
[ Installing package ]
{"error":{"code":0},"results":[{"action":"upgrade","beta":true,"betaIncoming":true,"error":{"code":0},"finished":true,"installReboot":false,"installing":true,"language":"enu","last_stage":"started","package":"PlexMediaServer","packageName":"Plex Media Server","pid":28897,"scripts":[{"code":0,"message":"","type":"stop"},{"code":0,"message":"","type":"preupgrade"},{"code":0,"message":"","type":"preuninst"},{"code":0,"message":"","type":"postuninst"},{"code":0,"message":"","type":"preinst"},{"code":0,"message":"
Note: If Plex cannot access your media, verify user PlexMediaServer is granted permission in Control Panel.
\nSet access to your media share(s) by performing the following steps:
\n1. Open Control Panel and select Shared Folder
\n2. Select the share which contains your media and click Edit
\n3. Click the Permissions tab
\n4. Change the dropdown from Local Users to System internal user
\n5. Check the Read/Write checkbox for the PlexMediaServer user
\n6. Click Save to confirm the new permissions
\n7. Repeat steps 2-6 for each share you want Plex Media Server to access
\n","type":"postinst"},{"code":0,"message":"","type":"postupgrade"},{"code":0,"message":"","type":"start"}],"spk":"/tmp/plex.MraHtU/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM7.spk","stage":"installed_and_started","status":"running","success":true,"username":""}],"success":true}
[ Restarting Plex Media Server ]
{"action":"prepare","error":{"code":150,"description":"Failed to load package info"},"stage":"prepare","success":false}
[ Cleaning up ]
Removing /tmp/plex.MraHtU
Done, with errors!
from synology-update-plex.
Yes, sure. I'm waiting
@bolshukhin I was able to create a new version that I hope adds support for DSM7 (I don't have DSM7 to test, but I came up with a couple of guesses based on your inputs, it still works well with my DSM6)... I have it on my DSM7 branch here: https://github.com/oscaritoro/synology-update-plex/blob/DSM7/update-plex.sh
If you can test it and it works for you then I can do a pull request for it.
but, if I start sh again
update-plex.sh --plex-pass
Checking for a Plex Media Server update...
[ Enabling Plex Pass releases ]
Found Plex Token
[ Retrieving version data ]
DSM Major Version found: 7
Looking for Available Version (DSM 7)
Available version: 1.23.0.4497-a1b1f3c10
Looking for Installed Version (DSM 7)
Installed version: 1.23.0.4497-a1b1f3c10
Plex is up-to-date.
Done!
from synology-update-plex.
Yes, sure. I'm waiting
@bolshukhin I was able to create a new version that I hope adds support for DSM7 (I don't have DSM7 to test, but I came up with a couple of guesses based on your inputs, it still works well with my DSM6)... I have it on my DSM7 branch here: https://github.com/oscaritoro/synology-update-plex/blob/DSM7/update-plex.sh
If you can test it and it works for you then I can do a pull request for it.
I'd like to add Telegram noty
can you add it after restarting Plex?
for example
function telegram_noty() {
set_telegram noty
echo
if version_lte "$available_version" "$installed_version"; then
if [[ "$installed_version" != "$available_version" ]]; then
curl -X GET -k "https://api.telegram.org/bot1479864:AAHN8OSM_83e01RvCEIU/sendMessage?chat_id=-414040&text=Plex is up to date" then
echo 'Telegram noty sent'
fi
fi
}
Tnx
from synology-update-plex.
Re: "Telegram noty"
Sorry @bolshukhin, don't think I can personally do the Telegram one... several reasons:
1- I don't use telegram and I'm not familiar with its Terms of Service or APIs.
2- I don't really have enough spare time right now to do the required research, create a test environment, and then attempt to implement, test and push an enhancement like this.
3- It's still @cowboy 's project, he should really have a say on if adding Telegram notifications would be proper for his project.
From the looks of it though it looks like you are well on your way to implementing it. Just be careful, like I said above, I don't know the telegram application , APIs or Terms of Service... but you might not want to be posting a telegram bot id (guess) or chat id in a public forum like this.
Also, probably best to put a request like this in a separate issue request.
from synology-update-plex.
Yes, sure. I'm waiting
@bolshukhin I was able to create a new version that I hope adds support for DSM7 (I don't have DSM7 to test, but I came up with a couple of guesses based on your inputs, it still works well with my DSM6)... I have it on my DSM7 branch here: https://github.com/oscaritoro/synology-update-plex/blob/DSM7/update-plex.sh
If you can test it and it works for you then I can do a pull request for it.update-plex.sh --plex-pass
Checking for a Plex Media Server update...[ Enabling Plex Pass releases ]
Found Plex Token[ Retrieving version data ]
DSM Major Version found: 7
Looking for Available Version (DSM 7)
Available version: 1.23.0.4497-a1b1f3c10
Looking for Installed Version (DSM 7)
Installed version: 1.22.3.4392-d7c624defNew version available!
[ Finding release ]
Getting Release information (DSM 7)
{
"label": "Intel 64-bit",
"build": "linux-x86_64",
"distro": "synology-dsm7",
"url": "https://downloads.plex.tv/plex-media-server-new/1.23.0.4497-a1b1f3c10/synology-dsm7/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM7.spk",
"checksum": "e9f1144422c3ea544c7be97d00fecdf320b63e8d"
}[ Downloading release package ]
2021-05-08 09:01:30 URL:https://downloads.plex.tv/plex-media-server-new/1.23.0.4497-a1b1f3c10/synology-dsm7/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM7.spk [110417920/110417920] -> "/tmp/plex.MraHtU/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM7.spk" [1][ Verifying checksum ]
Checksum valid![ Installing package ]
{"error":{"code":0},"results":[{"action":"upgrade","beta":true,"betaIncoming":true,"error":{"code":0},"finished":true,"installReboot":false,"installing":true,"language":"enu","last_stage":"started","package":"PlexMediaServer","packageName":"Plex Media Server","pid":28897,"scripts":[{"code":0,"message":"","type":"stop"},{"code":0,"message":"","type":"preupgrade"},{"code":0,"message":"","type":"preuninst"},{"code":0,"message":"","type":"postuninst"},{"code":0,"message":"","type":"preinst"},{"code":0,"message":"Note: If Plex cannot access your media, verify user PlexMediaServer is granted permission in Control Panel.
\nSet access to your media share(s) by performing the following steps:
\n1. Open Control Panel and select Shared Folder
\n2. Select the share which contains your media and click Edit
\n3. Click the Permissions tab
\n4. Change the dropdown from Local Users to System internal user
\n5. Check the Read/Write checkbox for the PlexMediaServer user
\n6. Click Save to confirm the new permissions
\n7. Repeat steps 2-6 for each share you want Plex Media Server to access
\n","type":"postinst"},{"code":0,"message":"","type":"postupgrade"},{"code":0,"message":"","type":"start"}],"spk":"/tmp/plex.MraHtU/PlexMediaServer-1.23.0.4497-a1b1f3c10-x86_64_DSM7.spk","stage":"installed_and_started","status":"running","success":true,"username":""}],"success":true}
[ Restarting Plex Media Server ]
{"action":"prepare","error":{"code":150,"description":"Failed to load package info"},"stage":"prepare","success":false}[ Cleaning up ]
Removing /tmp/plex.MraHtUDone, with errors!
@bolshukhin that's very promising! Thank you for testing and the log information! The only thing that appears not to have worked correctly would be the restart of the package... which is basically a one line function calling synopkg start:
function restart_plex() {
header 'Restarting Plex Media Server'
synopkg start 'Plex Media Server'
}
My best guess here based on what you've posted above and what I can see from manually downloading the package and reviewing the scripts is that Plex has renamed the package for DSM 7 to not include the blank spaces... Unfortunately I don't have DSM7 to prove this with... Could you please perform the following test for me?:
1- Log in to your Synology with SSH , become root (sudo -i
)
2- run synopkg status 'Plex Media Server'
and note output
3- run synopkg status 'PlexMediaServer'
and note output
Thank you!
from synology-update-plex.
@bolshukhin that's very promising! Thank you for testing and the log information! The only thing that appears not to have worked correctly would be the restart of the package... which is basically a one line function calling synopkg start:
function restart_plex() { header 'Restarting Plex Media Server' synopkg start 'Plex Media Server' }
My best guess here based on what you've posted above and what I can see from manually downloading the package and reviewing the scripts is that Plex has renamed the package for DSM 7 to not include the blank spaces... Unfortunately I don't have DSM7 to prove this with... Could you please perform the following test for me?:
1- Log in to your Synology with SSH , become root (sudo -i
)
2- runsynopkg status 'Plex Media Server'
and note output
3- runsynopkg status 'PlexMediaServer'
and note outputThank you!
@bolshukhin / @cowboy : After thinking about it for a little longer I decided to just "bite the bullet" and setup a virtual DSM 7 instance I can test on. I confirmed the package name change (from 'Plex Media Server' to 'PlexMediaServer') in DSM7 versions and pushed an update for DSM7 support to my DSM7 branch (https://github.com/oscaritoro/synology-update-plex/tree/DSM7)
I think it's ready for review/PR if @cowboy gets time.
from synology-update-plex.
@bolshukhin that's very promising! Thank you for testing and the log information! The only thing that appears not to have worked correctly would be the restart of the package... which is basically a one line function calling synopkg start:
function restart_plex() { header 'Restarting Plex Media Server' synopkg start 'Plex Media Server' }
My best guess here based on what you've posted above and what I can see from manually downloading the package and reviewing the scripts is that Plex has renamed the package for DSM 7 to not include the blank spaces... Unfortunately I don't have DSM7 to prove this with... Could you please perform the following test for me?:
1- Log in to your Synology with SSH , become root (sudo -i
)
2- runsynopkg status 'Plex Media Server'
and note output
3- runsynopkg status 'PlexMediaServer'
and note output
Thank you!@bolshukhin / @cowboy : After thinking about it for a little longer I decided to just "bite the bullet" and setup a virtual DSM 7 instance I can test on. I confirmed the package name change (from 'Plex Media Server' to 'PlexMediaServer') in DSM7 versions and pushed an update for DSM7 support to my DSM7 branch (https://github.com/oscaritoro/synology-update-plex/tree/DSM7)
I think it's ready for review/PR if @cowboy gets time.
:$ synopkg status 'Plex Media Server'$ synopkg status 'PlexMediaServer'
No such package Plex Media Server
Status: [255]
:
PlexMediaServer package is stopped
Status: [263]
:~$ synopkg start 'PlexMediaServer'
{"action":"prepare","error":{"code":275,"description":"failed to lock packages"},"stage":"prepare","success":false}
from synology-update-plex.
@bolshukhin that's very promising! Thank you for testing and the log information! The only thing that appears not to have worked correctly would be the restart of the package... which is basically a one line function calling synopkg start:
function restart_plex() {
header 'Restarting Plex Media Server'
synopkg start 'Plex Media Server'
}
My best guess here based on what you've posted above and what I can see from manually downloading the package and reviewing the scripts is that Plex has renamed the package for DSM 7 to not include the blank spaces... Unfortunately I don't have DSM7 to prove this with... Could you please perform the following test for me?:
1- Log in to your Synology with SSH , become root (
sudo -i
)2- run
synopkg status 'Plex Media Server'
and note output3- run
synopkg status 'PlexMediaServer'
and note outputThank you!
@bolshukhin / @cowboy : After thinking about it for a little longer I decided to just "bite the bullet" and setup a virtual DSM 7 instance I can test on. I confirmed the package name change (from 'Plex Media Server' to 'PlexMediaServer') in DSM7 versions and pushed an update for DSM7 support to my DSM7 branch (https://github.com/oscaritoro/synology-update-plex/tree/DSM7)
I think it's ready for review/PR if @cowboy gets time.
Something needs to be added:
When I run `synopkg status 'PlexMediaServer' I'm receive Plex is stoped, but pkg is run
from synology-update-plex.
@bolshukhin that's very promising! Thank you for testing and the log information! The only thing that appears not to have worked correctly would be the restart of the package... which is basically a one line function calling synopkg start:
function restart_plex() {
header 'Restarting Plex Media Server'
synopkg start 'Plex Media Server'
}
My best guess here based on what you've posted above and what I can see from manually downloading the package and reviewing the scripts is that Plex has renamed the package for DSM 7 to not include the blank spaces... Unfortunately I don't have DSM7 to prove this with... Could you please perform the following test for me?:
1- Log in to your Synology with SSH , become root (
sudo -i
)2- run
synopkg status 'Plex Media Server'
and note output3- run
synopkg status 'PlexMediaServer'
and note outputThank you!
@bolshukhin / @cowboy : After thinking about it for a little longer I decided to just "bite the bullet" and setup a virtual DSM 7 instance I can test on. I confirmed the package name change (from 'Plex Media Server' to 'PlexMediaServer') in DSM7 versions and pushed an update for DSM7 support to my DSM7 branch (https://github.com/oscaritoro/synology-update-plex/tree/DSM7)
I think it's ready for review/PR if @cowboy gets time.Something needs to be added:
When I run `synopkg status 'PlexMediaServer' I'm receive Plex is stopped, but pkg is run
Just in case... did you make sure to run as root? if you don't run as root it will show as stopped even if it's running. At least when I test on the virtual DSM7 I installed it works correctly when run as root but not when run as normal user.
from synology-update-plex.
@bolshukhin that's very promising! Thank you for testing and the log information! The only thing that appears not to have worked correctly would be the restart of the package... which is basically a one line function calling synopkg start:
function restart_plex() {
header 'Restarting Plex Media Server'
synopkg start 'Plex Media Server'
}
My best guess here based on what you've posted above and what I can see from manually downloading the package and reviewing the scripts is that Plex has renamed the package for DSM 7 to not include the blank spaces... Unfortunately I don't have DSM7 to prove this with... Could you please perform the following test for me?:
1- Log in to your Synology with SSH , become root (
sudo -i
)2- run
synopkg status 'Plex Media Server'
and note output3- run
synopkg status 'PlexMediaServer'
and note outputThank you!
@bolshukhin / @cowboy : After thinking about it for a little longer I decided to just "bite the bullet" and setup a virtual DSM 7 instance I can test on. I confirmed the package name change (from 'Plex Media Server' to 'PlexMediaServer') in DSM7 versions and pushed an update for DSM7 support to my DSM7 branch (https://github.com/oscaritoro/synology-update-plex/tree/DSM7)
I think it's ready for review/PR if @cowboy gets time.Something needs to be added:
When I run `synopkg status 'PlexMediaServer' I'm receive Plex is stopped, but pkg is runJust in case... did you make sure to run as root? if you don't run as root it will show as stopped even if it's running. At least when I test on the virtual DSM7 I installed it works correctly when run as root but not when run as normal user.
Hi,
new issue. Do you have any ideas?
sudo /volume1/Plex/Update/synology-update-plex-master/update-plex.sh --plex-pass
Password:
Checking for a Plex Media Server update...
[ Initializing notification system ]
Notifications installed
[ Enabling Plex Pass releases ]
Found Plex Token
[ Retrieving version data ]
DSM Major Version found: 7
Looking for Available Version (DSM 7)
Available version: 1.23.3.4707-ebb5fe9f3
Looking for Installed Version (DSM 7)
Installed version: 1.23.3.4706-f48049cad
New version available!
[ Finding release ]
Getting Release information (DSM 7)
{
"label": "Intel 64-bit",
"build": "linux-x86_64",
"distro": "synology-dsm7",
"url": "https://downloads.plex.tv/plex-media-server-new/1.23.3.4707-ebb5fe9f3/synology-dsm7/PlexMediaServer-1.23.3.4707-ebb5fe9f3-x86_64_DSM7.spk",
"checksum": "09e910c4e66752e4722c4753488ce247d7ccf526"
}
[ Downloading release package ]
2021-06-21 20:06:05 URL:https://downloads.plex.tv/plex-media-server-new/1.23.3.4707-ebb5fe9f3/synology-dsm7/PlexMediaServer-1.23.3.4707-ebb5fe9f3-x86_64_DSM7.spk [108636160/108636160] -> "/tmp/plex.oVnAEI/PlexMediaServer-1.23.3.4707-ebb5fe9f3-x86_64_DSM7.spk" [1]
[ Verifying checksum ]
Checksum valid!
[ Installing package ]
{"error":{"code":0},"results":[{"action":"install","beta":true,"betaIncoming":true,"error":{"code":261,"description":"invalid package info content"},"installReboot":false,"installing":true,"language":"enu","last_stage":"prepare_install","package":"PlexMediaServer","packageName":"Plex Media Server","spk":"/tmp/plex.oVnAEI/PlexMediaServer-1.23.3.4707-ebb5fe9f3-x86_64_DSM7.spk","stage":"install_failed","success":false,"username":""}],"success":false}
[ Cleaning up ]
Removing /tmp/plex.oVnAEI
Done, with errors!
from synology-update-plex.
FWIW, I was having this issue on DSM7 and to fix it, I had to change references to the package from 'Plex Media Server'
to PlexMediaServer
(two instances where synopkg
is called with a string literal).
from synology-update-plex.
This fix has been addressed in the latest release https://github.com/cowboy/synology-update-plex/releases
from synology-update-plex.
Related Issues (20)
- Issue with interuppted update check HOT 5
- D415play support HOT 4
- Failing to update Plex Media Server HOT 4
- Error with auto update HOT 13
- Loop update HOT 1
- Done, with error 289 HOT 2
- Update while the version is the same HOT 21
- Done, with error 288 HOT 2
- FAIL: Unable to find release for armv7l/armv7hf_neon HOT 1
- Restart Plex if crash HOT 1
- Noty
- Upgrade failing on DSM 7.0-41890 HOT 4
- Event Notification Template Output HOT 2
- synoinfo.conf command not found, Done, with errors! HOT 1
- Done, with errors! HOT 2
- Task schedule report formatting HOT 5
- version check on dsm7 HOT 3
- Script does not update anymore HOT 2
- DS 218+ error Code 279 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synology-update-plex.