Skip to content
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

Docker Install: Gateway Timeout When Building Database Schema #988

Open
drinksomewhiskey opened this issue Jan 7, 2024 · 0 comments
Open
Assignees
Labels

Comments

@drinksomewhiskey
Copy link

drinksomewhiskey commented Jan 7, 2024

Upon a fresh docker install, the database gets created but a gateway timeout occurs when creating the database schema during the initial database config.

I have tried refreshing the page / giving it more time before refreshing the page and have no luck. Eventually, the page refreshes and I get back to the initial system requirements check page. Trying to rebuild the database again causes the database creation to fail with errors stating The table with name "solidinvoice.ext_translations" already exists. Upon trying again, I get the following error at the same spot An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value. These errors are likely due to the database trying to rebuilding after a partial build occurred during the first run. Thus, solving the timeout issue should prevent this based on my understanding.

I am running via docker on Synology's Container Manager. I setup solidinvoice via docker compose and the containers set up normally / running as expected. I am happy to provide additional details if needed.

Is the gateway timeout expected behavior? I followed the guide on Marius's blog linked here; step 12 states that this may occur however, I have no luck with the suggested option of refreshing the page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants