Nextcloud News Updater - help on log errors

That’s not a classical “support request”, therefore not following the ticket template. Feel free to move this topic to a section in case it fits better there.

I’m running the great GitHub - nextcloud/news-updater: 📰 Fast, parallel feed updater for the News app; written in Python to update my Nextcloud News feeds (so not using the integrated NC cron for this). It is working fine for years.

Today I discovered few log entries (same on every run) with journalctl -u nextcloud-news-updater.service:

...
...
Jul 03 17:09:43 servername nextcloud-news-updater[1311]: Traceback (most recent call last):
Jul 03 17:09:43 servername nextcloud-news-updater[1311]:   File "/usr/local/lib/python3.7/dist-packages/nextcloud_news_updater/api/updater.py", line 34, in run
Jul 03 17:09:43 servername nextcloud-news-updater[1311]:     self.update_feed(feed)
Jul 03 17:09:43 servername nextcloud-news-updater[1311]:   File "/usr/local/lib/python3.7/dist-packages/nextcloud_news_updater/api/cli.py", line 79, in update_feed
Jul 03 17:09:43 servername nextcloud-news-updater[1311]:     self.cli.run(command)
Jul 03 17:09:43 servername nextcloud-news-updater[1311]:   File "/usr/local/lib/python3.7/dist-packages/nextcloud_news_updater/api/cli.py", line 12, in run
Jul 03 17:09:43 servername nextcloud-news-updater[1311]:     return check_output(commands)
Jul 03 17:09:43 servername nextcloud-news-updater[1311]:   File "/usr/lib/python3.7/subprocess.py", line 395, in check_output
Jul 03 17:09:43 servername nextcloud-news-updater[1311]:     **kwargs).stdout
Jul 03 17:09:43 servername nextcloud-news-updater[1311]:   File "/usr/lib/python3.7/subprocess.py", line 487, in run
Jul 03 17:09:43 servername nextcloud-news-updater[1311]:     output=stdout, stderr=stderr)
Jul 03 17:09:43 servername nextcloud-news-updater[1311]: subprocess.CalledProcessError: Command '['php', '-f', '/var/www/nextcloud/occ', 'news:updater:update-feed', 'Username', '67']' returned non-zero exit status 255.
Jul 03 17:09:43 servername nextcloud-news-updater[1311]: 2023-07-03 17:09:43,096 - Nextcloud News Updater - ERROR - Command '['php', '-f', '/var/www/nextcloud/occ', 'news:updater:update-feed', 'Username', '324']' returned non-zero exit status 255.

Unfortunately I have no idea if that’s something worth to worry about (as everything seem to work so far) and I didn’t want to put this at Issues · nextcloud/news-updater · GitHub.

Therefore I hope someone able to interpret that log output can tell me if I need to take care of something.

NC v26, News 15.4.5 (latest one supporting 32 bit OS)

Looks like it’s failing on the third command here:

That’s a weird return code (255).

Maybe try running the command directly and see if occ is spitting a stack trace or some other error:

Something like:

./occ news:updater:update-feed FEED_ID USER_ID