Closed seth100 closed 6 years ago
Try to run this manually:
php -f /var/www/html/occ news:updater:before-update
I have the same problem and tried @BernhardPosselt your suggestion. It then throws another error stating:" Console has to be executed with the user that owns the file config/config.php Current user: root Owner of config.php: www-data Try adding 'sudo -u www-data ' to the beginning of the command (without the single quotes) " I then tried to run it like that way and installed sudo. But then it is saying: " [Symfony\Component\Console\Exception\CommandNotFoundException] Command "news:updater:befor-update" is not defined. Did you mean one of these? maintenance:update:htaccess news:updater:after-update news:updater:all-feeds news:updater:before-update news:updater:update-feed
"
Command "news:updater:befor-update" is not defined.
there's a typo
Hi,
I'm running a Docker instance of Nextcloud. So I went into the Docker container and ran:
apt install python3-setuptools git
git clone https://github.com/nextcloud/news-updater.git
python3 setup.py install --install-scripts=/usr/bin
python3 setup.py uninstall
nextcloud-news-updater /var/www/html
and I got this error:
am I doing anything wrong?
Thanks