Package for Tiny Tiny RSS
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
Sight I guess I have to go though the MySQL database manipulation from the command line after all...
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
Really nice install script, the guy should put his talent in doing packages IMO ;)
Yes, this would be good :+1:
Done with cb8cfbe44305361287c577fe947804d52ac4c05f.
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...
It would be cool if the description indicated that the default login/pass is 'admin'/'password' :)
Or add checkbox to wizard that would enable single user mode.
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 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)
@abarthch Because running "php /var/services/web/selfoss/update.php" works, it really seems like issue with the start-stop-daemon.
Run /var/packages/selfoss/scripts/start-stop-status start to see what' going on.
@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>
And /usr/local/selfoss/bin/selfoss.sh?
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.)
In /var/packages/selfoss/scripts/start-stop-status remove the -b flag in the daemon start function.
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>
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?
Can anyone reproduce this?
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.