Introducing boiler, a plugin packaging and distribution system for unRAID


Recommended Posts

I have unraid 5.0 and i got a second usb to test, so i DL 5.0 nothing on it and installed boiler, i ran the "sources" command that it says to do, did not work so  i rebooted and tried the below command and got this error. Before i install it on my live system can you point me in the right direction.

 

Tower login: root

Linux 3.9.6p-unRAID.

root@Tower:~# boiler search

/usr/lib/ruby/1.9.1/net/http.rb:800:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)

        from /usr/lib/ruby/1.9.1/net/http.rb:800:in `block in connect'

        from /usr/lib/ruby/1.9.1/timeout.rb:55:in `timeout'

        from /usr/lib/ruby/1.9.1/timeout.rb:100:in `timeout'

        from /usr/lib/ruby/1.9.1/net/http.rb:800:in `connect'

        from /usr/lib/ruby/1.9.1/net/http.rb:756:in `do_start'

        from /usr/lib/ruby/1.9.1/net/http.rb:745:in `start'

        from /usr/lib/ruby/1.9.1/net/http.rb:1285:in `request'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/request.rb:93:in `perform'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty.rb:486:in `perform_request'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty.rb:423:in `get'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty.rb:518:in `get'

        from /usr/local/boiler/boiler/lib/boiler/helpers.rb:129:in `remote_version'

        from /usr/local/boiler/boiler/lib/boiler/helpers.rb:118:in `check_for_update'

        from /usr/local/boiler/boiler/lib/boiler/cli.rb:18:in `initialize'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-577fcc457805/lib/thor.rb:360:in `new'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-577fcc457805/lib/thor.rb:360:in `dispatch'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-577fcc457805/lib/thor/base.rb:441:in `start'

        from /usr/local/bin/boiler:13:in `<main>'

root@Tower:~#

 

You probably need to run `c_rehash` to relink your certificates. This is an issue that comes up anytime SSL is involved (and boiler uses SSL a lot).

Link to comment
  • Replies 92
  • Created
  • Last Reply

Top Posters In This Topic

I have unraid 5.0 and i got a second usb to test, so i DL 5.0 nothing on it and installed boiler, i ran the "sources" command that it says to do, did not work so  i rebooted and tried the below command and got this error. Before i install it on my live system can you point me in the right direction.

 

Tower login: root

Linux 3.9.6p-unRAID.

root@Tower:~# boiler search

/usr/lib/ruby/1.9.1/net/http.rb:800:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)

        from /usr/lib/ruby/1.9.1/net/http.rb:800:in `block in connect'

        from /usr/lib/ruby/1.9.1/timeout.rb:55:in `timeout'

        from /usr/lib/ruby/1.9.1/timeout.rb:100:in `timeout'

        from /usr/lib/ruby/1.9.1/net/http.rb:800:in `connect'

        from /usr/lib/ruby/1.9.1/net/http.rb:756:in `do_start'

        from /usr/lib/ruby/1.9.1/net/http.rb:745:in `start'

        from /usr/lib/ruby/1.9.1/net/http.rb:1285:in `request'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/request.rb:93:in `perform'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty.rb:486:in `perform_request'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty.rb:423:in `get'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty.rb:518:in `get'

        from /usr/local/boiler/boiler/lib/boiler/helpers.rb:129:in `remote_version'

        from /usr/local/boiler/boiler/lib/boiler/helpers.rb:118:in `check_for_update'

        from /usr/local/boiler/boiler/lib/boiler/cli.rb:18:in `initialize'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-577fcc457805/lib/thor.rb:360:in `new'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-577fcc457805/lib/thor.rb:360:in `dispatch'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-577fcc457805/lib/thor/base.rb:441:in `start'

        from /usr/local/bin/boiler:13:in `<main>'

root@Tower:~#

 

You probably need to run `c_rehash` to relink your certificates. This is an issue that comes up anytime SSL is involved (and boiler uses SSL a lot).

 

Thanks but can you EILI5 i typed the c_rehash but got an error.

 

Tower login: root

Linux 3.9.6p-unRAID.

root@Tower:~# c_rehash

-bash: /usr/bin/c_rehash: /usr/bin/perl: bad interpreter: No such file or directory

root@Tower:~#

Link to comment

Nicinabox, like what your doing here.  Great to see professional development practices applied to a community project like this.

 

I too had the certificate errors above when I first installed boiler to try it out.  I didn't know what I was doing and haven't had time to troubleshoot.  I took the brute force approach and reran the installer and then everything worked for some reason.  Now I get the error again (several reboots later). 

 

I clearly don't understand what's causing this but perhaps this info might help you address a potential problem (or explain what I did wrong ).

 

Cheers and best of luck.

 

Sent from my Nexus 4 using Tapatalk

 

 

Link to comment

Nicinabox, like what your doing here.  Great to see professional development practices applied to a community project like this.

 

I too had the certificate errors above when I first installed boiler to try it out.  I didn't know what I was doing and haven't had time to troubleshoot.  I took the brute force approach and reran the installer and then everything worked for some reason.  Now I get the error again (several reboots later). 

 

I clearly don't understand what's causing this but perhaps this info might help you address a potential problem (or explain what I did wrong ).

 

Cheers and best of luck.

 

Sent from my Nexus 4 using Tapatalk

 

You're not doing anything wrong.

 

There's an issue about the certificate stuff on Github. The issue is due in part to the order that dependencies are installed (another part is that unraid doesn't ship with the ca-certificates package). I've talked more about that in hopes of raising some awareness on the issue, since it really does impact the reliability of projects like this.

 

I have a plan for addressing this issue, but it's not exactly elegant. It would be ideal to have an official solution from Limetech, but it's unlikely that will happen.

Link to comment

I have unraid 5.0 and i got a second usb to test, so i DL 5.0 nothing on it and installed boiler, i ran the "sources" command that it says to do, did not work so  i rebooted and tried the below command and got this error. Before i install it on my live system can you point me in the right direction.

 

Tower login: root

Linux 3.9.6p-unRAID.

root@Tower:~# boiler search

/usr/lib/ruby/1.9.1/net/http.rb:800:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)

        from /usr/lib/ruby/1.9.1/net/http.rb:800:in `block in connect'

        from /usr/lib/ruby/1.9.1/timeout.rb:55:in `timeout'

        from /usr/lib/ruby/1.9.1/timeout.rb:100:in `timeout'

        from /usr/lib/ruby/1.9.1/net/http.rb:800:in `connect'

        from /usr/lib/ruby/1.9.1/net/http.rb:756:in `do_start'

        from /usr/lib/ruby/1.9.1/net/http.rb:745:in `start'

        from /usr/lib/ruby/1.9.1/net/http.rb:1285:in `request'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/request.rb:93:in `perform'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty.rb:486:in `perform_request'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty.rb:423:in `get'

        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty.rb:518:in `get'

        from /usr/local/boiler/boiler/lib/boiler/helpers.rb:129:in `remote_version'

        from /usr/local/boiler/boiler/lib/boiler/helpers.rb:118:in `check_for_update'

        from /usr/local/boiler/boiler/lib/boiler/cli.rb:18:in `initialize'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-577fcc457805/lib/thor.rb:360:in `new'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-577fcc457805/lib/thor.rb:360:in `dispatch'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-577fcc457805/lib/thor/base.rb:441:in `start'

        from /usr/local/bin/boiler:13:in `<main>'

root@Tower:~#

 

You probably need to run `c_rehash` to relink your certificates. This is an issue that comes up anytime SSL is involved (and boiler uses SSL a lot).

 

I also have this issue. Running `c_rehash` just gave me this:

 

root@Tower:~# c_rehash
Doing /etc/ssl/certs

 

/etc/ssl/certs is empty.

Link to comment

Whaaa

 

trolley install ca-certificates
trolley install perl
c_rehash
boiler

 

Boiler is supposed to do all that for you on install. Was there a failure during installation? Did this occur after a reboot for the first time, or immediately after install?

 

whoaaa wait, this is the first ive seen this trolley install ca-certificates

i did trolley install perl and that went fine

Link to comment

Whaaa

 

trolley install ca-certificates
trolley install perl
c_rehash
boiler

 

Boiler is supposed to do all that for you on install. Was there a failure during installation? Did this occur after a reboot for the first time, or immediately after install?

 

whoaaa wait, this is the first ive seen this trolley install ca-certificates

i did trolley install perl and that went fine

 

and now it works, YEA!!

 

root@Tower:~# boiler

Commands:

  boiler convert PLG            # Convert a plg to boiler package

  boiler deploy DIR HOST        # Pack and copy to an unRAID machine (for te...

  boiler help [COMMAND]          # Describe available commands or one specifi...

  boiler info NAME              # Get info on installed package

  boiler init [DIRECTORY]        # Create a boiler.json in the specified dire...

  boiler install NAME [VERSION]  # Install a package by name

  boiler list [NAME]            # List installed packages

  boiler open NAME              # Open a package's homepage

  boiler pack DIR                # Pack a directory for distribution

  boiler register NAME URL      # Register a package

  boiler remove NAME            # Remove (uninstall) a package

  boiler search NAME            # Search for packages

  boiler update NAME [VERSION]  # Update package by name

  boiler version                # Prints version

 

root@Tower:~#

Link to comment

Whaaa

 

trolley install ca-certificates
trolley install perl
c_rehash
boiler

 

Boiler is supposed to do all that for you on install. Was there a failure during installation? Did this occur after a reboot for the first time, or immediately after install?

 

whoaaa wait, this is the first ive seen this trolley install ca-certificates

i did trolley install perl and that went fine

 

So i tried this on my main system

install trolley

install boiler

trolley install ca-certs (did not download anything as trolley or boiler installed the certs)

trolley install perl (no DL it found it )

c_hash ( re-did the certs

boiler. fails same error (/usr/lib/ruby/1.9.1/net/http.rb:800:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)

closed out of telnet session, same problem on a new telnet window.

 

I cannot reboot it since im am accessing via VM on the unraid,

 

I will be rebooting once I am on site later this morning.

Link to comment

nicinabox

 

Got it working, I've been having issues with my router, that i need to reboot it every once in a while.

 

So i did and re_hash and voila got boiler running. thanks!

 

I'm working to make this more reliable so issues like this don't continue to be a pain.

 

Thanks for your hard work,

 

i was looking at  the commands for boiler , the one that says convert from plg how does that work?

 

I want to try this on nzbdrone plg that one of the other users wrote.

Link to comment

Whaaa

 

trolley install ca-certificates
trolley install perl
c_rehash
boiler

 

Boiler is supposed to do all that for you on install. Was there a failure during installation? Did this occur after a reboot for the first time, or immediately after install?

 

Just wanted to confirm this worked for me too, minus the Perl install, because I already had it. Thanks!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.