owncloud-archive / news

:newspaper: News app for ownCloud
GNU Affero General Public License v3.0
290 stars 106 forks source link

How to get rid of this error message? #893

Closed under-score closed 8 years ago

under-score commented 8 years ago

My setup works (mostly) while I can't get rid of this error message...

sc

BernhardPosselt commented 8 years ago

Do exactly what the error message says: either activate the system cron in the admin interface or turn off cron updates for the news app by using a custom updater

under-score commented 8 years ago

thanks for responding so fast.

I have no access to the system cron. Unfortunately also with webcron the error message stays on top of the news page.

sc

BernhardPosselt commented 8 years ago

In that case you need to set up the custom updater bundled with the app (click the link in the error message) and turn off cron updates for the news app. You can run the custom updater from any machine

under-score commented 8 years ago

As this is a hosted system, I have also no access to the bundled updater. Setting owncloud/data/news/config/config.ini useCronUpdates = false helped. Thanks!

BernhardPosselt commented 8 years ago

Yep, unfortunately you need a system with access to either the system cron or a vserver that is able to run the updates via the custom updater. All other methods don't work properly. My recommendation here is to get a better hosting or even better: get a vserver ;)

Closing this as solved.

BernhardPosselt commented 8 years ago

Just a hint: setting useCronUpdates to false is only the first step, you need to set up a custom updater on another machine

mrkskwsnck commented 8 years ago

I would appreciate a solution to turn off this message and keep using my flawlessly working WebCron very much.

BernhardPosselt commented 8 years ago

@MrksKwsnck Ajax cron can also work good enought (tm) for your installation but with severe downsides, same as with webcron. Both may lead to obscure bug reports which I want to prevent since my time is very limited. The warning is persistent on purpose, do not use webcron or ajax cron!

Should you really require a web based updating mechanism, please use the already mentioned python updater.

mrkskwsnck commented 8 years ago

I fully understand you. Unfortunately I also don't own a vserver but I am using a web hosting provider with very limited access/features. Therefore I am unable to run Python scripts.

For me two possible solution would be:

  1. Reimplementing the Python script in PHP or
  2. introducing a config flag to turn that message off.
BernhardPosselt commented 8 years ago

PHP won't work since it's killed by the webserver unfortunately that's why the updater is written in Python

under-score commented 8 years ago

I used css display none.Vom Mobiltelefon gesendet-------- Originalnachricht --------Betreff: Re: [news] How to get rid of this error message? (#893)Von: Bernhard Posselt An: owncloud/news Cc: under-score PHP won't work since it's killed by the webserver unfortunately that's why the updater is written in Python

—Reply to this email directly or view it on GitHub.