
Sudo -u www-data touch /var/log/nextcloud-news-updater/output.log \ Then to enable and start it run: sudo -u www-data mkdir /var/log/nextcloud-news-updater [-apilevel Ĭommand_args= "-c /etc/nextcloud/news/updater.ini " You can view all options by running: nextcloud-news-updater -help Note: admin_user is a user id with admin rights, admin_password the user's password Using the REST API (when running the updater on a different machine than Nextcloud): nextcloud-news-updater -user admin_user -password admin_password Using the console API (recommended): nextcloud-news-updater /path/to/nextcloud Simply run the updater using: python3 -m nextcloud_news_updater /path/to/nextcloud
#Newsbar nextgenupdate install#
If you do not want to install the script at all you can call it directly. To uninstall the updater run: python3 setup.py uninstall Then install the package like this: python3 setup.py install -install-scripts=/usr/bin On Ubuntu this can be done by running: sudo apt-get install python3-setuptools This requires setuptools to be installed. If you don't want to install the updater via pip, you can install it manually. To uninstall the library run: sudo pip3 uninstall nextcloud_news_updater To update the library, run: sudo pip3 install -upgrade nextcloud_news_updater Note: You need to install the Python 3 version of pipĪfter installing pip, run: sudo pip3 install nextcloud_news_updater

To install pip on your distribution of choice, consolidate the pip Since 8.2 the package is available on pypi for installation via pip (the There are two different ways to install the updater:

To do that go to the admin section an uncheck the Use NextcloudĬron checkbox or open nextcloud/data/news/config/config.ini and set: useCronUpdates = true To run the updates via an external threaded script the cron updater has to beĭisabled.
