Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: Plugins on UFS sytem?

  1. #11
    Junior Member
    Join Date
    Apr 2012
    Posts
    2

    Quote Originally Posted by William Grzybowski View Post
    I wrote this on the top of my head, I won't make any promises...
    You are the man! I will try this as soon as I get home from work.

    Edit: It worked! I had to SSH in through putty to get the sqlite3 command to work as it would not work through the shell.

    One last question, is there a way to change the download directory to something outside of the /tank/Jail/ folder?

    Thank you so much!~!! Cheers~
    Last edited by dzasta; 04-26-2012 at 03:25 AM.

  2. #12
    Junior Member
    Join Date
    Apr 2012
    Location
    Italy
    Posts
    5
    There's something I miss... when running:

    tail +9 /mnt/Local/.freenas/pbifile.pbi | tar xf - -C /mnt/Local/jail/jailname --exclude "./dev/*" --exclude "./proc/*"

    I got tar: Unrecognized archive format.

  3. #13
    Senior Member
    Join Date
    May 2011
    Location
    Curitiba, Brazil, Brazil
    Posts
    1,480
    tail +9 is for amd64, for i386 I _think_ it is tail +6

  4. #14
    Junior Member
    Join Date
    Apr 2012
    Location
    Italy
    Posts
    5
    tail +1 for i386 - after extraction, mkdir and sqlite3 plugins still unable to start. Jail look properly configured from Plugins>Management>Settings. In messages i get:

    May 1 16:04:11 freenas notifier: cp: /mnt/Local/jail/jailname/etc/resolv.conf: No such file or directory
    May 1 16:04:11 freenas notifier: security.jail.allow_raw_sockets: 0 -> 1
    May 1 16:04:11 freenas notifier: Configuring jails: sysvipc_allow=YES.
    May 1 16:04:11 freenas notifier: Starting jails: cannot start jail "jailname":
    May 1 16:04:11 freenas notifier: jail: getpwnam: root: No such file or directory
    May 1 16:04:11 freenas notifier: .
    May 1 16:04:12 freenas notifier: Stopping jails: cannot stop jail jailname. No jail id in /var/run

    I had a look at the dirs, and found out which was the problem. It seems for i386 the destination dir is not properly renamed to the jail name - it was:

    plugins_jail-x86 (or something similar... I already renamed :/ )

    while it had to be "jailname" (or whatever name you gave to the jail) - so I renamed the dir, and then the plugins service started. At first I though it was ok to have the dir (plugins_jail-x86) named like this, what made me change my mind was the:

    /mnt/Local/jail/jailname/etc/resolv.conf: No such file or directory


    Thanks William for your help and your prompt replay!

  5. #15
    Senior Member
    Join Date
    May 2011
    Location
    Curitiba, Brazil, Brazil
    Posts
    1,480
    Somethins with the paths or database is not right...
    Please paste:

    #ls /mnt/Local/jail
    #ls /mnt/Local/jail/jailname
    #sqlite3 /data/freenas-v1.db "select * from services_pluginsjail"

  6. #16
    Junior Member
    Join Date
    Apr 2012
    Location
    Italy
    Posts
    5
    #ls /mnt/Local/jail
    ./ ../ jailname/

    #ls /mnt/Local/jail/jailname
    ./ .profile boot/ media/ sbin/
    ../ .sbin/ dev/ mnt/ sys@
    .cshrc COPYRIGHT etc/ proc/ tmp/
    .headerdir/ access.log lib/ rescue/ usr/
    .pbi-hash-list bin/ libexec/ root/ var/

    #sqlite3 /data/freenas-v1.db "select * from services_pluginsjail"
    /mnt/Local/jail|1|/mnt/Local/plugins|jailname|1


    Actually, after renaming it is working for me (and now struggling with minidlna ). The error was raised prior the renaming. But there's a bug somewhere for i386 jail pbi install procedure that keeps the name in archive (plugins_jail-x86 or whatever it was) instead of the jail name you gave in web configuration form. I had to rename correctly manually.

  7. #17
    Senior Member PrincePaul's Avatar
    Join Date
    Feb 2012
    Location
    Germany
    Posts
    125
    Quote Originally Posted by William Grzybowski View Post
    Something like:

    # sqlite3 /data/freenas-v1.db "insert into services_pluginsjail values ('/mnt/tank/jail', 1, '/mnt/tank/plugins', 'jailname', 1)"

    I can´t belive ... it works
    THX.
    Intel Celeron G540 II ASRock H77 Pro4-M II 16 GB DDR3 1333 RAM II 8 GB USB Stick for OS
    Raid z1: 2x 2 TB WD Green WD20EARX II 3x 2 TB WD Red WD20EFRX

    http://www.sysprofile.de/id91980

  8. #18
    Junior Member
    Join Date
    Oct 2012
    Posts
    3
    Sorry to break in this topic and brining it up. I'm trying to run sabnzbd and sickbeard under freenas 8.2. I installend the jail phi, both the sabnzbd and sickbeard pbi's but when i try to switch them "on" it just gives me an error.. any thoughts why it may not work ? Reason i'm posting here is because i'm on UFS, I had it al working in ZFS but I really want to stick with UFS due to the lack of space otherwise. Thanks in advance!

  9. #19
    Senior Member
    Join Date
    May 2011
    Location
    Curitiba, Brazil, Brazil
    Posts
    1,480
    Does any other plugin work? transmission, minidlna, firefly?

  10. #20
    Junior Member
    Join Date
    Oct 2012
    Posts
    3
    No, neither of those plugins work, i tried them all. Tried all the latest versions, both freeness and the plugins.. It tells me the plugins are installend successfully and once I click them it gives me " some error error occurred ".. Have really no clue what i did wrong...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •