nextcloud / news-updater

:newspaper: Fast, parallel feed updater for the News app; written in Python
GNU General Public License v3.0
107 stars 23 forks source link

NCHub News app on shared host #36

Closed CSchaefer70 closed 3 years ago

CSchaefer70 commented 3 years ago

I installed the News App on an instance of NextCloud Hub v 20.0.7 which is on a Shared Host. The app runs but gives warnings about not being able to update. The "admin news" section does have the cron settings enabled. I do not think I can use the methods described as I do not have access to the root.

I can create a cron job on the server. What path and code should I use to keep the news service running and refreshing? and into which directory? Is this possible on a shared server? Is there any other way to make this work?

news warning newscron

CSchaefer70 commented 3 years ago

Hmmm... maybe a fix... changed the NextCloud "admin/basic settings..." to allow "cron" instead of AJAX. Warning gone. However, pages will only update every 5 minutes. I suppose this is OK.

Still, I wonder if I could implement a CRON on the server directly... no documentation/understanding of file placement/directory to make this happen. Also, maybe no any better then letting NCHub manage?

I'm wondering but but always lost.

cron

BernhardPosselt commented 3 years ago

You should ask that on the news repository, see https://github.com/nextcloud/news