Calibre in the plugin jail

fontes31

Explorer
Joined
Apr 6, 2012
Messages
96

Attachments

  • Captura de ecrã 2016-06-25, às 20.59.42.png
    Captura de ecrã 2016-06-25, às 20.59.42.png
    973 KB · Views: 372

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
I don't know as I'm still not sure where you're mounting the jail storage.

Why not just mount your calibre library location (guessing this is /mnt/tank/media/calibreLibrary ?) to /mnt in your jail?

The library="/mnt" should work fine, so when you run the Cron task you should be able to access calibre from the jail IP on port 8282 e.g. http://jail.ip:8282
 

fontes31

Explorer
Joined
Apr 6, 2012
Messages
96
I don't know as I'm still not sure where you're mounting the jail storage.

Why not just mount your calibre library location (guessing this is /mnt/tank/media/calibreLibrary ?) to /mnt in your jail?

The library="/mnt" should work fine, so when you run the Cron task you should be able to access calibre from the jail IP on port 8282 e.g. http://jail.ip:8282


yes, my calibre location is /mnt/tank/media/calibreLibrary, created the cron task but not working

i think was created correct
 

Attachments

  • Captura de ecrã 2016-06-25, às 22.57.18.png
    Captura de ecrã 2016-06-25, às 22.57.18.png
    1.3 MB · Views: 397

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
You're missing some -- too! Mine looks like this:

Code:
jexec calibre-server calibre-server --with-library="/mnt" --port="8282" --username="username" --password="password"


I'd restart the jail, enter the jail shell and check that /mnt displays your calibre library, and if it does, running the edited cron task from the WUI might work.
 

fontes31

Explorer
Joined
Apr 6, 2012
Messages
96
You're missing some -- too! Mine looks like this:

Code:
jexec calibre-server calibre-server --with-library="/mnt" --port="8282" --username="username" --password="password"


I'd restart the jail, enter the jail shell and check that /mnt displays your calibre library, and if it does, running the edited cron task from the WUI might work.
in shell i have -

/mnt/media
 

fontes31

Explorer
Joined
Apr 6, 2012
Messages
96
this is the jail shell
 

Attachments

  • Captura de ecrã 2016-06-25, às 23.22.54.png
    Captura de ecrã 2016-06-25, às 23.22.54.png
    1.1 MB · Views: 378

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
Then it should work with:

Code:
jexec calibre-server calibre-server --with-library="/mnt/media/calibreLibrary" --port="8282" --username="username" --password="password"


Although you probably started the calibre server with the previous command (without -- flags) so make sure you restart the jail (by clicking the yellow circle icon underneath the list of jails)
 

fontes31

Explorer
Joined
Apr 6, 2012
Messages
96
Then it should work with:

Code:
jexec calibre-server calibre-server --with-library="/mnt/media/calibreLibrary" --port="8282" --username="username" --password="password"


Although you probably started the calibre server with the previous command (without -- flags) so make sure you restart the jail (by clicking the yellow circle icon underneath the list of jails)
I did exactly has you said, but not working

the cron in attachment

my freenas version is 9.3. Should i update to 9.10?
 

Attachments

  • Captura de ecrã 2016-06-26, às 10.11.17.png
    Captura de ecrã 2016-06-26, às 10.11.17.png
    1.7 MB · Views: 426

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
It shouldn't have a one at the start!

Perhaps you didn't install the pkg correctly then. From the jail shell, what does this return > service -e
 

fontes31

Explorer
Joined
Apr 6, 2012
Messages
96
It shouldn't have a one at the start!

Perhaps you didn't install the pkg correctly then. From the jail shell, what does this return > service -e

in attachment
 

Attachments

  • Captura de ecrã 2016-06-26, às 13.59.13.png
    Captura de ecrã 2016-06-26, às 13.59.13.png
    1.7 MB · Views: 412

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
So calibre isn't running. I suggest you go back and try installing everything again. Personally, I'd delete the jail and start again.
 

fontes31

Explorer
Joined
Apr 6, 2012
Messages
96
it created as a "standard" jail
running the comand "pkg upgrade" i have "pkg: skipping unknown key 'messages'. Is normal?
 

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
Try running pkg update before pkg upgrade.
 

fontes31

Explorer
Joined
Apr 6, 2012
Messages
96
in the end of 'pkg install calibre' i have:

The py27-apsw port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future
 

fontes31

Explorer
Joined
Apr 6, 2012
Messages
96
i have also this error in 'pkg install calibre':

sysctl: unknown oid 'compat.linux.osrelease'
linuxulator is not (kld)loaded, exiting
pkg: PRE-INSTALL script failed
 

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
No idea about those, sorry. Perhaps visit the calibre support pages and ask someone there?
 
Top