nning / transmission-rss

Adds torrents from RSS feeds to Transmission web frontend
GNU General Public License v3.0
448 stars 47 forks source link

Can't start on raspbian system #50

Closed eesen closed 7 years ago

eesen commented 7 years ago

ruby -v ruby 1.8.7 (2012-02-08 patchlevel 358) [arm-linux-eabihf]

transmission-rss -v

/usr/local/bin/transmission-rss:23:in `load': /var/lib/gems/1.8/gems/transmission-rss-0.2.4/bin/transmission-rss:137: syntax error, unexpected ':', expecting ')' (SyntaxError)
aggregator = Aggregator.new(config.feeds, seen_file: config.seen_file)
                                                    ^
/var/lib/gems/1.8/gems/transmission-rss-0.2.4/bin/transmission-rss:137: syntax error, unexpected ')', expecting $end
    from /usr/local/bin/transmission-rss:23

systemctl status transmission-rss

● transmission-rss.service - Transmission RSS daemon.
   Loaded: loaded (/etc/systemd/system/transmission-rss.service; enabled)
   Active: failed (Result: exit-code) since Tue 2017-09-12 12:46:34 +03; 6s ago
  Process: 1095 ExecStart=/usr/local/bin/transmission-rss -f (code=exited, status=1/FAILURE)

Sep 12 12:46:34 dragonglass transmission-rss[1095]: /usr/local/bin/transmission-rss:23:in `load': /var/lib/gems/1.8/gems/transmission-rss-0.2.4/bin/transmission-rss:137: syntax error, unexpected ':', expecting ')' (SyntaxError)
Sep 12 12:46:34 dragonglass systemd[1]: transmission-rss.service: control process exited, code=exited status=1
Sep 12 12:46:34 dragonglass systemd[1]: Failed to start Transmission RSS daemon..
Sep 12 12:46:34 dragonglass systemd[1]: Unit transmission-rss.service entered failed state.
Sep 12 12:46:34 dragonglass transmission-rss[1095]: aggregator = Aggregator.new(config.feeds, seen_file: config.seen_file)
Sep 12 12:46:34 dragonglass transmission-rss[1095]: ^
Sep 12 12:46:34 dragonglass transmission-rss[1095]: /var/lib/gems/1.8/gems/transmission-rss-0.2.4/bin/transmission-rss:137: syntax error, unexpected ')', expecting $end
Sep 12 12:46:34 dragonglass transmission-rss[1095]: from /usr/local/bin/transmission-rss:23
nning commented 7 years ago

Which version of Raspbian are you running? Ruby 1.8.7 is quite outdated and transmission-rss is only supported on Ruby >= 1.9.3.

A current version of Raspbian (Stretch) should include a recent enough version of Ruby.

eesen commented 7 years ago

Thanks for the feedback and this project. I was using Debian 8 and upgraded 9.1 for this matter. After upgrading, updating ruby and I removed user and group directives from the transmission-rss.conf it seems working. I should have check the minimum requirements before posting. Sorry about that. Thanks again.

nning commented 7 years ago

No problem! Thanks for using and reaching out!