Moved Jails to SSD but my plugins are missing?

Status
Not open for further replies.

Simplicity

Dabbler
Joined
Jun 13, 2015
Messages
28
Hi All,

UPDATE: Got my jails to work outside of the GUI by editing the rc.conf file and setting enable = YES ie. sickrage_enable="YES" . The plugins work on the IP i set and all my config is working on the SSD. Not sure how to get FreeNAS updated to v9.10 and same issue, was hoping it would have fixed the issue. Plugins are running but not found in the FreeNAS gui. When I install the plugin again it detects an existing one and increments the name by +1 like transmission_2..... I have rebooted the jails and FreeNAS many times.

I followed these steps and successfully migrated the jails to the SSD, but all my plugins are missing in the GUI.

Steps I used were: *taken from this forum*
Steps:
Turn off all plugins (Plugins->Installed)
Stop all jails (Jails->View Jails)
Run these commands via CLI:
Code:
zfs snapshot -r main_pool/jails@relocate
zfs send -R main_pool/jails@relocate | zfs receive -v ssd_pool/jails
zfs get -rH -o name -s received mountpoint ssd_pool/jails | xargs -I {} sh -c "zfs set mountpoint=/{} {}; zfs mount {};"

Change the Jail Root to /mnt/ssd_pool/jails (Jails->Configuration)
Start jails/plugins
Check that everything works and destroy the original jails dataset (main_pool/jails)

Essentially I followed the above steps to the dot. I thought everything was working so I deleted my main_pool/jail. If i try to install new plugins it detects the name already exists and increases the count i.e plexserver_2 is now installed, but my _1 is not showing even though the jail is running.
 
Last edited by a moderator:

Simplicity

Dabbler
Joined
Jun 13, 2015
Messages
28
Note my jail configure location is set to volume2\jail on my ssd. my jails work off the ssd and the plugins run via console into the jail but FreeNAS does not see them to populate the gui. I want to update and start them from gui like before the transfer
 
Last edited by a moderator:

Simplicity

Dabbler
Joined
Jun 13, 2015
Messages
28
Code:
[root@freenas ~]# sqlite3 /data/freenas-v1.db																					  
SQLite version 3.11.1 2016-03-03 16:17:53																						  
Enter ".help" for usage hints.																									
sqlite> select * from jails_jailtemplate;																						  
0|FreeBSD|x64|1|http://download.freenas.org/jails/9.2/x64/freenas-virtualbox-4.3.12.tgz||13|VirtualBox-4.3.12					  
1|FreeBSD|x86|0|http://download.freenas.org/jails/10/x86/freenas-standard-x86-10.3-RELEASE.tgz|http://download.freenas.org/jails/10/
x86/freenas-standard-x86-10.3-RELEASE.mtree|14|standard-x86																		
1|FreeBSD|x86|0|http://download.freenas.org/jails/10/x86/freenas-pluginjail-x86-10.3-RELEASE.tgz|http://download.freenas.org/jails/1
0/x86/freenas-pluginjail-x86-10.3-RELEASE.mtree|15|pluginjail-x86																  
1|FreeBSD|x64|0|http://download.freenas.org/jails/10/x64/freenas-standard-10.3-RELEASE.tgz|http://download.freenas.org/jails/10/x64/
freenas-standard-10.3-RELEASE.mtree|16|standard																					
1|FreeBSD|x64|0|http://download.freenas.org/jails/10/x64/freenas-pluginjail-10.3-RELEASE.tgz|http://download.freenas.org/jails/10/x6
4/freenas-pluginjail-10.3-RELEASE.mtree|17|pluginjail																			  
sqlite>																															
																																	
																																	
																																	
																																	
																																	
									  


Does this look wrong anywhere? I can install new jails fine and they display on the installed tab.... why wont my old ones show up??
 
Last edited:

Simplicity

Dabbler
Joined
Jun 13, 2015
Messages
28
Were you able to resolve this?
No unfortunately. Installing new plugins show up, the existing ones do not. Installing Plex again leads to _2 being created, so its all pointing to the same spot. Is there a SQL command i can run to update the plugin database?
 
D

dlavigne

Guest
Probably, but unfortunately I don't know what it is. Perhaps someone else does?
 
Status
Not open for further replies.
Top