DSM 5 beta
I've updated to DSM5 beta. For now TT-Rss is not starting update daemon. Transmission and BitTorrent Sync are seems to be working Ok.
Same here, tt-rss updater daemon won't run.
I noticed that the option to disable php_safe_mode has vanished in DSM5. That would probably mean that it's enabled by default.
See also here: https://github.com/SynoCommunity/spksrc/issues/441#issuecomment-15864351
Workaround (haven't tried it myself): http://forum.synology.com/enu/viewtopic.php?p=284133#p284133
seems that Selfoss is also cannot be started
How about creating file /usr/syno/etc/sites-enabled-user/tt-rss.conf with following options:
<Directory /var/services/web/tt-rss>
php_admin_value safe_mode off
php_admin_value open_basedir none
</Directory>
Does it work (after restarting web/apache)? Running tt-rss script manually or checking web logs would also help. (I guess I could try installing new DSM beta in virtual machine if that's still possible...)
file did not helped. i've tried to start update_daemon2.php and gor this error
>php update_daemon2.php --feeds
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/memcached.so' - /usr/lib/php/modules/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21:56:28] [MASTER] installing shutdown handlers
PHP Fatal error: Call to undefined function posix_getpid() in /volume1/web/tt-rss/update_daemon2.php on line 223
PHP Fatal error: Call to undefined function posix_getpid() in /volume1/web/tt-rss/update_daemon2.php on line 207
PHP Fatal error: Call to undefined function posix_getpid() in /volume1/web/tt-rss/update_daemon2.php on line 97
@abarthch, thanks. Workaround helped to get feeds updated
interesting thing that command
> php update.php --feeds
working... with the warning about memchached.so, but it is updating feeds
also i've tried to use
start-stop-daemon -S -q -m -b -N 10 -x /var/services/web/tt-rss/update.php -c nobody -u nobody -p /usr/local/tt-rss/var/tt-rss.pid
and got an error that -ash: start-stop-daemon: not found
Not sure if this'll help anyone looking for a solution but the following command seems to start the daemon for me.
Before running it make sure to create the log file /var/log/tt-rss-daemon.log and make sure the http user has access to it.
su -m http -c "(trap '' SIGHUP && /usr/bin/php /var/services/web/tt-rss/update.php --daemon >> /var/log/tt-rss-daemon.log 2>&1) &" 2> /dev/null
@moneytoo, did you have a chance to take a look at the changes done over in #818 and #826? Note, tt-rss needs a version bump and changelog (I didn't add that for whatever reason), but the package seems good to go with that.
Thanks @saschpe for the reminder :)
@Dr-Bean I'm planning on updating to DSM 5 and starting verifying/updating packages this week.
I'm not sure if I was able to cover everything but it should work (based on my test runs). Some PHP modules are not loaded by default so let me know if there's still something to fix. You can still run to one small glitch (I'm thinking of ways to resolve it - maybe put info to log) https://github.com/SynoCommunity/spksrc/commit/961ff0e1ff94715483dc8a904c4973dee47551e6#commitcomment-5840336