The init.d script of tt-rss assumes that the web application is installed with apache (or at least using a apache user). When starting the update daemon: init.d # ./ttrssd start chown: invalid user: 'apache:lighttpd' * ERROR: ttrssd failed to start The workaround is to set the correct user (depends on the web server being used) at line 46 of the script. In my case (using lighttpd): 46c46 < chown -R "apache:${TTRSSD_GROUP}" "${instance}/${dir}" || return 1 --- > chown -R "lighttpd:${TTRSSD_GROUP}" "${instance}/${dir}" || return 1 Hope it helps and thanks for maintaining the ebuild.
files/ttrssd.initd-r2: # FIXME: This should be done by webapp-config during install
I have the same issue. Seeing a hardcoded user in the init script is quite frustrating. But wait, it could be worse. He could include www-servers/apache to RDEPEND. :(
Hi, this should be fixed now. The init script should not modify the user of those files (which is set by webapp-config already), but only the group (which it sets to the ttrssd group whenever the deamon starts). There are some other odd things with this initscript which I'll iron out later. I just recently took over maintenance. Please stay tuned, and don't run amok because of small bugs. Note: If you are in the screwed state, you may need to fix permissions by hand or make sure you reinstall all files after the old version of the initscript was removed (update won't do).