Error in installation wizzard

I’m currently setting up a new instance on alma linux and when I access via http://ipaddress, I insert the credentials for maraidb but it stays at that initial page and I get:

Error

No se puede crear o escribir en la carpeta de datos /var/www/nextcloud/data
Crear una cuenta de administrador

Which means that it’s not possible to write of create nextcloud/data.
I deleted the forlder which was already owned by apache:apache but I got the same error message, but the folder was created and an error log is inside. This error log tells:

more nextcloud.log 
{"reqId":"Y-QFSD3MA228rspcT9YwbwAAAEg","level":2,"time":"2023-02-08T20:25:44+00:00","remoteAddr":"192.168.178.29","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","data":[]}
{"reqId":"Y-QFSD3MA228rspcT9YwbwAAAEg","level":2,"time":"2023-02-08T20:25:44+00:00","remoteAddr":"192.168.178.29","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","data":[]}
{"reqId":"Y-QFSD3MA228rspcT9YwbwAAAEg","level":3,"time":"2023-02-08T20:25:44+00:00","remoteAddr":"192.168.178.29","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"mkdir(): No such file or directory at /var/www/html/nextcloud/lib/private/Setup.php#307","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","exception":{"Exception":"Error","Message":"mkdir(): No such file or directory at /var/www/html/nextcl
oud/lib/private/Setup.php#307","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/Setup.php","line":307,"function":"mkdir"},{"file":"/var/www/html/nextcloud/core/Controller/SetupController.php","line":69,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/base.php","line":980,"function":"run","class":"OC\\Core\\Control
ler\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y-QFUz3JB7N2OSMgMdfUowAAAAo","level":2,"time":"2023-02-08T20:25:55+00:00","remoteAddr":"192.168.178.29","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","data":[]}
{"reqId":"Y-QFUz3JB7N2OSMgMdfUowAAAAo","level":2,"time":"2023-02-08T20:25:55+00:00","remoteAddr":"192.168.178.29","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","data":[]}
{"reqId":"Y-QFUz3JB7N2OSMgMdfUowAAAAo","level":3,"time":"2023-02-08T20:25:55+00:00","remoteAddr":"192.168.178.29","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"mkdir(): No such file or directory at /var/www/html/nextcloud/lib/private/Setup.php#307","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","exception":{"Exception":"Error","Message":"mkdir(): No such file or directory at /var/www/html/nextcl
oud/lib/private/Setup.php#307","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/Setup.php","line":307,"function":"mkdir"},{"file":"/var/www/html/nextcloud/core/Controller/SetupController.php","line":69,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/base.php","line":980,"function":"run","class":"OC\\Core\\Control
ler\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y-QFsz3JB7N2OSMgMdfUpAAAAAw","level":2,"time":"2023-02-08T20:27:31+00:00","remoteAddr":"192.168.178.29","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","data":[]}
{"reqId":"Y-QFsz3JB7N2OSMgMdfUpAAAAAw","level":2,"time":"2023-02-08T20:27:31+00:00","remoteAddr":"192.168.178.29","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","data":[]}
{"reqId":"Y-QFsz3JB7N2OSMgMdfUpAAAAAw","level":3,"time":"2023-02-08T20:27:31+00:00","remoteAddr":"192.168.178.29","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"mkdir(): No such file or directory at /var/www/html/nextcloud/lib/private/Setup.php#307","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","exception":{"Exception":"Error","Message":"mkdir(): No such file or directory at /var/www/html/nextcl
oud/lib/private/Setup.php#307","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/Setup.php","line":307,"function":"mkdir"},{"file":"/var/www/html/nextcloud/core/Controller/SetupController.php","line":69,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/base.php","line":980,"function":"run","class":"OC\\Core\\Control
ler\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y-QFyD3JB7N2OSMgMdfUpQAAAA8","level":2,"time":"2023-02-08T20:27:52+00:00","remoteAddr":"192.168.178.29","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","data":[]}
{"reqId":"Y-QFyD3JB7N2OSMgMdfUpQAAAA8","level":2,"time":"2023-02-08T20:27:52+00:00","remoteAddr":"192.168.178.29","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","data":[]}
{"reqId":"Y-QFyD3JB7N2OSMgMdfUpQAAAA8","level":3,"time":"2023-02-08T20:27:52+00:00","remoteAddr":"192.168.178.29","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"mkdir(): No such file or directory at /var/www/html/nextcloud/lib/private/Setup.php#307","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0","version":"","exception":{"Exception":"Error","Message":"mkdir(): No such file or directory at /var/www/html/nextcl
oud/lib/private/Setup.php#307","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/Setup.php","line":307,"function":"mkdir"},{"file":"/var/www/html/nextcloud/core/Controller/SetupController.php","line":69,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/base.php","line":980,"function":"run","class":"OC\\Core\\Control
ler\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}

What am I doin wrong?

The Problem was the translation. I used a different browser, set to english, and what I saw there was completely different. The db user was not accessible from outside.