Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Can't install pbi: An error occurred!

  1. #11
    Senior Member
    Join Date
    May 2011
    Location
    Curitiba, Brazil, Brazil
    Posts
    1,480
    Please paste # ls -l /var/tmp/firmware

    I think there was a bug in 8.2 that did not set it correctly, I dont remember if it was fixed in time for release.

  2. #12
    Looks like that:

    Code:
    lrwxr-xr-x  1 root  wheel  30 Oct 10 14:07 /var/tmp/firmware -> /mnt/RaidVol/software/.freenas

  3. #13
    Senior Member
    Join Date
    May 2011
    Location
    Curitiba, Brazil, Brazil
    Posts
    1,480
    And how are the permissions in /mnt/RaidVol/software/.freenas ?

    # ls -l /mnt/RaidVol/software/.freenas

  4. #14
    Just gives me back "total 0".
    But there is no dataset ".freenas" ...

    ... ah wait, here it is:

    Code:
    # ls -l /mnt/RaidVol/software                                
    total 184465                                                                    
    drwxr-xr-x  2 www   www           2 Oct  9 23:27 .freenas                       
    drwxr-xr-x  2 root  wheel         2 Oct  5 13:27 pbi                            
    -rw-------  1 root  www    94480204 Oct  5 13:26 plugins_jail-8.2.0-amd64.pbi
    Last edited by Child; 10-10-2012 at 04:35 AM.

  5. #15
    Senior Member
    Join Date
    May 2011
    Location
    Curitiba, Brazil, Brazil
    Posts
    1,480
    Weird, looks fine.

    Try this:

    # killall -HUP nginx

    Then try upload again...

    And one more thing, how are the permissions in /mnt/RaidVol and /mnt/RaidVol/software?

    # ls -la /mnt/RaidVol

  6. #16
    Code:
    # ls -la /mnt/RaidVol                                        
    total 25                                                                        
    drwxrwx---  7 Fabian  wheel    7 Oct  5 20:26 .                                 
    drwxr-xr-x  4 root    wheel  512 Oct 10 14:21 ..                                
    drwxr-xr-x  2 www     www      2 Oct  5 13:27 .freenas                          
    drwxrwxr-x  6 Fabian  wheel    6 Oct  6 17:06 data                              
    drwxrwxrwx  3 root    wheel    3 Oct  5 13:26 jail                              
    drwxrwx---  2 Fabian  wheel    9 Oct  8 11:02 scripts                           
    drwxrwxrwx  4 root    wheel    5 Oct 10 14:33 software
    # killall -HUP nginx: Didn't change a thing ...
    But - am I getting this right: The pbi-install/upload fails because it is not able to write to /mnt/RaidVol/software/.freenas ?

  7. #17
    Senior Member
    Join Date
    May 2011
    Location
    Curitiba, Brazil, Brazil
    Posts
    1,480
    Ok, I get it. The problem is that /mnt/RaidVol has no execute permission for others...

    Do this:

    # chmod o+x /mnt/RaidVol

    Upload should work now.

  8. #18
    I just came to the same conclusion
    And it worked - thank you very much for you help.

Posting Permissions

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