error: getopt() failed. Most probably you are using PHP CGI to run this script instead of required PHP CLI. Check tt-rss wiki page on updating feeds for additional information."
I have not changed anything. I’ve been running the same cron jobs for ages:
After upgrading my installation (on a shared host) from “v20.06-c352e87” to “v20.11-328d7b5” earlier this week I got the same error messages as the OP. I could rule out a server problem because a second installation on the same server was still using the older version and worked fine.
Eventually I found a solution: My cronjob was using the correct PHP executable but the ‘PHP_EXECUTABLE’ constant in config.php was pointing to a different path (’/usr/bin/php’ instead of ‘/usr/local/bin/php’). After changing this path in config.php, feeds started updating again.
Maybe this information is useful for someone else who encounters this problem.