Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feeds don't get updated at all #416

Closed
repat opened this issue Nov 26, 2013 · 6 comments

Comments

Projects
None yet
3 participants
@repat
Copy link
Contributor

commented Nov 26, 2013

I've tried https://github.com/owncloud/news#all-feeds-are-not-updated-and-theres-no-cronlock
There is no cron.lock. I even did chmod 777 to cron.php.

As fas as I understood, I should use Webcron or the system cron? Until now I just used AJAX.
I'm running owncloud at a hosting company and while the files belong to my user, the webserver obviously runs under another username. But I could just use my user to run cron.php...anyway, I tried executing cron.php from the browser and it showed {"status":"success"}.

The logs don't show anything. I can't look into the webserver logs and didn't wanna bother the guys at uberspace.de(my hoster) til now so I thought I'd try it here first.

I did have trouble updating from 5.0.x(can't remember) to 5.0.12. I deleted the DB tables, the news app and app framework and reinstalled them. Turns out, the tables weren't updated correctly(there was a new column) and this was a known issue.

I feel like I'm looking in the wrong direction. This doesn't seem like a cron error because I can't update the feeds at all, not automatically, not manually. I don't know where to look..any ideas?

edit: adding new feeds works btw

@BernhardPosselt

This comment has been minimized.

Copy link
Contributor

commented Nov 26, 2013

Did you try the updater script?

@BernhardPosselt

This comment has been minimized.

Copy link
Contributor

commented Nov 26, 2013

Calling cron.php manually doesn't work because it only runs if it's called from CLI

@j-ed

This comment has been minimized.

Copy link

commented Nov 26, 2013

If you want to use the system cron you should add the e.g. the following entry to the fcrontab for the user (e.g wwwrun) under which the webserver is running: The command runs the cron.php script every 14 minutes:

*/14 * * * * /usr/bin/php -f /var/www/htdocs/owncloud/cron.php
@repat

This comment has been minimized.

Copy link
Contributor Author

commented Nov 27, 2013

Thanks @Raydiation, if worked after calling it from CLI :)
@j-ed, as I said, I can't install cron jobs for the user under which the webserver is running because it's on a hosted server. I can however install cronjobs for my user. I'll get back to you if it worked.

@BernhardPosselt

This comment has been minimized.

Copy link
Contributor

commented Nov 27, 2013

OK reopen if you still run into issues ;)

@repat

This comment has been minimized.

Copy link
Contributor Author

commented Nov 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.