froxlor / Froxlor

The server administration software for your needs - The official Froxlor development Git repository
http://www.froxlor.org
GNU General Public License v2.0
1.63k stars 458 forks source link

error during installation in red #1179

Closed rubo77 closed 1 year ago

rubo77 commented 1 year ago

When you add your credentials to access the db, and the database already exixst, the error message is very unobstrusive.

I needed some time to find out, whats wrong.

Better show an error in red

d00p commented 1 year ago

So. What's the exact error message? Maybe provide some more info, like OS, php version, webserver, etc....not very helpful this way

d00p commented 1 year ago

error was SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'froxroot'@'localhost' to database 'froxlor'

No froxlor bug

rubo77 commented 1 year ago

The message was

'Datenbank existiert bereits, Uberschreiben-Option oder anderen Namen wählen.'

But I guess, that it already would be in red if the stylesheet was loaded, I forgot to run

npm install
npm run build

So the initial installation was without stylesheet and the message hat the same font like the rest of the text.

envoyr commented 1 year ago

So you can confirm that it's red/blue/green/whatever now? That would be more helpful :)

d00p commented 1 year ago

So the initial installation was without stylesheet and the message hat the same font like the rest of the text.

Not in prebuilt releases. If you you want to use git/source then please follow https://docs.froxlor.org/latest/general/installation/source.html

So still: not a bug, we've discussed that on discord already