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

Login/redirect problem for containerized OpenDB instance #95

Open
UrsusExplorans opened this issue Sep 24, 2017 · 3 comments
Open

Login/redirect problem for containerized OpenDB instance #95

UrsusExplorans opened this issue Sep 24, 2017 · 3 comments

Comments

@UrsusExplorans
Copy link

Playing around with Docker and trying to containerize OpenDB, I'm having trouble using the resulting image. When logging in with correct credentials, I always get redirected to the login page, again with the message

You will be redirected to welcome page once you have successfully logged in.

With wrong credentials, it additionally says

Login failure.

You can find the Dockerfile, here at GitHub: https://github.com/UrsusExplorans/opendb-docker/blob/master/Dockerfile (image is on DockerHub: https://hub.docker.com/r/ursusexplorans/opendb-docker/).
I linked the container to a database container instantiated with the current mysql:latest image, running a MySQL server version 5.7.19. The database connection is apparently working correctly, as the installer can create the needed tables.
I just added my own tables.sql with the only modification in line 334, as MySQL did not accept '0000-00-00' as correct default value. (maybe worth an additional issue)

Though my experiments are still quite simple, I hope you like the idea to containerize OpenDB for easier deployment. So I'd appreciate you help on this issue.

@UrsusExplorans UrsusExplorans changed the title Login problem for containerized OpenDB instance Login/redirect problem for containerized OpenDB instance Sep 25, 2017
@pellcorp
Copy link
Owner

pellcorp commented Sep 30, 2017 via email

@UrsusExplorans
Copy link
Author

Thanks for your note. I'm glad you like the idea of containerizing openDB.
You say, you don't use openDB anymore. Can you recommend alternatives, in case there is no solution to my problem?

@pellcorp
Copy link
Owner

pellcorp commented Oct 4, 2017 via email

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

No branches or pull requests

2 participants