Upgraded to 11.3, now pool is offline

robvandal999

Dabbler
Joined
Jan 14, 2018
Messages
23
TL;DR - How do I get a pool back online? How do I find the device name of my NAS?



Hello,



So over the past couple of months my Plex server became unreachable from people outside of my own network saying Plex to be upgraded. At the time i had FreeNAS 11.2. So I tried everything I knew (not much lol) and I googled for the answer on trying to update PLEX and the plugin. After trying everything, i discovered that it could be that I am on an older OS and freenas has switched over to truenas (I don't keep up with server tech. I built this thing a couple of years ago and set it up and forgot it.). So I went onto the web interface for my server and decided to upgrade the OS. The only trains available were 11.3 and 12.3 nightly beta. I decided to update to 11.3 in hopes that 12.0 would show up after the update (it did but when I try to switch to that train an error pops up.). So I switched trains to 11.3, which took literally 12 hours to install, so slow. After the install, it now says that my pool is offline. I only have one pool on the system.



So how do I get it back online? I don't know how to do that. I've tried the command in the shell # zpool online "pool name" "device name" . However there is a slight problem, i don't know the name of my device. The pool name is Datacron. I looked all over the web UI and have only found the host name being Freenas. When i enter those names into the command it says it "cannot open Datacron: no such pool."'



I don't know how to fix this.



Thank you for reading
 

robvandal999

Dabbler
Joined
Jan 14, 2018
Messages
23

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
One piece of advice, do not upgrade your pool to the latest ZFS version or you will be locked into the later version of TrueNAS.

As for your Plex issues... I'd roll back to FreeNAS 11.2 where your system operated fine and then instead of using the Plex Plugin, use a Jail and manually install Plex this way you get the latest version and you can ensure it remains up to date. Here is a link to do this.
 

robvandal999

Dabbler
Joined
Jan 14, 2018
Messages
23
So I was able to go into the shell and use command zpool import "pool name" and that brought the pool back online. Now i just have to set up the plex plugin again.
 

robvandal999

Dabbler
Joined
Jan 14, 2018
Messages
23
One piece of advice, do not upgrade your pool to the latest ZFS version or you will be locked into the later version of TrueNAS.

As for your Plex issues... I'd roll back to FreeNAS 11.2 where your system operated fine and then instead of using the Plex Plugin, use a Jail and manually install Plex this way you get the latest version and you can ensure it remains up to date. Here is a link to do this.

So I did the first half and created a new Plex Jail (see photo). How do I get all of the files I previously had in the old plex jail (see photo) connected to the new jail?
 

Attachments

  • New Jail.JPG
    New Jail.JPG
    22.4 KB · Views: 152
  • OG Jails.JPG
    OG Jails.JPG
    49.7 KB · Views: 125

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
How do I get all of the files I previously had in the old plex jail (see photo) connected to the new jail?
Should be the same way you did it for the previous Plex setup, within the Plex web interface. Generally you do not store your data within the jail, it's a link to the actual storage location.
 

robvandal999

Dabbler
Joined
Jan 14, 2018
Messages
23
I am posting my issues in this thread so anyone that has answers will get the full story of my issues and how much of a n00b at this I am.



So i couldnt get plex set up again, mainly because when I set up the jail I didn't know where to find my files to mount the jail (with my limited knowledge this is what i think was the issue). I deleted the new jail I created after I updated the OS ( I had to make a new jail because my old jails weren't showing up after i went from 11.2 to 11.3 even though they show up in the storage tab) I deleted the new jail because I thought I might have set it up wrong (again, i am a N00b at this whole server thing, i can follow directions but i dont know really what i am doing lol).



So I took some time off of trying to fix my server bc it was just getting frustrating and work was getting busy. Now that I have a week off I wanna get this plex server back up. Anyone know what I am doing wrong or what I need to do?
 

Attachments

  • Pool on the dashboard.JPG
    Pool on the dashboard.JPG
    27.3 KB · Views: 139
  • Storage.JPG
    Storage.JPG
    137.2 KB · Views: 118
  • Error mount point.JPG
    Error mount point.JPG
    30 KB · Views: 166

robvandal999

Dabbler
Joined
Jan 14, 2018
Messages
23
Also, should I delete those old jails that show up in the storage area but not in the jails tab?

The only files i put on this server is when i would use SMB permissions and i had a movies folder and a tv folder. So how do I find those two folders to re-set up plex?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Did you read the release notes for 11.3? If you had, you would’ve seen that the old 11.2 warden jail system was being replaced in 11.3, as it was no longer maintained. There’s a migration script in /usr/local/sbin/migrate_warden.py specifically for this contingency. Delete the new plex jail, and run the migration script from the GUI shell.
 

robvandal999

Dabbler
Joined
Jan 14, 2018
Messages
23
Did you read the release notes for 11.3? If you had, you would’ve seen that the old 11.2 warden jail system was being replaced in 11.3, as it was no longer maintained. There’s a migration script in /usr/local/sbin/migrate_warden.py specifically for this contingency. Delete the new plex jail, and run the migration script from the GUI shell.

Is that the command? /usr/local/sbin/migrate_warden.py

And you are correct, i didnt read the release notes.

Also, what is the GUI shell?
 

robvandal999

Dabbler
Joined
Jan 14, 2018
Messages
23
Doing some googling after Samuel Tai gave some insightful information and i found this reddit post: https://www.reddit.com/r/freenas/comments/exg6zd/migrating_warden_jails_after_113_update/

Again, though, I am a server idiot and I obviously don't know what I am doing, but I'm great at following directions. A little help on how exactly I need to implement this would be appreciated. Is the GUI shell when i boot it up and see it on my screen, not the shell i go into through the web interface?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
he shell i go into through the web interface?
That is the shell... although there's using a client like Putty or ssh on a linux/mac system too... and also at the physical console of the server. All options of equal value in terms of what you do in them.
 
Top