Jump to content


Photo

Can't Update Emby on my Synology DS1813+

update stuck emby synology

Best Answer solabc16 , 03 August 2018 - 11:16 AM

Hello @baderkoot

 

That's great news, thanks for the feedback. No problem, here's the additional detail...

 

- - - - - - -

It looks like an attempt was made to update the package from 3.2.40.0-1 to 3.2.50.0-1 on 2017-12-21 at 21:08:29 UTC. This upgrade was abruptly interrupted part way through the process, do you recall the system crashing or losing power?

The end result was that the package's directory structure wasn't as expected when attempting subsequent upgrades, hence the upgrade aborting with the error message you first reported.

- - - - - - -

 

We'll use this information to see if there is anything we can learn from this to improve the process and/or make it more resilient in future releases.

 

Best

- James

Go to the full post


  • This topic is locked This topic is locked
19 replies to this topic

#1 baderkoot OFFLINE  

baderkoot

    Member

  • Members
  • 11 posts
  • Local time: 09:04 AM

Posted 20 July 2018 - 06:06 AM

I need help updating Emby. it stopped updating at version 3.2.40.0-1. it's been months I am really stuck. I can't identify what's causing this. If anyone can help, I appreciate it.

 

Regards



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142432 posts
  • Local time: 01:04 AM

Posted 20 July 2018 - 09:32 AM

Hi, what happens when you try to update?



#3 baderkoot OFFLINE  

baderkoot

    Member

  • Members
  • 11 posts
  • Local time: 09:04 AM

Posted 29 July 2018 - 08:05 AM

I get this message {Failed to update "Emby Server". Operation failed} in the notifications



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142432 posts
  • Local time: 01:04 AM

Posted 29 July 2018 - 12:53 PM

Can you please shutdown emby server, then follow the instructions on our website to install the latest version on top of your existing version:

 

https://emby.media/download

 

Please let us know if this helps. Thanks !



#5 baderkoot OFFLINE  

baderkoot

    Member

  • Members
  • 11 posts
  • Local time: 09:04 AM

Posted 30 July 2018 - 07:47 AM

I'll try it right away.



#6 baderkoot OFFLINE  

baderkoot

    Member

  • Members
  • 11 posts
  • Local time: 09:04 AM

Posted 30 July 2018 - 07:56 AM

The Package Source was already in my list and Trusted Publishers was already chosen so I tried to install again and I got the same message. It doesn't start the download just shows me the "Updating..." in green



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142432 posts
  • Local time: 01:04 AM

Posted 30 July 2018 - 08:45 AM

It's a large download and may just be taking a little time. Did you try just giving it a little time? Thanks.



#8 baderkoot OFFLINE  

baderkoot

    Member

  • Members
  • 11 posts
  • Local time: 09:04 AM

Posted 31 July 2018 - 05:29 PM

I don't touch it. It shows "Updating..." then after a few minutes it displays the error



#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142432 posts
  • Local time: 01:04 AM

Posted 31 July 2018 - 11:32 PM

@solabc16 any ideas on how we can get more info about what happened? Although it sounds like a download timeout to me.



#10 baderkoot OFFLINE  

baderkoot

    Member

  • Members
  • 11 posts
  • Local time: 09:04 AM

Posted 01 August 2018 - 04:08 PM

So what should I try next ? It's haven't been updating since last November and I've missed a lot of the cool upgrades



#11 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 1974 posts
  • Local time: 06:04 AM

Posted 02 August 2018 - 05:47 AM

Hello @baderkoot

 

What version of DSM are you currently running? You can get this from DSM -> Control Panel -> System -> Info Center.

 

If possible, can you do the following: https://github.com/M...us-Support-Logs

 

Best

- James



#12 baderkoot OFFLINE  

baderkoot

    Member

  • Members
  • 11 posts
  • Local time: 09:04 AM

Posted 02 August 2018 - 08:12 AM

Hi @James

I have DSM version 6.2-23739 Update 2

 

When I try to get the logs I i get this error:
ERROR: Unable to initialise logging, exiting script.


#13 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 1974 posts
  • Local time: 06:04 AM

Posted 02 August 2018 - 08:41 AM

Hello @baderkoot

 

Thanks for the information, this error would only happens if directory structures that should be in place following a normal installation are missing.

 

Please can you post the output from the following here:-

ls -l /var/packages/EmbyServer/scripts/utilities/

Best

- James



#14 baderkoot OFFLINE  

baderkoot

    Member

  • Members
  • 11 posts
  • Local time: 09:04 AM

Posted 02 August 2018 - 12:12 PM

I got these

 

total 80
drwxr-xr-x 3 root root  4096 Dec 22  2016 etc
drwxr-xr-x 2 root root  4096 Dec 22  2016 include
drwxr-xr-x 2 root root  4096 Dec 22  2016 lib
-rwxr--r-- 1 root root 13151 Nov 23  2017 pkgmigrate
-rwxr--r-- 1 root root 20093 Nov 23  2017 rundiags
drwxr-xr-x 2 root root  4096 Nov 23  2017 sbin
-rwxr--r-- 1 root root 10046 Nov 23  2017 sendlogs
drwxr-xr-x 7 root root  4096 Oct 17  2016 share
-rwxr--r-- 1 root root  8291 Nov 23  2017 switchcomp


#15 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 1974 posts
  • Local time: 06:04 AM

Posted 02 August 2018 - 02:31 PM

Hello @baderkoot

 

Ok, after you've logged in and switched to the root user, run the following before the send logs utility.

mkdir /var/packages/EmbyServer/scripts/utilities/logs

Best

- James


Edited by solabc16, 02 August 2018 - 03:04 PM.


#16 baderkoot OFFLINE  

baderkoot

    Member

  • Members
  • 11 posts
  • Local time: 09:04 AM

Posted 02 August 2018 - 08:16 PM

Done!
 
********************************************************************************
Upload completed successfully, please include this filename with your ticket...
sendlogs_DarkKnight_synology_cedarview_1813+_20180803T001043UTC.tgz                                                                                                                                                                          
********************************************************************************
 
What next ?

Edited by baderkoot, 02 August 2018 - 08:18 PM.


#17 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 1974 posts
  • Local time: 06:04 AM

Posted 03 August 2018 - 04:28 AM

Hello @baderkoot

 

Thanks for the logs, please can you try the upgrade again and let me know what happens.

 

If it fails, can you run the send logs utility again:  https://github.com/M...us-Support-Logs

 

Best

- James



#18 baderkoot OFFLINE  

baderkoot

    Member

  • Members
  • 11 posts
  • Local time: 09:04 AM

Posted 03 August 2018 - 06:36 AM

It worked, Thank you very much!

 

If it's not asking too much, would you mind explaining what was wrong ?

I still haven't figured out what the problem was.

 

Regards



#19 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 1974 posts
  • Local time: 06:04 AM

Posted 03 August 2018 - 11:16 AM   Best Answer

Hello @baderkoot

 

That's great news, thanks for the feedback. No problem, here's the additional detail...

 

- - - - - - -

It looks like an attempt was made to update the package from 3.2.40.0-1 to 3.2.50.0-1 on 2017-12-21 at 21:08:29 UTC. This upgrade was abruptly interrupted part way through the process, do you recall the system crashing or losing power?

The end result was that the package's directory structure wasn't as expected when attempting subsequent upgrades, hence the upgrade aborting with the error message you first reported.

- - - - - - -

 

We'll use this information to see if there is anything we can learn from this to improve the process and/or make it more resilient in future releases.

 

Best

- James


Edited by solabc16, 03 August 2018 - 11:17 AM.


#20 baderkoot OFFLINE  

baderkoot

    Member

  • Members
  • 11 posts
  • Local time: 09:04 AM

Posted 03 August 2018 - 05:48 PM

Hi @solabc16...

 

Well, we do have power outages frequently here because of this old building so I keep UPS units on most of my gadgets. Unfortunately the budget didn't allow me to include the NAS in the mix. So I say it's might have been caused by a power outage, yes.

 

Thank you for your help and your time, I really appreciate it

 

Regards

Bader AlKoot







Also tagged with one or more of these keywords: update, stuck, emby, synology

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users