Problems with storage for Couchpotato

Status
Not open for further replies.

Naesstrom

Contributor
Joined
Jul 10, 2012
Messages
108
Ok so I've been having some problems with this for a while and now I really feel like taking care of it.
I'm using FreeNAS-9.2.0-RELEASE-x64 with Couchpotato, SB, transmission and Plex and everything seems to be working fine except CP.
I've added the storage to the jail like this:
9gly3E2.png


And if Browse to the jail in explorer on my PC I see the correct files in the jails /mnt:
tJ6E7az.png


But... there's always a but... When I go to CP and try to select the same folder all I get is:
deeeR2c.png


So, for some reason CP refuses to realize that I have a storage connected to the correct Jail- I've tried using other folders then /mnt or even creating new ones but still the same thing. I've uninstalled and reinstalled multiple times but always the same problem!

Can it have something with permissions to do? I keep getting
Code:
couchpotato_1 sendmail[81522]: NOQUEUE: SYSERR(operator); can not chdir(/var/spool/clientmqueue/): Permission denied
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
can you show the permissions of the files in that directory?

ls -l

it's possible they aren't readable by anyone but the owner or group of the files. 770
 

Naesstrom

Contributor
Joined
Jul 10, 2012
Messages
108
Absolutely, doesn't seem to be that problem either...
Code:
[root@Katrinelund] /mnt/Katrinelund_2/Downloads# ls -l
total 366
drwxrwxrwx  19 root  wheel    20 Feb 13 20:34 ./
drwxrwxrwx  9 root  wheel    10 Jan 12 11:35 ../
drwxrwxrwx  2 root  wheel      6 Feb 13 21:07 .AppleDB/
drwxrwxrwx  2 root  wheel      3 Nov 28 21:53 .AppleDesktop/
-rwxrwxrwx  1 guest  wheel  24580 Feb 13 20:57 .DS_Store*
drwxrwxrwx  2 guest  wheel    45 Feb 12 21:21 Black Hole/
drwxrwxrwx  3 guest  wheel      3 Feb 13 20:34 Books/
drwxrwxrwx  51 guest  wheel    54 Jan 12 00:26 Games/
drwxrwxrwx  3 guest  wheel      4 Jan 12 01:27 Health & Workout Movies/
drwxrwxrwx  6 guest  wheel      7 Jan 12 01:27 Ljudb??cker/
drwxrwxrwx  15 root  wheel    16 Feb 12 21:18 Movies/
drwxrwxrwx  60 guest  wheel    62 Jan 27 17:54 Music/
drwxrwxrwx  3 root  wheel      3 Nov 28 21:53 Network Trash Folder/
drwxrwxrwx  31 root  wheel    33 Feb  4 14:52 Series/
drwxrwxrwx  10 guest  wheel    11 Jan 12 01:49 Software/
drwxrwxrwx  3 root  wheel      3 Nov  9 23:24 Temporary Items/
drwxrwxrwx  18 guest  wheel    45 Feb 12 21:32 Unsorted/
drwxr-xr-x  5 root  wheel      5 Jan 27 21:33 local/
drwxrwxr-x  5 root  wheel      5 Jan 27 21:33 pbi/
[root@Katrinelund] /mnt/Katrinelund_2/Downloads#
 

Naesstrom

Contributor
Joined
Jul 10, 2012
Messages
108
So, anyone have some more suggestions?

I'm getting that permissions error every 11 minutes as it seems, can I just go ahead and 777 the entire CP jail?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
So, anyone have some more suggestions?

I'm getting that permissions error every 11 minutes as it seems, can I just go ahead and 777 the entire CP jail?
lol, I remember doing that when I first started with Linux servers. that would break a lot.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
just as a check. when on the command line in the jail. what does 'ls -l /mnt' give.

what happens when you click the <</ button in the couchpotato file viewer?
 

Naesstrom

Contributor
Joined
Jul 10, 2012
Messages
108
lol, I remember doing that when I first started with Linux servers. that would break a lot.

just as a check. when on the command line in the jail. what does 'ls -l /mnt' give.

what happens when you click the <</ button in the couchpotato file viewer?

hehe, ok I won't do that then but I think I'll change the permissions on the /clientmqueue folder atleast so I can get rid of the error messages.

I'm guessing you mean "ls -l mnt"


Code:
[root@Katrinelund] /mnt/Katrinelund/couchpotato_1# ls -l mnt
total 350
drwxrwxrwx  19 root  wheel    20 Feb 13 20:34 ./
drwxr-xr-x  19 root  wheel    23 Feb 13 20:22 ../
drwxrwxrwx  2 root  wheel      6 Feb 13 21:07 .AppleDB/
drwxrwxrwx  2 root  wheel      3 Nov 28 21:53 .AppleDesktop/
-rwxrwxrwx  1 guest  wheel  24580 Feb 13 20:57 .DS_Store*
drwxrwxrwx  2 guest  wheel    45 Feb 12 21:21 Black Hole/
drwxrwxrwx  3 guest  wheel      3 Feb 13 20:34 Books/
drwxrwxrwx  51 guest  wheel    54 Jan 12 00:26 Games/
drwxrwxrwx  3 guest  wheel      4 Jan 12 01:27 Health & Workout Movies/
drwxrwxrwx  6 guest  wheel      7 Jan 12 01:27 Ljudb??cker/
drwxrwxrwx  15 root  wheel    16 Feb 12 21:18 Movies/
drwxrwxrwx  60 guest  wheel    62 Jan 27 17:54 Music/
drwxrwxrwx  3 root  wheel      3 Nov 28 21:53 Network Trash Folder/
drwxrwxrwx  31 root  wheel    33 Feb  4 14:52 Series/
drwxrwxrwx  10 guest  wheel    11 Jan 12 01:49 Software/
drwxrwxrwx  3 root  wheel      3 Nov  9 23:24 Temporary Items/
drwxrwxrwx  18 guest  wheel    45 Feb 12 21:32 Unsorted/
drwxr-xr-x  5 root  wheel      5 Jan 27 21:33 local/
drwxrwxr-x  5 root  wheel      5 Jan 27 21:33 pbi/
[root@Katrinelund] /mnt/Katrinelund/couchpotato_1#


Hmm, so from the shell I can see the correct folder structure to in the /mnt folder
Pressing the <</ just lists all the folders in the Jail as it should:
0pLFSfT.png
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
hehe, ok I won't do that then but I think I'll change the permissions on the /clientmqueue folder atleast so I can get rid of the error messages.

I'm guessing you mean "ls -l mnt"


Code:
[root@Katrinelund] /mnt/Katrinelund/couchpotato_1# ls -l mnt
total 350
drwxrwxrwx  19 root  wheel    20 Feb 13 20:34 ./
drwxr-xr-x  19 root  wheel    23 Feb 13 20:22 ../
drwxrwxrwx  2 root  wheel      6 Feb 13 21:07 .AppleDB/
drwxrwxrwx  2 root  wheel      3 Nov 28 21:53 .AppleDesktop/
-rwxrwxrwx  1 guest  wheel  24580 Feb 13 20:57 .DS_Store*
drwxrwxrwx  2 guest  wheel    45 Feb 12 21:21 Black Hole/
drwxrwxrwx  3 guest  wheel      3 Feb 13 20:34 Books/
drwxrwxrwx  51 guest  wheel    54 Jan 12 00:26 Games/
drwxrwxrwx  3 guest  wheel      4 Jan 12 01:27 Health & Workout Movies/
drwxrwxrwx  6 guest  wheel      7 Jan 12 01:27 Ljudb??cker/
drwxrwxrwx  15 root  wheel    16 Feb 12 21:18 Movies/
drwxrwxrwx  60 guest  wheel    62 Jan 27 17:54 Music/
drwxrwxrwx  3 root  wheel      3 Nov 28 21:53 Network Trash Folder/
drwxrwxrwx  31 root  wheel    33 Feb  4 14:52 Series/
drwxrwxrwx  10 guest  wheel    11 Jan 12 01:49 Software/
drwxrwxrwx  3 root  wheel      3 Nov  9 23:24 Temporary Items/
drwxrwxrwx  18 guest  wheel    45 Feb 12 21:32 Unsorted/
drwxr-xr-x  5 root  wheel      5 Jan 27 21:33 local/
drwxrwxr-x  5 root  wheel      5 Jan 27 21:33 pbi/
[root@Katrinelund] /mnt/Katrinelund/couchpotato_1#


Hmm, so from the shell I can see the correct folder structure to in the /mnt folder
Pressing the <</ just lists all the folders in the Jail as it should:
0pLFSfT.png
I meant /mnt but from the jail's command line.

maybe you try creating a plugin jail, then installing the CP pbi too it?
 

Naesstrom

Contributor
Joined
Jul 10, 2012
Messages
108
Btw, I checked the clientmqueue folder and it looks like it's 770 so why am I getting the permission denied on that all the time? can it be connected in some way?

Code:
[root@Katrinelund] /mnt/Katrinelund/couchpotato_1/var/spool# ls -l
total 68
drwxr-xr-x  8 root  wheel  8 Sep 27 04:47 ./
drwxr-xr-x  25 root  wheel  25 Feb 13 20:49 ../
drwxrwx---  2 root  wheel  2 Sep 27 04:47 clientmqueue/
drwxrwxr-x  2 root  wheel  3 Feb 13 20:49 lock/
drwxr-xr-x  2 root  wheel  2 Sep 27 04:47 lpd/
drwxr-xr-x  2 root  wheel  2 Sep 27 04:47 mqueue/
drwx------  2 root  wheel  2 Sep 27 04:47 opielocks/
drwxr-xr-x  3 root  wheel  3 Sep 27 04:47 output/
 

Naesstrom

Contributor
Joined
Jul 10, 2012
Messages
108
I meant /mnt but from the jail's command line.

maybe you try creating a plugin jail, then installing the CP pbi too it?


Silly question, how do I switch to the Jail's command line? I usually just ssh in as root! :D

yeah I can try creating a manual Jail for it, using the autocreated one so far in all the tries!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Btw, I checked the clientmqueue folder and it looks like it's 770 so why am I getting the permission denied on that all the time? can it be connected in some way?

Code:
[root@Katrinelund] /mnt/Katrinelund/couchpotato_1/var/spool# ls -l
total 68
drwxr-xr-x  8 root  wheel  8 Sep 27 04:47 ./
drwxr-xr-x  25 root  wheel  25 Feb 13 20:49 ../
drwxrwx---  2 root  wheel  2 Sep 27 04:47 clientmqueue/
drwxrwxr-x  2 root  wheel  3 Feb 13 20:49 lock/
drwxr-xr-x  2 root  wheel  2 Sep 27 04:47 lpd/
drwxr-xr-x  2 root  wheel  2 Sep 27 04:47 mqueue/
drwx------  2 root  wheel  2 Sep 27 04:47 opielocks/
drwxr-xr-x  3 root  wheel  3 Sep 27 04:47 output/
I believe that's a bug in freenas.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Silly question, how do I switch to the Jail's command line? I usually just ssh in as root! :D

yeah I can try creating a manual Jail for it, using the autocreated one so far in all the tries!
jls
jexec # csh
 

Naesstrom

Contributor
Joined
Jul 10, 2012
Messages
108
Ok, created a new jail and tried installing both the 1.0 and the 1.1 CP .PBI but both of them have the same problem with the /mnt contents not showing on the webpage. Deleted them again now and installed from the freenas installer but still no go :(
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ok, created a new jail and tried installing both the 1.0 and the 1.1 CP .PBI but both of them have the same problem with the /mnt contents not showing on the webpage. Deleted them again now and installed from the freenas installer but still no go :(

can you show a screenshot of your jail mountpoint config
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Sorry for being such a noob Joshua but do you mean this:
9gly3E2.png
looks good to me. I'm stumped. you tried chmod -R 777 /mnt/Katrinelund/Downloads ?
 

Naesstrom

Contributor
Joined
Jul 10, 2012
Messages
108
Ok, strangest thing... I added a storage with a new folder in the jail
lD6ln56.png

source: /mnt/Katrinelund_2/Downloads/Movies
destination: /movies

And behold! it worked actually, CP could see the folders in the Jails new movies folder, added some more like Blackhole for the torrents and that worked to?
Seems like as long as I don't use transmission from CP to download the files it's working, would have been fun figuring out the strange behaviour tough!

Thansk for all the help Joshua!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ok, strangest thing... I added a storage with a new folder in the jail
lD6ln56.png

source: /mnt/Katrinelund_2/Downloads/Movies
destination: /movies

And behold! it worked actually, CP could see the folders in the Jails new movies folder, added some more like Blackhole for the torrents and that worked to?
Seems like as long as I don't use transmission from CP to download the files it's working, would have been fun figuring out the strange behaviour tough!

Thansk for all the help Joshua!

glad you got it working.
hmm, what are permissions for /mnt ? That might have been what was screwing you up?
Code:
ls -l
 
Status
Not open for further replies.
Top