Update Emby (TrueNas) failed

Danai

Cadet
Joined
Jan 30, 2024
Messages
1
When I try to update Emby ver. 4.7.14.0 1.0.30 to 2.0.1, the update failed with this errors:

Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 427, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 465, in __run_body
rv = await self.method(*([self] + args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/upgrade.py", line 115, in upgrade
await self.upgrade_chart_release(job, release, options)
File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/upgrade.py", line 252, in upgrade_chart_release
config = await self.middleware.call('chart.release.upgrade_values', release, catalog_item['location'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1399, in call
return await self._call(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1353, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1251, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/upgrade.py", line 321, in upgrade_values
raise CallError(f'Failed to apply migration: {stderr.decode()}')
middlewared.service_exception.CallError: [EFAULT] Failed to apply migration: Traceback (most recent call last):
File "/mnt/Aldata/ix-applications/catalogs/github_com_truenas_charts_git_master/charts/emby/2.0.1/migrations/migrate", line 83, in <module>
print(json.dumps(migrate(json.loads(f.read()))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/Aldata/ix-applications/catalogs/github_com_truenas_charts_git_master/charts/emby/2.0.1/migrations/migrate", line 74, in migrate
return migrate_common_lib(values)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/Aldata/ix-applications/catalogs/github_com_truenas_charts_git_master/charts/emby/2.0.1/migrations/migrate", line 28, in migrate_common_lib
'webPort': values['embyServerHttp']['port'],
~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'embyServerHttp'
 

hayman

Cadet
Joined
Feb 10, 2024
Messages
5
Same error here, not sure how to proceed with this one.
Other apps are updating correctly.
App Version:
4.7.14.0
Chart Version:
1.0.30

trying to update to version 4.8.1.0_2.0.2
 

Attachments

  • Screenshot 2024-02-11 001640.png
    Screenshot 2024-02-11 001640.png
    19 KB · Views: 58

hayman

Cadet
Joined
Feb 10, 2024
Messages
5
Same error here, not sure how to proceed with this one.
Other apps are updating correctly.
App Version:
4.7.14.0
Chart Version:
1.0.30

trying to update to version 4.8.1.0_2.0.
 

Attachments

  • Screenshot 2024-02-11 001755.png
    Screenshot 2024-02-11 001755.png
    12.3 KB · Views: 61

amnuayl

Cadet
Joined
Aug 17, 2021
Messages
2
Same issue problem with update 4.7.14.0_1.0.30 to 4.8.1.0
-2.0.3, who to know solve update problem.
 

adrianjpb

Cadet
Joined
Nov 22, 2020
Messages
6
Same problem here! On "Edit", on "Storage configuratión" change "Mount Path" library to /library.
This solve the problem for me!
 
Last edited:

amnuayl

Cadet
Joined
Aug 17, 2021
Messages
2
Same problem here! On "Edit", on "Storage configuratión" change "Mount Path" library to /library.
This solve the problem for me!
Thank you.
It working. I change from "Emby Media" to "/Emby Media". We are found other problem after updated to new version the emby is not running, I have reinstall again.
 
Top