I've just tried this on my LE generic system and it seems to update ok according to the script output but the service won't start:
Code
# /storage/.kodi/addons/service.emby4/bin/emby-update 4.5.0.6
1. stopping Emby service
2. download Emby version 4.5.0.6
######################################################################### 100.0%######################################################################### 100.0%
3. removing old install
4. extracting Emby
5. restarting Emby service
... done
systemctl status service.emby4.service :
Code
service.emby4.service - Emby 4 - streaming server
Loaded: loaded (/storage/.kodi/addons/service.emby4/system.d/service.emby4.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2020-04-18 10:37:11 UTC; 7min ago
Docs: http://emby.media
Process: 13123 ExecStart=/bin/sh /storage/.kodi/addons/service.emby4/bin/emby4.start (code=exited, status=134)
Main PID: 13123 (code=exited, status=134)
Apr 18 10:37:11 HEC-TOR systemd[1]: service.emby4.service: Service RestartSec=100ms expired, scheduling restart.
Apr 18 10:37:11 HEC-TOR systemd[1]: service.emby4.service: Scheduled restart job, restart counter is at 5.
Apr 18 10:37:11 HEC-TOR systemd[1]: Stopped Emby 4 - streaming server.
Apr 18 10:37:11 HEC-TOR systemd[1]: service.emby4.service: Start request repeated too quickly.
Apr 18 10:37:11 HEC-TOR systemd[1]: service.emby4.service: Failed with result 'exit-code'.
Apr 18 10:37:11 HEC-TOR systemd[1]: Failed to start Emby 4 - streaming server.
Display More
Journal-cur.log shows:
Code
Apr 18 10:20:08 HEC-TOR systemd[1]: Started Emby 4 - streaming server.
Apr 18 10:20:08 HEC-TOR sh[5629]: Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxx'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Apr 18 10:20:08 HEC-TOR sh[5629]: Aborted
Apr 18 10:20:08 HEC-TOR systemd[1]: service.emby4.service: Main process exited, code=exited, status=134/n/a
Apr 18 10:20:08 HEC-TOR systemd[1]: service.emby4.service: Failed with result 'exit-code'.
Apr 18 10:20:09 HEC-TOR systemd[1]: service.emby4.service: Service RestartSec=100ms expired, scheduling restart.
Apr 18 10:20:09 HEC-TOR systemd[1]: service.emby4.service: Scheduled restart job, restart counter is at 1.
Apr 18 10:20:09 HEC-TOR systemd[1]: Stopped Emby 4 - streaming server.
Apr 18 10:20:09 HEC-TOR systemd[1]: Started Emby 4 - streaming server.
Apr 18 10:20:09 HEC-TOR sh[5647]: Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxx'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Apr 18 10:20:09 HEC-TOR sh[5647]: Aborted
Apr 18 10:20:09 HEC-TOR systemd[1]: service.emby4.service: Main process exited, code=exited, status=134/n/a
Apr 18 10:20:09 HEC-TOR systemd[1]: service.emby4.service: Failed with result 'exit-code'.
Apr 18 10:20:09 HEC-TOR systemd[1]: service.emby4.service: Service RestartSec=100ms expired, scheduling restart.
Apr 18 10:20:09 HEC-TOR systemd[1]: service.emby4.service: Scheduled restart job, restart counter is at 2.
Apr 18 10:20:09 HEC-TOR systemd[1]: Stopped Emby 4 - streaming server.
Apr 18 10:20:09 HEC-TOR systemd[1]: Started Emby 4 - streaming server.
Apr 18 10:20:09 HEC-TOR sh[5665]: Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxx'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Apr 18 10:20:09 HEC-TOR sh[5665]: Aborted
Apr 18 10:20:09 HEC-TOR systemd[1]: service.emby4.service: Main process exited, code=exited, status=134/n/a
Apr 18 10:20:09 HEC-TOR systemd[1]: service.emby4.service: Failed with result 'exit-code'.
Apr 18 10:20:10 HEC-TOR systemd[1]: service.emby4.service: Service RestartSec=100ms expired, scheduling restart.
Apr 18 10:20:10 HEC-TOR systemd[1]: service.emby4.service: Scheduled restart job, restart counter is at 3.
Apr 18 10:20:10 HEC-TOR systemd[1]: Stopped Emby 4 - streaming server.
Apr 18 10:20:10 HEC-TOR systemd[1]: Started Emby 4 - streaming server.
Apr 18 10:20:10 HEC-TOR sh[5683]: Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxx'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Apr 18 10:20:10 HEC-TOR sh[5683]: Aborted
Apr 18 10:20:10 HEC-TOR systemd[1]: service.emby4.service: Main process exited, code=exited, status=134/n/a
Apr 18 10:20:10 HEC-TOR systemd[1]: service.emby4.service: Failed with result 'exit-code'.
Apr 18 10:20:10 HEC-TOR systemd[1]: service.emby4.service: Service RestartSec=100ms expired, scheduling restart.
Apr 18 10:20:10 HEC-TOR systemd[1]: service.emby4.service: Scheduled restart job, restart counter is at 4.
Apr 18 10:20:10 HEC-TOR systemd[1]: Stopped Emby 4 - streaming server.
Apr 18 10:20:10 HEC-TOR systemd[1]: Started Emby 4 - streaming server.
Apr 18 10:20:10 HEC-TOR sh[5702]: Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxx'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Apr 18 10:20:10 HEC-TOR sh[5702]: Aborted
Apr 18 10:20:10 HEC-TOR systemd[1]: service.emby4.service: Main process exited, code=exited, status=134/n/a
Apr 18 10:20:10 HEC-TOR systemd[1]: service.emby4.service: Failed with result 'exit-code'.
Apr 18 10:20:11 HEC-TOR systemd[1]: service.emby4.service: Service RestartSec=100ms expired, scheduling restart.
Apr 18 10:20:11 HEC-TOR systemd[1]: service.emby4.service: Scheduled restart job, restart counter is at 5.
Apr 18 10:20:11 HEC-TOR systemd[1]: Stopped Emby 4 - streaming server.
Apr 18 10:20:11 HEC-TOR systemd[1]: service.emby4.service: Start request repeated too quickly.
Apr 18 10:20:11 HEC-TOR systemd[1]: service.emby4.service: Failed with result 'exit-code'.
Apr 18 10:20:11 HEC-TOR systemd[1]: Failed to start Emby 4 - streaming server.
Display More
Has anyone tried updating with this script to 4.5.0.6 or 4.4.2 (tried both)?