Nextcloud with MariaDb installation on CasaOS

Hi :wave:! I’m new here and after followed the video (https://www.youtube.com/watch?v=V2D9y4Qj6a8) on the channel I’m having this issues when I try to create the admin account for nextcloud:

Screenshot 2024-08-24 192338

In the comments of the videos I found others having the same issue and in respond they got:
“[…] Looks like you changed the default credentials after the docker container started up. You can’t just change the environment variables in the db docker container once it’s started up. You would need to do that with the DB.

As suggested I tried a clean unistall of MariaDB and re-do the process changing the environment settings before starting the container.
Unfortunately the problem persist.

Hello and welcome!

So you installed it fresh and didn’t change anything?

Yes,

I have been throught the process and changed the following parameters:

  - MYSQL_ROOT_PASSWORD
  - MYSQL_DATABASE
  - MYSQL_USER
  - MYSQL_PASSWORD

I changed the default values that where in the gitHub page. After that I started the container installation and tried again, but same error.

Try to not change anything. Also you would need to update the other services that use the credentials.

Alright I did everything leaving everything as default. Situation has changed. I managed to create a first admin user for Nextcloud but now I can’t access it as it prints out this error:

It took time to find the log file mentioned and the content is this:
{“reqId”:“OtbbNGrzrfM2V12zzEqq”,“level”:3,“time”:“2024-08-24T21:00:00+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“cron”,“method”:“”,“url”:“–”,“message”:“Not installed”,“userAgent”:“–”,“version”:“”,“exception”:{“Exception”:“Exception”,“Message”:“Not installed”,“Code”:0,“Trace”:[{“file”:“/app/www/public/lib/base.php”,“line”:718,“function”:“checkInstalled”,“class”:“OC”,“type”:“::”},{“file”:“/app/www/public/lib/base.php”,“line”:1184,“function”:“init”,“class”:“OC”,“type”:“::”},{“file”:“/app/www/public/cron.php”,“line”:58,“args”:[“/app/www/public/lib/base.php”],“function”:“require_once”}],“File”:“/app/www/public/lib/base.php”,“Line”:284,“message”:“Not installed”,“exception”:{},“CustomMessage”:“Not installed”}}
{“reqId”:“OtbbNGrzrfM2V12zzEqq”,“level”:3,“time”:“2024-08-24T21:00:00+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“cron”,“method”:“”,“url”:“–”,“message”:“Not installed”,“userAgent”:“–”,“version”:“”,“exception”:{“Exception”:“Exception”,“Message”:“Not installed”,“Code”:0,“Trace”:[{“file”:“/app/www/public/lib/base.php”,“line”:718,“function”:“checkInstalled”,“class”:“OC”,“type”:“::”},{“file”:“/app/www/public/lib/base.php”,“line”:1184,“function”:“init”,“class”:“OC”,“type”:“::”},{“file”:“/app/www/public/cron.php”,“line”:58,“args”:[“/app/www/public/lib/base.php”],“function”:“require_once”}],“File”:“/app/www/public/lib/base.php”,“Line”:284,“message”:“Not installed”,“exception”:{},“CustomMessage”:“Not installed”}}

I can’t figure out what is its meaning. It’s says in a bunch of lines that something is “Not installed” but it doesn’t mention what exactly.

Can you clear everything from the files? Make sure nothing is left over and try to reinstall.

Remember to backup anything you need.

You could also try Nextcloud LS and see if it works. I haven’t been able to reproduce this on my end.

Hey!
Already tried to erase everything and started from scratch but still, same result.
Next days I can try LS but I really want to know what is not working here.