Do I convert the Plex/jail before upgrading or upgrade first?
Using dan’s script means recreating a new Plex installation, then importing the existing data.
Okay… that is good information to have, so I shouldn’t delete the current jail then.
Okay… I’m about to update to 12.0-U8
And then try run the script to update the Jail.
Not sure if its worth it though, at the moment the PLEX server isnt working anyway… so might just delete are do a fresh plex install
Scrap that last one…
I created a boot USB install media using Rufus and the Downloaded 11.2-U1 ISO
Updated and checked, all still well with new interface.
I then created another USB using the 11.2-U8 ISO
Checked - Still all good
I am now about to try update the Plex jail using Dan’s script
You need to update all the way to 13.0, first before the script will work.
I see… I found an older thread from a few years back that I posted where Yorick was helping me, and I have been following his advice
So will it be safe to continue the update and then create then use the script to create the jail?
Probably yes. Reinstalling the plex jail might require some effort. Nobody will be able to tell what exactly will happen with your hardware and your installation.
Your main problem is that all TrueNAS releases < 13.0 and their respective FreeBSD base systems are EOL. That’s why you cannot upgrade anything anymore on these. EOL means no more packages, e.g. plex.
So it’s the only way forward but prepare for a day or two without a working plex installation and some amount of work and some writing back and forth in the forum.
I really don’t mind the wait, nor the back and forth on the forums (already doing that) and a day or two without a working plex…well, if its been down for the last 4 years+ Im sure a few days will make no difference.
So currently I am on 11.2-U8, should I just make the jump to 13 from here, or continue the update train?
As Captain Morgan already suggested, use the Preparing to Migrate article checklist to help you get ready to migrate.Preparing to Migrate | TrueNAS Documentation Hub
We include a migration path for users to help them with the process but FreeNAS is older than what we list but the Upgrade Path content in this article can help you get from point A to B which every you decide is point B. 24.04 (Dragonfish) Version Notes | TrueNAS Documentation Hub
Here is the version for CORE/FreeNAS 13.3 Version Notes | TrueNAS Documentation Hub
Thank you for the response, but this does not help me.
I read through the documentation and I have taken screenshots of my settings and backed up the config.
I am running an EXTREMELY basic setup… no fancy plugins, only 1 jail that isn’t working (that I’m hoping to recreate and move the metadata over) a couple of SMB shares setup and a few user setups.
Nothing else. (no encryption, no cron jobs etc.)
All I need to know is the update train to get to 13.0 to try use dan’s script…
Either that or someone that is willing to assist me with some steps.
So far…
I was on 11.0-U4 Updated to 11.2-U1 - No issue
Updated from 11.2-U1 to 11.2-U8 - No issue
I then tried updating to 13.0-release - Having network issues.
I have a Intel PCIe NIC installed as the onboard one is dead, its been configured and running fine. up until the 13.0 update.
If I switch my monitor to the HP Micro server, The settings appear to be the same from the previous version/setup when I check the configs on the console, but the nic isnt coming up.
Its saying “The web interface could not be accessed.”
If I reconfigure the netwok interfaces from the onsole, and put in the IP and subnet, then it says Restarting network failed
Im not using DHCP, have a static IP set.
any advice.
Upgrade step by step from each major release to the next, i.e., Release 11.0-x to 12.0-x latest release, then to 13.0-U6 before going to 13.3 early release. Changes between versions can cause issues, all of which are covered in the version release notes. When ready migrate to SCALE 24.04 if you do not have deprecated services in use. Please read the release notes for details.
Follow the instructions provided in the Documentation Hub for upgrading from release to release and product to product.
The ability to upgrade by changing the train on the Updates screen, available in some releases, is eliminated in later releases because of issues that can result in needing to do a clean install and restore from backups, or possible data loss if you are not prepared with full backups.
Please make sure you have a full and complete backup of your system data and the configuration files for your system.
Recommendation is to start with the instructions in CORE until you are ready to migrate to SCALE, then please read and follow the instructions in the Getting Started > Migrating from CORE to SCALE content starting with the Preparing to Migrate article. The checklist is there to guide you through what to check and do so you don’t make a mistake.
Okay
So I upgraded all the way to 12.0 and all was good.
Then I upgraded to 12.0-U8 and the network interface didn’t want to accept the config or it was saying it was failing to start every time I tried to change the config in the CLI so I couldn’t get onto the web interface.
eventually got some help on discord where I was told to go into shell and add
sysrc ifconfig_igb0=“inet 192.168.0.20 netmask 255.255.255.0”
This worked and I could use the web interface again.
I then from there added the DNS and default gateway and could then update to 13.0-RELEASE using the web interface (up until now I was doing it via downloading the iso and updateding with a USB)
now on 13.0 and having the same issue but this time the sysrc command is not working.
Any advice/assistance on what next steps to take?
- okay… so I followed this youtube video and it seems to have worked… https://www.youtube.com/watch?v=ayFVWqjPQ8g
I followed it… rebooted… and nothing
then rebooted again and still nothing
left the NAS for a bit (a few hours) and then decided to try something else, so i switched the monitor to it and saw it had frozen from the last boot. I Hard shut downed the NAS (held in power) and booted it back up, and now I have a web interface again
running TrueNAS-13.0-U6.1
Should I update any further… or should I attempt the plex setup now?
so… try build the plex jail and import the old one using dan’s script
If you want to use CORE you are done updating.
Now would be a good time to make sure you have a current copy of your latest and working config file.
Edit: Watching the video, I am not sure what the point of the whole first half was. The NIC in a N36L appears to be a called NC107i and is based on the Broadcom BCM5723. I’m not sure how the optional Realtek kernel module would help in that scenario.
The onboard NIC on my N36L died and I have a PCIe intel NIC at the moment
Anyone willing to assist with Plex setup and using Dan’s script?
okay… I got some help from Dan but I’m still hitting a roadblock.
Dan’s advice:
…configuring, and running the script are done at the shell. You can use the shell built in to the web GUI, but I recommend you forget that button exists and use SSH instead. It doesn’t much matter where you put the script, but if you don’t have any strong preference, the root of your pool is just as good a place as any. So you’d do:
cd /mnt/poolname
git clone https://github.com/danb35/freenas-iocage-plex
cd freenas-iocage-plex
nano plex-config
The first command changes the current working directory to the root of your pool (you’d obviously replace poolname
with the name of your pool). The second downloads a copy of the script and its associated files, creating a new directory for them. The third command changes into that newly-created directory, and the fourth opens a text editor to create the config file.
Once you’ve created that file, Ctrl-X will exit the editor, and you’d tell it to save the file.
I tried this but I run into this issue.
root@NAS:/mnt/NASvol1 # git clone https://github.com/danb35/freenas-iocage-plex
Cloning into 'freenas-iocage-plex'...
error: chmod on /mnt/NASvol1/freenas-iocage-plex/.git/config.lock failed: Operation not permitted
fatal: could not set 'core.filemode' to 'false'
Any advice?
also… I was wondering if the way Dan sets up plex follows what @iX_Resources posted here:
Where the plex’s database and the jail are on different places.
Sorry for the brevity.
I don’t remember the details of the “git-chmod-core.filename lock thing” but for simple repos like that I often just grab the file I want.
You can use wget
or curl
and do something like this:
curl https://raw.githubusercontent.com/danb35/freenas-iocage-plex/master/plex-jail.sh > plex-jail.sh
The concept is:
- ssh into your jail.
- change to a directory of your choosing.
curl <the file>
.chmod +x <the file>
- run the file.
If you don’t have curl
or wget
just pkg install curl
. Simple file.
EDIT:
I’m sorry, I just took at peek at Dan’s script. It sets up a jail and plex from your TrueNAS not from within a jail. The instructions above are not correct! I will rewrite the above when I get a moment. I apologize.
The topic for that script is really the best place to ask for help with it.
That won’t work in TrueNAS; pkg
is disabled just as apt
is in SCALE. But curl is there as is fetch.