Currently, this is all that is in the nextcloud log:
{"reqId":"Anab4OICvZ5E9kT4lIsd","level":0,"time":"April 02, 2021 02:34:58","remoteAddr":"","user":"--","app":"camerarawpreviews","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.0.18"}
{"reqId":"Anab4OICvZ5E9kT4lIsd","level":0,"time":"April 02, 2021 02:34:58","remoteAddr":"","user":"--","app":"serverDI","method":"","url":"--","message":"The requested alias \"PreviewManager\" is deprecated. Please request \"OCP\\IPreview\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"--","version":"21.0.0.18"}
{"reqId":"Anab4OICvZ5E9kT4lIsd","level":0,"time":"April 02, 2021 02:34:58","remoteAddr":"","user":"--","app":"contacts","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.0.18"}
{"reqId":"Anab4OICvZ5E9kT4lIsd","level":0,"time":"April 02, 2021 02:34:58","remoteAddr":"","user":"--","app":"extract","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.0.18"}
{"reqId":"Anab4OICvZ5E9kT4lIsd","level":0,"time":"April 02, 2021 02:34:58","remoteAddr":"","user":"--","app":"files_external","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.0.18"}
{"reqId":"Anab4OICvZ5E9kT4lIsd","level":0,"time":"April 02, 2021 02:34:58","remoteAddr":"","user":"--","app":"files_sharing","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.0.18"}
{"reqId":"Anab4OICvZ5E9kT4lIsd","level":0,"time":"April 02, 2021 02:34:58","remoteAddr":"","user":"--","app":"group_everyone","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.0.18"}
{"reqId":"Anab4OICvZ5E9kT4lIsd","level":0,"time":"April 02, 2021 02:34:58","remoteAddr":"","user":"--","app":"music","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.0.18"}
{"reqId":"Anab4OICvZ5E9kT4lIsd","level":0,"time":"April 02, 2021 02:34:58","remoteAddr":"","user":"--","app":"suspicious_login","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.0.18"}
This information does not seem related to the error when trying to access nextcloud though
Apparently apache has been logging all the important stuff