-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to query the database, check your Ampache config (after first run) #112
Comments
That error looks like it occurs after the database can connect. It tries to list the users table and fails if it can't. does the database ampache exist? |
That is really the first run, not sure how this should be set up. According to the default config, the default database is already called "ampache" I was never able to get to the default Ampache setup page. This is the mysql folder for the Docker container.
|
Sounds to me like you're connecting to the server without doing install first. We don't forcibly install the database in case you already have something / data set up. so if you delete the config you can go through the install process. If you want to manually install from the cli you can as well but the web installer should be easier |
Well, when I do a totally fresh install, it crashes (or I think so) and I loose connection to the docker container during the database setup. So I repeat the step without the database creation (skip) because I see that it creates the ampache mysql folder with the tables, then I go ahead with the config creation, this is what I see at the end. I did these types of setup thousands times using Docker so I am really not sure why this is not working here. During the database creation the page times out, I have a proxy running so it hits the proxy page since the page is not accessible Here you can see it creates the ampache databases
Here after I go back to setup and skip the database section since it already creates them but crashes during the setup/ And this is really I have in the Docker terminal, it is not clear if the mysql is there or not
Here you can see it can't connect to the database, this is after I go back to the database page after the initial database page timed out (pasted at the top already) |
Ok. After multiple tries, somehow I was able to install it, but again with all these broken steps, basically everytime I got a unaccisble page I tried to go the next step without repeating previous steps, and I also waited a bit between the steps. |
i'll try and replicate from your compose file something must be weird with that. while i get to that from docker cli you can manually install the database and add an admin user. (i think /var/www/html/ is the path but check that) this installs the data and tables
after install you can add an admin user from cli
|
Debian Testing, Docker compose
/install.php
mysql settings in the config
docker compose
The text was updated successfully, but these errors were encountered: