Plex is broken after FreeNAS to TrueNAS core migration

jc5105

Cadet
Joined
Oct 25, 2020
Messages
3
Hi,

I'm having issues with Plex Media Server after migrating from FreeNAS to TrueNAS. When attempting to update the application the following error code is presented.
Error: Major ABI change detectedm please run 'upgrade' instead.

Has anyone else ran into this issue?

Josh
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Has anyone else ran into this issue?
Yes.

run iocage fetch and select the option for 12.1-RELEASE.

Then iocage upgrade -r 12.1-RELEASE [your plex jailname]
 

jc5105

Cadet
Joined
Oct 25, 2020
Messages
3
Unfortunately, the suggested solution didn't work. Is there another solution I can try?

Code:
Snapshotting plex...
Updating plugin INDEX...
Running upgrade...
plex is not running, starting jail

Command output:
plex is not running, starting jail

Command output:
etcupdate failed! Rolling back snapshot.
root@freenas[~]# iocage upgrade -r 12.1-RELEASE plex
Snapshotting plex...
Snapshot already exists
Updating plugin INDEX...
Running upgrade...
plex is not running, starting jail

Command output:
 

lukefong

Cadet
Joined
Mar 2, 2020
Messages
5
Unfortunately, the suggested solution didn't work. Is there another solution I can try?

Code:
Snapshotting plex...
Updating plugin INDEX...
Running upgrade...
plex is not running, starting jail

Command output:
plex is not running, starting jail

Command output:
etcupdate failed! Rolling back snapshot.
root@freenas[~]# iocage upgrade -r 12.1-RELEASE plex
Snapshotting plex...
Snapshot already exists
Updating plugin INDEX...
Running upgrade...
plex is not running, starting jail

Command output:

I did the upgrade this way: iocage upgrade [jailname] -r 12.1-RELEASE
 

Kevo

Dabbler
Joined
Jan 1, 2019
Messages
37
I upgraded a jail to 12.1-RELEASE and while it was functioning after the upgrade I was unable to get pkg or ports to work afterwards. All the solutions I found online related to the specific errors didn't work. I ended up rebuilding both of my jails from scratch. It actually took less time to rebuild the jails from scratch than it did to upgrade. Each jail only had a couple of things installed in it, so I installed the appropriate pkgs and then copied the config and other needed files from the old jail. They are up and running fine now.

I don't run plex so I'm not sure if the same sort of procedure would work as well or not, but just be prepared for the upgrade to only partially work.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Maybe have a look here:
 

Kevo

Dabbler
Joined
Jan 1, 2019
Messages
37
I tried that fix along with several others I found online and in the freebsd bug tracker. Nothing worked. In the end it was much easier to just rebuild them, and quicker than upgrading too. In the future I'll update through the interface and just rebuild instead of bothering with upgrading. I don't really use the plugins yet, so I'm not sure if a similar strategy would be effective there.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
In the end it was much easier to just rebuild them, and quicker than upgrading too
Agreed. I often sit there wondering why I'm waiting so long for a process that seems so inefficient to complete when creating a new jail is so fast and if your data is properly stored outside it, it's so easy and quick.
 
Top