Can you find any logs?
/path/to/nextcloud/data/nextcloud.log
Perhaps it is a Lets Encrypt problem and your webserver / nextcloud can not access apps.nextcloud.com
. Problem from end of september / start october .
Certificate has expired for apps.nextcloud and nextcloud.com - #2 by mritzmann