Emby can't update after move to 12.0 beta

eleson

Dabbler
Joined
Jul 9, 2020
Messages
18
Hi
First time poster so be gentle...
I run an AMD based nas and after updating to 11.3 it started freezing after a few hours of runtime. So basically useless.
So I took the plunge to 12.0 with the beta.
All went well and I get an Info alert:

INFO
An update is available for the "emby" plugin.


But when I try to update I get:
Updating Plugin
Error: Major ABI change detected, please run 'upgrade' instead.

So what do I do now, I can't seem to find the magical Upgrade button ?
 

m4rsmall0w

Cadet
Joined
Jul 17, 2020
Messages
1
Hi
First time poster so be gentle...
I run an AMD based nas and after updating to 11.3 it started freezing after a few hours of runtime. So basically useless.
So I took the plunge to 12.0 with the beta.
All went well and I get an Info alert:

INFO
An update is available for the "emby" plugin.


But when I try to update I get:
Updating Plugin
Error: Major ABI change detected, please run 'upgrade' instead.

So what do I do now, I can't seem to find the magical Upgrade button ?
It's not immediately obvious, but since this post was the ONLY one on this subject after a googling, I thought I'd poke around a little more. Turns out, this upgrade is done via the Jail shell.

Click on Jails, then the carat off to the far right, then the > SHELL. There will be a menu, and there should be an Upgrade selection in there. I was upgrading ESPHome and HomeAssistant - ESPHome had an upgrade in the first menu, HA I had to drill down a menu.
 

eleson

Dabbler
Joined
Jul 9, 2020
Messages
18
It's not immediately obvious, but since this post was the ONLY one on this subject after a googling, I thought I'd poke around a little more. Turns out, this upgrade is done via the Jail shell.

Click on Jails, then the carat off to the far right, then the > SHELL. There will be a menu, and there should be an Upgrade selection in there. I was upgrading ESPHome and HomeAssistant - ESPHome had an upgrade in the first menu, HA I had to drill down a menu.
Thanks!
I looked around and started the shell, but I havent' seen found the menus yet. Will continue to look.
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
all i get from
iocage upgrade emby -r 12.1-RELEASE

everything uninstalled and the error
pkg: lua script failed

Branch 12.2-RELEASE does not exist at https://github.com/freenas/iocage-plugin-emby.git!
Using "master" branch for plugin, this may not work with your RELEASE
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
Branch 12.2-RELEASE does not exist at https://github.com/freenas/iocage-plugin-emby.git!
Using "master" branch for plugin, this may not work with your RELEASE
This single error is not (usually) something to worry much about, it just means the creator of the plugin hasn't made a seperate branch for 21.2-RELEASE.

Its the other error that's the problem here:
pkg: lua script failed
Which is to be expected, plugin isn't updated for 2 years.
 

Mattia3rd

Explorer
Joined
May 13, 2014
Messages
57
This single error is not (usually) something to worry much about, it just means the creator of the plugin hasn't made a seperate branch for 21.2-RELEASE.

Its the other error that's the problem here:

Which is to be expected, plugin isn't updated for 2 years.

Hi,
I've a similar issue.
I have Emby Server version 4.5.4.0 in a 11.3 jail.
I upgraded the jail with :
Code:
iocage upgrade emby -r 12.0-RELEASE 

and my jail were upgraded to 12.2-RELEASE-p8.

Now, I want to upgrade the Emby Server but using update from plugin section in my TrueNAS 12.0-U4 version,the update fails.
The messages are very fast (into the pop up icon) i were just able to see something like this:
Branch 12.2-RELEASE does not exist at https://github.com/freenas/iocage-plugin-emby.git! Using "master" branch for plugin, this may not work with your RELEASE

Have anybody an idea about this?
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
Hi,
I've a similar issue.
I have Emby Server version 4.5.4.0 in a 11.3 jail.
I upgraded the jail with :
Code:
iocage upgrade emby -r 12.0-RELEASE 

and my jail were upgraded to 12.2-RELEASE-p8.

Now, I want to upgrade the Emby Server but using update from plugin section in my TrueNAS 12.0-U4 version,the update fails.
The messages are very fast (into the pop up icon) i were just able to see something like this:


Have anybody an idea about this?
Just because you got that error, doesn't mean your issue is the same.
Like I explained that error is NOT an issue and not the reason update is failing, it's a warning, not an error.

However: The underlaying issue for both is the same: Things not being maintained.
 

Mattia3rd

Explorer
Joined
May 13, 2014
Messages
57
Just because you got that error, doesn't mean your issue is the same.
Like I explained that error is NOT an issue and not the reason update is failing, it's a warning, not an error.

However: The underlaying issue for both is the same: Things not being maintained.
Thank you for the answer.
Emby plugin on TrueNAS is a community project, do you said that this project is not maintained or something else?
This also means that Emby plugin cannot be updated anymore ?
 

Mattia3rd

Explorer
Joined
May 13, 2014
Messages
57
Thats in fact precisely what I mean :)

The community plugin can very well be updated/fixed if anyone wants to. It's all opensource.
So, isn't there a well documented process to update the plugin? Or simply TrueNAS community don't care about it ?

What you think are my options? (If I have one)
Ask for Emby support on howto update the plugin manually ?
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
So, isn't there a well documented process to update the plugin?
Plugins are mostly based around customised install scripts.
There is not "magic pill" for updating those. Every single one is different.

Or simply TrueNAS community don't care about it ?
The IOCage plugin system is rather... crude and cumbersome.
I know how to do it and I don't even dare to look into it for you. It's a pain.

What you think are my options? (If I have one)
DIY or Die.
(though I doubt you would actually die, but you get the point.)

Ask for Emby support on howto update the plugin manually ?
You will not get any relevant answer.
It's not that the application inside the plugin is outdated, there are more issues at play here.
 

Mattia3rd

Explorer
Joined
May 13, 2014
Messages
57
Plugins are mostly based around customised install scripts.
There is not "magic pill" for updating those. Every single one is different.
I'm the only one that is trying to update the Emby server on TrueNAS ?
I hope not... so there could be anyone who know how to do it, right?

The IOCage plugin system is rather... crude and cumbersome.
I know how to do it and I don't even dare to look into it for you. It's a pain.
Could you explain to me what you mean ?
There is a plugin with it's jail. It works. Couldn't be emby be updated like any other software or like emby itself on any other installation?

DIY or Die.
(though I doubt you would actually die, but you get the point.)
Could you spell DIY please.
I don't want to die defenitely!

You will not get any relevant answer.
It's not that the application inside the plugin is outdated, there are more issues at play here.
Why not.
The emby server cannot be updated ?
Again, why not?
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
I'm the only one that is trying to update the Emby server on TrueNAS ?
I hope not... so there could be anyone who know how to do it, right?
I'm refering about actually updating/fixing the plugin itself on github.
There could be someone but that person isn't doing it.

Could you explain to me what you mean ?
There is a plugin with it's jail. It works. Couldn't be emby be updated like any other software or like emby itself on any other installation?
A plugin is a jail with a custom install script.
If you want to update the actual plugin it needs to be updated from github and that process is not very straight forward. I'm not going to spend any more time explaining it because when done I could've fixed it myself. It's not time-efficient for me and

Could you spell DIY please.
I don't want to die defenitely!
Do It Yourself.

Why not.
The emby server cannot be updated ?
Again, why not?
An TrueNAS Plugin is not "just" an application, it's an install script running inside a jail.
It's not related to Emby at all, nor is it maintained by Emby. Complaining on their forum is therefore useless.

Installing Emby in the jail is just one-of-the-steps in the install scripts.
Like other users explained there are currently more issues that are not limited to emby itse;lf
 

Mattia3rd

Explorer
Joined
May 13, 2014
Messages
57
I'm refering about actually updating/fixing the plugin itself on github.
There could be someone but that person isn't doing it.

A plugin is a jail with a custom install script.
If you want to update the actual plugin it needs to be updated from github and that process is not very straight forward. I'm not going to spend any more time explaining it because when done I could've fixed it myself. It's not time-efficient for me and

Do It Yourself.

An TrueNAS Plugin is not "just" an application, it's an install script running inside a jail.
It's not related to Emby at all, nor is it maintained by Emby. Complaining on their forum is therefore useless.

Installing Emby in the jail is just one-of-the-steps in the install scripts.
Like other users explained there are currently more issues that are not limited to emby itse;lf

Ok now it's clear the issue, thank you.
This is a very bad news...

In the end, the Emby plugin is not maintained anymore on github, now I'm upset and sad. Could I cry ?
I'm not able to fix it by myself so I think I'm at the end of the journey..

It seems like a bad dream, the only option I have seems to install emby server anywhere else and backup/restore the configuration..
I hope the good guys out there would keep on working the plugin and make it working again.
Is it possible to ask for it?

Let me say it: The Emby plugin on TrueNAS is really cool
 

tprelog

Patron
Joined
Mar 2, 2016
Messages
297
I'm not an expert here but I've used the Emby plugin for awhile (since FreeNAS 11.1) - It's not uncommon for the plugin version to fall behind.

However I do not think it is a lack of update to the plugin -- It seems that only Emby 4.5.4.0 is available for FreeBSD 12.x


A plugin is a jail with a custom install script

Emby's install script is simple. It just enables and starts the service
 

Mattia3rd

Explorer
Joined
May 13, 2014
Messages
57
I'm not an expert here but I've used the Emby plugin for awhile (since FreeNAS 11.1) - It's not uncommon for the plugin version to fall behind.

However I do not think it is a lack of update to the plugin -- It seems that only Emby 4.5.4.0 is available for FreeBSD 12.x

So it simply means that Emby 4.6 is not yet supported on TrueNAS 12 ?
In this case we have just to wait, right?

Emby's install script is simple. It just enables and starts the service
Well, it would be nice to have a solution for this..
I mean..
It could be possible to update the Emby Server into the jail using source code of Emby?
Or we fall into the previuos advice of unsupported version higher than 4.5 (right now)
 

Mattia3rd

Explorer
Joined
May 13, 2014
Messages
57
Let me add another thing:
As shown into this post it is possible to install emby 4.7 into freeBSD 12..
Now I'm not sure about the link @tprelog posted
 
Top