Tiny Tiny RSS: Community

Update.php Permission Denied Error

I have another trouble in trying to update the feeds.
when i run the ./update.php on the console it does updates fine but when the console is closed then its gone. so i tried to setup as service, followed some instruction on how to setup as service, now that it runs as service i get error

PHP Warning: fopen(lock/update_daemon.lock): failed to open stream: Permission denied in /var/www/ttrss/include/functions.php on line 1038
Error: can’t create lockfile. Maybe another daemon is already running.

can you help. thanks.

Mod note: I moved this to a new thread since it’s a separate issue.

I’m going to ask that you please use the wiki and search before posting.

Wiki: Updating Feeds

This error usually happens when the update service is running as a different user than the web service. You’ll want to make sure they’re the same.

Stop the service, delete the update_daemon.lock file, fix the user issue, start the service.