spksrc icon indicating copy to clipboard operation
spksrc copied to clipboard

Package for Tiny Tiny RSS

Open markfaine opened this issue 13 years ago • 84 comments

Since Google Reader is going away it might be nice to offload that functionality or our NAS devices. Tiny Tiny RSS seems like a good fit for SynoCommunity and Synology NAS systems.

See: http://tt-rss.org/redmine/projects/tt-rss/wiki

markfaine avatar Mar 14 '13 14:03 markfaine

Sight I guess I have to go though the MySQL database manipulation from the command line after all...

Diaoul avatar Mar 14 '13 17:03 Diaoul

There is a walkthrough for setting it up on synology boxes which I found, written in german.,

Requires a 4.1 OS release (or is based on one, in any event.)

http://www.synology-wiki.de/index.php/Installation_von_Tiny_Tiny_RSS

There's also a code snippet here

http://www.synology-wiki.de/index.php/Installation_von_Tiny_Tiny_RSS/Installationsskript

roustabout avatar Mar 15 '13 01:03 roustabout

Really nice install script, the guy should put his talent in doing packages IMO ;)

Diaoul avatar Mar 15 '13 02:03 Diaoul

Yes, this would be good :+1:

Omertron avatar Mar 15 '13 09:03 Omertron

Done with cb8cfbe44305361287c577fe947804d52ac4c05f.

Diaoul avatar Mar 16 '13 23:03 Diaoul

I just finished packing packing ttrss and just before submitting it to you I realized that you added it. Well, at least I learned how to pack, create wizards, deamon etc...

moneytoo avatar Mar 17 '13 17:03 moneytoo

It would be cool if the description indicated that the default login/pass is 'admin'/'password' :)

Gui13 avatar Mar 18 '13 13:03 Gui13

Or add checkbox to wizard that would enable single user mode.

moneytoo avatar Mar 18 '13 13:03 moneytoo

I cannot make tt-rss/selfoss daemon to run. Whenever I try to run it it switches back to Stopped state. Updating manually (or from cron) works fine.

moneytoo avatar Mar 19 '13 07:03 moneytoo

@moneytoo I'm just a n00b, but did you turn off 'PHP safe_mode_exec_dir' inside DSM Settings -> Web Services? (as described on synology-wiki.de)

aeonoea avatar Mar 19 '13 15:03 aeonoea

@abarthch Because running "php /var/services/web/selfoss/update.php" works, it really seems like issue with the start-stop-daemon.

moneytoo avatar Mar 19 '13 15:03 moneytoo

Run /var/packages/selfoss/scripts/start-stop-status start to see what' going on.

Diaoul avatar Mar 19 '13 16:03 Diaoul

@Diaoul

DiskStation> /var/packages/selfoss/scripts/start-stop-status status
Selfoss is not running
DiskStation> /var/packages/selfoss/scripts/start-stop-status start
Starting Selfoss ...
DiskStation> /var/packages/selfoss/scripts/start-stop-status status
Selfoss is not running
DiskStation>

moneytoo avatar Mar 19 '13 17:03 moneytoo

And /usr/local/selfoss/bin/selfoss.sh?

Diaoul avatar Mar 19 '13 18:03 Diaoul

DiskStation> /usr/local/selfoss/bin/selfoss.sh
Updating...
Waiting 600 seconds...

I have DS212+ (latest official DSM 4.2). First I removed leftovers from my test tt-rss package and built your tt-rss package. Daemon didn't start. Switched to 1.7.4-3 from beta repo and it was the same. I tried selfoss to see if that works but it doesn't and I have no idea where to look for the cause. (I have stable CouchPotato Server, SABnzbd, SickBeard installed longer time and they all work fine.)

moneytoo avatar Mar 19 '13 18:03 moneytoo

In /var/packages/selfoss/scripts/start-stop-status remove the -b flag in the daemon start function.

Diaoul avatar Mar 19 '13 18:03 Diaoul

DiskStation> ./start-stop-status start
Starting Selfoss ...
Updating...
PHP Fatal error:  Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /volume1/web/selfoss/libs/f3/db/sql.php on line 298
Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND'
DiskStation>

moneytoo avatar Mar 19 '13 19:03 moneytoo

Well, I can't help you there. Works fine for me. Try to enable more php extensions? Did you change anything in you NAS that might result in this?

Diaoul avatar Mar 19 '13 21:03 Diaoul

Can anyone reproduce this?

Diaoul avatar Mar 19 '13 21:03 Diaoul

Seems like it's the same issue I was facing when trying to run php under user other than root. I asked but received no answer yet: http://forum.synology.com/enu/viewtopic.php?f=20&t=66086&p=251744 I had ipkg installed (only because of vim, openssl etc) in the past but it's no longer in my path. I will do clean reinstall of sytem partition soon.

moneytoo avatar Mar 19 '13 22:03 moneytoo