Install SickBeard from plugin.

Status
Not open for further replies.

Chupa0

Dabbler
Joined
Dec 16, 2013
Messages
33
I am trying to install SickBeard from the plugin and am getting an error that the jail already exists.

I had successfully installed it before but when I tried to run the service it would not run. So I deleted it and am trying to install it again and I get that error. I look under jails and it is not listed. There is a SickBeard folder inside my jail folder that I can not remove because I get a deice busy error.

How can one solve this?
 

Chupa0

Dabbler
Joined
Dec 16, 2013
Messages
33
Code:
[root@freenas] ~# warden list
ID                      AUTOSTART  STATUS      TYPE
---------------------------------------------------------------------------
bit_1                  Enabled    Running    pluginjail
sabnzbd_1              Enabled    Running    pluginjail


Code:
[root@freenas] ~# jls
  JID  IP Address      Hostname                      Path
    1  -              bit_1                        /mnt/zfs3/jails_3/bit_1
    3  -              sabnzbd_1                    /mnt/zfs3/jails_3/sabnzbd_1
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Can you try running: "zfs destroy -f <the old sickbeard directory>" (I'm not sure how is it named, maybe /mnt/zfs3/jails_3/sickbeard_1).
 

Chupa0

Dabbler
Joined
Dec 16, 2013
Messages
33
Code:
[root@freenas] ~# zfs destroy -f /mnt/zfs3/jails_3/sickbeard_1/
cannot open '/mnt/zfs3/jails_3/sickbeard_1/': invalid dataset name
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Ah, sorry, that should be the dataset name, not directory. If the sickbeard directory you need to remove is /mnt/zfs3/jails_3/sickbeard_1/, run: "zfs destroy -f zfs3/jails_3/sickbeard_1".
 

Chupa0

Dabbler
Joined
Dec 16, 2013
Messages
33
It seems to have taken. Should I try to install sickbeard now?
Also is there a way I can clean out the 2 other jail folders I have on zfs3? I have jails and jails_2 from previous (mess up) installs of freenas.
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Yes, try to install.
Use "zfs destroy -fr <dataset>" (e.g. "zfs destroy -fr zfs3/jails_2) to recursively delete a jail dataset including all child datasets.
Be careful when running zfs destroy with the -r option -- double check that the dataset name is really the one you want to delete.
 

Chupa0

Dabbler
Joined
Dec 16, 2013
Messages
33
I cleared my old jail datasets using the command you provided and tried to install Sickbeard again but it caused the system to reboot. The plugin did not show up after the reboot. I went to install it again and it got the jail already exists error again.

Code:
ID                      AUTOSTART  STATUS      TYPE
---------------------------------------------------------------------------
bit_1                  Enabled    Running    pluginjail
sabnzbd_1              Enabled    Running    pluginjail


Code:
[root@freenas] ~# jls
  JID  IP Address      Hostname                      Path
    1  -              bit_1                        /mnt/zfs3/jails_3/bit_1
    2  -              sabnzbd_1                    /mnt/zfs3/jails_3/sabnzbd_1


Code:
[root@freenas] ~# ls -l /mnt/zfs3/jails_3/
total 103
drwxr-xr-x  11 root  wheel  13 Dec 24 18:24 ./
drwxr-xr-x  5 root  wheel    5 Dec 24 14:20 ../
drwxr-xr-x  2 root  wheel  16 Dec 22 09:41 .bit_1.meta/
-rw-r--r--  1 root  wheel  140 Dec 22 09:13 .pcbsd-aria-stat-amd64
drwxr-xr-x  3 www  www      3 Dec 22 09:10 .plugins/
drwxr-xr-x  2 root  wheel  16 Dec 22 10:42 .sabnzbd_1.meta/
drwxr-xr-x  4 root  wheel    4 Dec 22 09:10 .warden-files-cache/
drwxr-xr-x  17 1011  1011    22 Dec 22 09:11 .warden-template-9.1-RELEASE-amd64-pluginjail/
drwxr-xr-x  18 1011  1011    24 Dec 22 09:41 bit_1/
drwxr-xr-x  17 1011  1011    22 Dec 22 09:11 couchpotato_2/
drwxr-xr-x  18 1011  1011    25 Dec 22 10:43 sabnzbd_1/
drwxr-xr-x  17 1011  1011    22 Dec 22 09:11 sickbeard_1/
-rw-r--r--  1 root  wheel  45 Dec 24 18:24 warden.log
 

Chupa0

Dabbler
Joined
Dec 16, 2013
Messages
33
I'm not sure what I did differently but It seems to be ok now.

I removed the data set of that jail and another jail i was not using. Restarted. then re installed the plugin. It worked that time. I tried to run it and it gave an error. Tried to run it again and it worked. I have no idea.
 
Status
Not open for further replies.
Top