Unable to access

Hello to all new on nextcloud.
Have a problem. I am unable to get to my nextcloud.
I am using docker image. In a Raspberry PI. It was working fine now i get
Internal server problem. Hope some can help me
Thank you
I added the log i am getting.

Nextcloud version (eg, 20.0.1): 20.0.1
Operating system and version (eg, Ubuntu 20.04): replace me
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): 7.4.12

y 29 23:01:15.637334 2021] [php7:notice] [pid 67] [client 172.69.68.177:0] {“reqId”:“b0mxY9qSmlgKcESLp6YL”,“level”:3,“time”:“2021-05-29T23:01:15+00:00”,“remoteAddr”:“172.69.68.177”,“user”:"–",“app”:“index”,“method”:“GET”,“url”:"/index.php/csrftoken",“message”:{“Exception”:“Doctrine\\DBAL\\Exception”,“Message”:“Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [14] unable to open database file”,“Code”:14,“Trace”:[{“file”:"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php",“line”:1486,“function”:“connect”,“class”:“OC\\DB\\Connection”,“type”:"->",“args”:},{“file”:"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php",“line”:1014,“function”:“getWrappedConnection”,“class”:“Doctrine\\DBAL\\Connection”,“type”:"->",“args”:},{“file”:"/var/www/html/lib/private/DB/Connection.php",“line”:226,“function”:“executeQuery”,“class”:“Doctrine\\DBAL\\Connection”,“type”:"->",“args”:[“SELECT * FROM \“oc_appconfig\””,,,null]},{“file”:"/var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php",“line”:210,“function”:“executeQuery”,“class”:“OC\\DB\\Connection”,“type”:"->",“args”:[“SELECT * FROM \“oc_appconfig\””,,]},{“file”:"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php",“line”:287,“function”:“execute”,“class”:“Doctrine\\DBAL\\Query\\QueryBuilder”,“type”:"->",“args”:},{“file”:"/var/www/html/lib/private/AppConfig.php",“line”:345,“function”:“execute”,“class”:“OC\\DB\\QueryBuilder\\QueryBuilder”,“type”:"->",“args”:},{“file”:"/var/www/html/lib/private/AppConfig.php",“line”:110,“function”:“loadConfigValues”,“class”:“OC\\AppConfig”,“type”:"->",“args”:},{“file”:"/var/www/html/lib/private/AppConfig.php",“line”:301,“function”:“getApps”,“class”:“OC\\AppConfig”,“type”:"->",“args”:},{“file”:"/var/www/html/lib/private/App/AppManager.php",“line”:136,“function”:“getValues”,“class”:“OC\\AppConfig”,“type”:"->",“args”:[false,“enabled”]},{“file”:"/var/www/html/lib/private/App/AppManager.php",“line”:225,“function”:“getInstalledAppsValues”,“class”:“OC\\App\\AppManager”,“type”:"->",“args”:},{“file”:"/var/www/html/lib/private/legacy/OC_Template.php",“line”:284,“function”:“isEnabledForUser”,“class”:“OC\\App\\AppManager”,“type”:"->",“args”:[“theming”]},{“file”:"/var/www/html/index.php",“line”:45,“function”:“printErrorPage”,“class”:“OC_Template”,“type”:"::",“args”:[“Can’t write into config directory!”,“This can usually be fixed by giving the webserver write access to the config directory.”,503]}],“File”:"/var/www/html/lib/private/DB/Connection.php",“Line”:85,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0”,“version”:""}

[Sat May 29 23:01:15.645873 2021] [php7:notice] [pid 67] [client 172.69.68.177:0] {“reqId”:“b0mxY9qSmlgKcESLp6YL”,“level”:3,“time”:“2021-05-29T23:01:15+00:00”,“remoteAddr”:“172.69.68.177”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/index.php/csrftoken",“message”:“fopen(/var/www/html/data/nextcloud.log): failed to open stream: Permission denied at /var/www/html/lib/private/Log/File.php#85”,“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0”,“version”:""}

172.20.0.1 - - [29/May/2021:23:01:15 +0000] “GET /index.php/csrftoken HTTP/1.1” 500 2669 “-” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0”

Unfortunately you didn’t mention how you’ve configured the database access in Nextcloud, but the error messages says all. Make sure that Nextcloud can access your database!

Luckily the search function of this forum returns many information how to fix the problem:

https://help.nextcloud.com/search?q=docker%20Failed%20to%20connect%20to%20the%20database:%20SQLSTATE%5BHY000%5D%20unable%20to%20open%20database%20file

Thank you for the information I appreciated