Hi,
I am running Ubuntu 18.04.3 LTS
I am trying to get the news app to auto update. After installing the app, I see the message about using Ajax and to switch to Cron, so following the news updater wiki, I changed to cron via the web interface then setup systemd timers in Ubuntu.
I get the green tick in the web interface and no errors.
I then follow the guide and install python3-pip
“sudo apt install python3-venv python3-pip”
and then the pip3 newsinstaller.
“sudo -H pip3 install nextcloud_news_updater --install-option=”–install-scripts=/usr/bin"
But when I run “nextcloud-news-updater /var/www/html/nextcloud” I get errors.
Firstly should I run the command as sudo?
If I do I get this error
2019-12-23 23:29:31,396 - Nextcloud News Updater - ERROR - Command ‘[‘php’, ‘-f’, ‘/var/www/html/nextcloud/occ’, ‘news:updater:before-update’]’ returned non-zero exit status 1.: Trying again in 30 seconds