Is there a file
/path/to/nextcloud/console.php?
Yes, there is.
???!!!???
Don’t ask me. Does the occ.php file need some kind of editing?
Maybe it is a problem with PHP8.0 and you can turn back to PHP 7.4. PHP 7.4 is still supported.
I can run the php7.4 command, with exactly the same result.
I found a different 80%-solution, though: I installed the occ Web app. I can run the occ commands there, almost all of them except the db:convert-filecache-bigint one. I need to put the thing into maintenance mode for that, which of course shuts down the app as well.
I’ve tried @Bernie_O’s suggestion with exactly his example and adjusted paths, but I just get redirected to the Nextcloud landing page with no txt file ever created.