Trolley: A simple package tool for unRAID


Recommended Posts

  • 4 weeks later...
  • Replies 130
  • Created
  • Last Reply

Top Posters In This Topic

I'm coming up with this message on when calling "trolley list", and only on that command.

It's similar to Coppits a few posts above so I re-installed openssl and ruby like you suggested to him but the same message is still coming up, any ideas?

Running unRAID 5.05, trolley 0.2.4, ruby 1.9.3_p484

 

# trolley list
/usr/local/boiler/trolley/lib/trolley/helpers.rb:35:in `details': undefined method `names' for nil:NilClass (NoMethodError)
        from /usr/local/boiler/trolley/lib/trolley/cli.rb:35:in `block in list'
        from /usr/local/boiler/trolley/lib/trolley/cli.rb:34:in `map'
        from /usr/local/boiler/trolley/lib/trolley/cli.rb:34:in `list'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/command.rb:27:in `run'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/invocation.rb:121:in `invoke_command'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor.rb:363:in `dispatch'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/base.rb:440:in `start'
        from /usr/local/bin/trolley:13:in `<main>'

Link to comment

I'm coming up with this message on when calling "trolley list", and only on that command.

It's similar to Coppits a few posts above so I re-installed openssl and ruby like you suggested to him but the same message is still coming up, any ideas?

Running unRAID 5.05, trolley 0.2.4, ruby 1.9.3_p484

 

# trolley list
/usr/local/boiler/trolley/lib/trolley/helpers.rb:35:in `details': undefined method `names' for nil:NilClass (NoMethodError)
        from /usr/local/boiler/trolley/lib/trolley/cli.rb:35:in `block in list'
        from /usr/local/boiler/trolley/lib/trolley/cli.rb:34:in `map'
        from /usr/local/boiler/trolley/lib/trolley/cli.rb:34:in `list'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/command.rb:27:in `run'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/invocation.rb:121:in `invoke_command'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor.rb:363:in `dispatch'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/base.rb:440:in `start'
        from /usr/local/bin/trolley:13:in `<main>'

 

Hm, this looks a bit different from coppit's. Can you post the output of `ls /var/log/packages`

Link to comment

I forgot to add that it was working fine until I installed btsync.

 

/var/log/packages# ls -lh
total 2.0M
drwxr-xr-x  2 root root  880 2014-03-22 01:04 ./
drwxrwxrwx 11 root root  280 2014-02-16 01:12 ../
-rw-r--r--  1 root root 5.3K 2014-03-22 01:04 alsa-lib-1.0.25-i486-1
-rw-r--r--  1 root root 6.0K 2014-03-22 01:03 automake-1.11.5-noarch-1
-rw-r--r--  1 root root 8.9K 2014-03-22 01:02 binutils-2.21.51.0.6-i486-1
-rw-r--r--  1 root root  13K 2014-03-22 01:03 ca-certificates-20130906-noarch-1
-rw-r--r--  1 root root 1.2K 2014-03-22 01:04 dynamix.active.streams-2.1.0-i486-1
-rw-r--r--  1 root root  727 2014-03-22 01:04 dynamix.cache.dirs-2.1.0-i486-1
-rw-r--r--  1 root root 1.4K 2014-03-22 01:04 dynamix.disk.health-2.1.1-i486-1
-rw-r--r--  1 root root 1.5K 2014-03-22 01:04 dynamix.email.notify-2.1.0-i486-1
-rw-r--r--  1 root root  982 2014-03-22 01:04 dynamix.plugin.control-2.1.1-i486-1
-rw-r--r--  1 root root  867 2014-03-22 01:04 dynamix.s3.sleep-2.1.0-i486-1
-rw-r--r--  1 root root  960 2014-03-22 01:04 dynamix.system.info-2.1.1-i486-1
-rw-r--r--  1 root root 1.9K 2014-03-22 01:04 dynamix.system.stats-2.1.2-i486-1
-rw-r--r--  1 root root  561 2014-03-22 01:04 dynamix.system.temp-2.1.0-i486-1
-rw-r--r--  1 root root  13K 2014-03-22 01:03 dynamix.webGui-2.2.3-i486-1
-rw-r--r--  1 root root  910 2014-03-22 01:04 faac-1.28-i486-5sl
-rw-r--r--  1 root root  19K 2014-03-22 01:02 gcc-4.5.2-i486-2
-rw-r--r--  1 root root  39K 2014-03-22 01:03 gcc-g++-4.5.2-i486-2
-rw-r--r--  1 root root  53K 2014-03-22 01:03 git-1.8.4-i486-1
-rw-r--r--  1 root root 307K 2014-03-22 01:02 glibc-2.11.1-i486-3
-rw-r--r--  1 root root  21K 2014-03-22 01:02 kernel-headers-2.6.37.6_smp-x86-3
-rw-r--r--  1 root root 1.6K 2014-03-22 01:04 lame-3.99-i486-1sl
-rw-r--r--  1 root root 5.4K 2014-03-22 01:04 libav-i486-rj
-rw-r--r--  1 root root 1.3K 2014-03-22 01:03 libelf-0.8.13-i486-2
-rw-r--r--  1 root root 1.7K 2014-03-22 01:04 libmp4v2-1.9.1-i486-3_cngu
-rw-r--r--  1 root root  976 2014-03-22 01:03 libmpc-0.8.2-i486-2
-rw-r--r--  1 root root 5.3K 2014-03-22 01:03 libyaml-0.1.4-i486-1_slack13.37
-rw-r--r--  1 root root 2.4K 2014-03-22 01:04 lm_sensors-3.3.4-i486-1_slack13.1
-rw-r--r--  1 root root 3.4K 2014-03-22 01:03 make-3.82-i486-4_slack13.37
-rw-r--r--  1 root root  11K 2014-03-22 01:04 mpeg4ip-1.5.0.1-i486-1ahl
-rw-r--r--  1 root root 1.5K 2014-03-22 01:03 mpfr-3.0.1-i486-1
-rw-r--r--  1 root root 5.2K 2014-03-22 01:00 nano-2.2.4-i486-1
-rw-r--r--  1 root root  56K 2014-03-22 01:00 ncurses-5.9-i486-2
-rw-r--r--  1 root root  33K 2014-03-22 01:04 openssl-0.9.8y-i486-1_slack13.37
-rw-r--r--  1 root root 1.6K 2014-03-22 01:04 openssl-solibs-0.9.8y-i486-1_slack13.37
-rw-r--r--  1 root root 128K 2014-03-22 01:02 perl-5.18.1-i486-1
-rw-r--r--  1 root root 1.7K 2014-03-22 01:03 powerdown-2.06-noarch-unRAID
-rw-r--r--  1 root root 215K 2014-03-22 01:02 python-2.6.6-i486-1
-rw-r--r--  1 root root 892K 2014-03-22 01:03 ruby-1.9.3_p484-i486-1_slack14.0
-rw-r--r--  1 root root 1.3K 2014-03-22 01:00 trolley-0.2.4-noarch-unraid
-rw-r--r--  1 root root  439 2014-03-22 01:04 x264-snapshot-20120727-2245-stable-i486-rj
-rw-r--r--  1 root root  915 2014-03-22 01:03 zlib-1.2.8-i486-1

 

Link to comment

I forgot to add that it was working fine until I installed btsync.

 

/var/log/packages# ls -lh
total 2.0M
drwxr-xr-x  2 root root  880 2014-03-22 01:04 ./
drwxrwxrwx 11 root root  280 2014-02-16 01:12 ../
-rw-r--r--  1 root root 5.3K 2014-03-22 01:04 alsa-lib-1.0.25-i486-1
-rw-r--r--  1 root root 6.0K 2014-03-22 01:03 automake-1.11.5-noarch-1
-rw-r--r--  1 root root 8.9K 2014-03-22 01:02 binutils-2.21.51.0.6-i486-1
-rw-r--r--  1 root root  13K 2014-03-22 01:03 ca-certificates-20130906-noarch-1
-rw-r--r--  1 root root 1.2K 2014-03-22 01:04 dynamix.active.streams-2.1.0-i486-1
-rw-r--r--  1 root root  727 2014-03-22 01:04 dynamix.cache.dirs-2.1.0-i486-1
-rw-r--r--  1 root root 1.4K 2014-03-22 01:04 dynamix.disk.health-2.1.1-i486-1
-rw-r--r--  1 root root 1.5K 2014-03-22 01:04 dynamix.email.notify-2.1.0-i486-1
-rw-r--r--  1 root root  982 2014-03-22 01:04 dynamix.plugin.control-2.1.1-i486-1
-rw-r--r--  1 root root  867 2014-03-22 01:04 dynamix.s3.sleep-2.1.0-i486-1
-rw-r--r--  1 root root  960 2014-03-22 01:04 dynamix.system.info-2.1.1-i486-1
-rw-r--r--  1 root root 1.9K 2014-03-22 01:04 dynamix.system.stats-2.1.2-i486-1
-rw-r--r--  1 root root  561 2014-03-22 01:04 dynamix.system.temp-2.1.0-i486-1
-rw-r--r--  1 root root  13K 2014-03-22 01:03 dynamix.webGui-2.2.3-i486-1
-rw-r--r--  1 root root  910 2014-03-22 01:04 faac-1.28-i486-5sl
-rw-r--r--  1 root root  19K 2014-03-22 01:02 gcc-4.5.2-i486-2
-rw-r--r--  1 root root  39K 2014-03-22 01:03 gcc-g++-4.5.2-i486-2
-rw-r--r--  1 root root  53K 2014-03-22 01:03 git-1.8.4-i486-1
-rw-r--r--  1 root root 307K 2014-03-22 01:02 glibc-2.11.1-i486-3
-rw-r--r--  1 root root  21K 2014-03-22 01:02 kernel-headers-2.6.37.6_smp-x86-3
-rw-r--r--  1 root root 1.6K 2014-03-22 01:04 lame-3.99-i486-1sl
-rw-r--r--  1 root root 5.4K 2014-03-22 01:04 libav-i486-rj
-rw-r--r--  1 root root 1.3K 2014-03-22 01:03 libelf-0.8.13-i486-2
-rw-r--r--  1 root root 1.7K 2014-03-22 01:04 libmp4v2-1.9.1-i486-3_cngu
-rw-r--r--  1 root root  976 2014-03-22 01:03 libmpc-0.8.2-i486-2
-rw-r--r--  1 root root 5.3K 2014-03-22 01:03 libyaml-0.1.4-i486-1_slack13.37
-rw-r--r--  1 root root 2.4K 2014-03-22 01:04 lm_sensors-3.3.4-i486-1_slack13.1
-rw-r--r--  1 root root 3.4K 2014-03-22 01:03 make-3.82-i486-4_slack13.37
-rw-r--r--  1 root root  11K 2014-03-22 01:04 mpeg4ip-1.5.0.1-i486-1ahl
-rw-r--r--  1 root root 1.5K 2014-03-22 01:03 mpfr-3.0.1-i486-1
-rw-r--r--  1 root root 5.2K 2014-03-22 01:00 nano-2.2.4-i486-1
-rw-r--r--  1 root root  56K 2014-03-22 01:00 ncurses-5.9-i486-2
-rw-r--r--  1 root root  33K 2014-03-22 01:04 openssl-0.9.8y-i486-1_slack13.37
-rw-r--r--  1 root root 1.6K 2014-03-22 01:04 openssl-solibs-0.9.8y-i486-1_slack13.37
-rw-r--r--  1 root root 128K 2014-03-22 01:02 perl-5.18.1-i486-1
-rw-r--r--  1 root root 1.7K 2014-03-22 01:03 powerdown-2.06-noarch-unRAID
-rw-r--r--  1 root root 215K 2014-03-22 01:02 python-2.6.6-i486-1
-rw-r--r--  1 root root 892K 2014-03-22 01:03 ruby-1.9.3_p484-i486-1_slack14.0
-rw-r--r--  1 root root 1.3K 2014-03-22 01:00 trolley-0.2.4-noarch-unraid
-rw-r--r--  1 root root  439 2014-03-22 01:04 x264-snapshot-20120727-2245-stable-i486-rj
-rw-r--r--  1 root root  915 2014-03-22 01:03 zlib-1.2.8-i486-1

 

It looks like the package `libav-i486-rj` doesn't match the standard "name-version-arch-build" naming format. It's likely erroring on that package.

Link to comment

Thanks nicinabox, I renamed the file and the command works.

I found it was part of the AirVideo plugin not Btsync as I first thought, funny thing is that AirVideo never worked anyway so I just removed the whole plugin.

 

Boosh.

 

I should make that a bit more robust so it doesn't break on misformatted names.

Link to comment

Here's another thing I'd appreciate you helping me out on. It's not a big deal as it doesn't cause any issues, but it's an itch that I have to scratch.

 

~# 'source /etc/bundlerc'
-bash: source /etc/bundlerc: No such file or directory

 

there is a file bundlerc in etc but no idea why it responds with no such file or directory...

Link to comment

/etc# cat bundlerc
export PATH=/boot/custom/gems/ruby/1.9.1/bin:$PATH
export GEM_HOME=/boot/custom/gems/ruby/1.9.1
export GEM_PATH=/boot/custom/gems/ruby/1.9.1

 

Looks good. In your original you have single quotes around the command. Did you mean to do that? that should just be `source /etc/bundlerc`

Link to comment

Looks good. In your original you have single quotes around the command. Did you mean to do that? that should just be `source /etc/bundlerc`

Oh my, so they're not single quote marks that show on load (please run 'source /etc/bundlerc'...) - I assumed it was, doh!

I don't get a bash response  when issuing that command, is that normal?

Link to comment

It's common in unix to receive no message for success. Remember: no news is good news.

Another reason I find Unix so thrilling >:( .

 

Its funny, on my Mac, or with the Windows OS, if I do something and it works, I don't want a dialog box to pop up saying, "Success". (or worse, an automated paperclip giving me a 'High Five'.)

But there's something about the *nix command line interface that just begs for an 'Okay!' response after a success.

Link to comment

It's common in unix to receive no message for success. Remember: no news is good news.

Another reason I find Unix so thrilling >:( .

 

Its funny, on my Mac, or with the Windows OS, if I do something and it works, I don't want a dialog box to pop up saying, "Success". (or worse, an automated paperclip giving me a 'High Five'.)

But there's something about the *nix command line interface that just begs for an 'Okay!' response after a success.

 

This most follows with the Rule of Silence. When a program has nothing surprising to say, it should say nothing. Extra output is regarded as verbose and unnecessary.

 

Lt-Chewie- I've made some changes to avoid that nasty error you were seeing. New version will be released shortly.

Link to comment

Awesome-sauce thanks again  :)

Though I've already removed the AirVideo plugin due to it not working anyway - besides I'll probably end up using Plex.

 

I have to say I don't agree with the unix rule of silence. It's reassuring to know that a command you have issued has worked or not, or at least have an option to see feedback if none is given at default ala -v.

In my case where I used single quotes instead of the back ticks, when I saw that I was to run `source /etc/bundlerc' I thought they were quote marks and included them which in turn gave me an error - But, I do remember running that command without the single quotes (thinking they were quote marks to emphasis that command) which in turn gave me no response.

An incorrect command that gave me no response...so no news is good news is not always good news  ;)

 

I assume boiler will update trolley or would it be better to just remove and install from scratch?

Link to comment

Awesome-sauce thanks again  :)

Though I've already removed the AirVideo plugin due to it not working anyway - besides I'll probably end up using Plex.

 

I have to say I don't agree with the unix rule of silence. It's reassuring to know that a command you have issued has worked or not, or at least have an option to see feedback if none is given at default ala -v.

In my case where I used single quotes instead of the back ticks, when I saw that I was to run `source /etc/bundlerc' I thought they were quote marks and included them which in turn gave me an error - But, I do remember running that command without the single quotes (thinking they were quote marks to emphasis that command) which in turn gave me no response.

An incorrect command that gave me no response...so no news is good news is not always good news  ;)

 

I assume boiler will update trolley or would it be better to just remove and install from scratch?

 

Just re run the trolley installer. It's smart enough not to duplicate :)

Link to comment

Not sure how I would go about finding out what plugin it's from.

Though I can say that the lines before that message on boot is this;

 

Using thor (0.18.1) from git://github.com/erikhuda/thor.git (at master)
Using bundler (1.5.3)
Your bundle is complete!
Gems in the groups development and test were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Please run `source /etc/bundlerc` or restart your teminal session.
Package trolley-0.2.5-noarch-unraid.tgz installed.

install/doinst.sh: line2: trolley: command not found
install/doinst.sh: line3: trolley: command not found
install/doinst.sh: line4: trolley: command not found
etc...
install/doinst.sh: line20: trolley: command not found
Doing /etc/ssl/certs
(c_rehash list output here)

 

I'd post the full boot output if the logs would show it, but I think dynamix removes it as it only shows select information.

Link to comment

Not sure how I would go about finding out what plugin it's from.

Though I can say that the lines before that message on boot is this;

 

Using thor (0.18.1) from git://github.com/erikhuda/thor.git (at master)
Using bundler (1.5.3)
Your bundle is complete!
Gems in the groups development and test were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Please run `source /etc/bundlerc` or restart your teminal session.
Package trolley-0.2.5-noarch-unraid.tgz installed.

install/doinst.sh: line2: trolley: command not found
install/doinst.sh: line3: trolley: command not found
install/doinst.sh: line4: trolley: command not found
etc...
install/doinst.sh: line20: trolley: command not found
Doing /etc/ssl/certs
(c_rehash list output here)

 

I'd post the full boot output if the logs would show it, but I think dynamix removes it as it only shows select information.

 

That's unfortunate. It's always best to get logs from the source (/var/log/syslog, in this case). This snippet really doesn't show enough.  What else do you have installed?

Link to comment

I've removed dynamix and it still shows the same limited log with nothing from the boot screen (package installs, downloads etc) just it's own install and other select hardware info.

Not sure how else I would go about getting the text from boot up, very peculiar.

But here's what I have installed;

 

/extra:
automake-1.11.5-noarch-1.txz*
binutils-2.21.51.0.6-i486-1.txz*
boiler-0.3.0-noarch-unraid.tgz*
ca-certificates-20130906-noarch-1.txz*
gcc-4.5.2-i486-2.txz*
gcc-g++-4.5.2-i486-2.txz*
git-1.8.4-i486-1.txz*
glibc-2.11.1-i486-3.txz*
infozip-6.0-i486-1.txz*
kernel-headers-2.6.37.6_smp-x86-3.txz*
libelf-0.8.13-i486-2.txz*
libmpc-0.8.2-i486-2.txz*
libyaml-0.1.4-i486-1_slack13.37.txz*
make-3.82-i486-4_slack13.37.txz*
mpfr-3.0.1-i486-1.txz*
nano-2.2.4-i486-1.txz*
ncurses-5.9-i486-1.txz*
openssl-1.0.1c-i486-3.txz*
perl-5.18.1-i486-1.txz*
python-2.6.4-i486-1.txz*
python-2.6.6-i486-1.txz*
removeplg-0.1.0-noarch-unraid.tgz*
ruby-1.9.3_p484-i486-1_slack14.0.txz*
trolley-0.2.5-noarch-unraid.tgz*
zlib-1.2.8-i486-1.txz*

/packages
lm_sensors-3.3.4-i486-1_slack13.1.txz*
openssl-0.9.8y-i486-1_slack13.37.txz*
openssl-1.0.1f-i486-1_slack14.1.txz*
openssl-solibs-0.9.8y-i486-1_slack13.37.txz*
openssl-solibs-1.0.1f-i486-1_slack14.1.txz*
perl-5.18.1-i486-1.txz*
powerdown-2.06-noarch-unRAID.tgz*
python-2.7.5-i486-1.txz*

/plugins
/custom
  /trolley

 

 

**UPDATE:

 

I've removed boiler and those "install/doinst.sh:..." messages have disappeared. I hadn't installed any boiler apps yet just the default boiler only.

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.