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

An unhandled exception occurred - Login Page after server restart #90

Open
staxmood opened this issue May 11, 2023 · 4 comments
Open

An unhandled exception occurred - Login Page after server restart #90

staxmood opened this issue May 11, 2023 · 4 comments
Assignees
Labels
docker Issues with docker installation method

Comments

@staxmood
Copy link

staxmood commented May 11, 2023

Updated to the new version 2.4.0 on a new Ubuntu 22 Server following all known changes to build instructions for Docker.
docker-compose up worked well, and the server stood up without error.
docker is then able to graceful shutdown correctly without error
When restarting the machine, the server attempts to come back up without a prompt, but Webpage shows "An unhandled exception occurred" when attempting to authenticate to the web server.
Attempting to bring the server back up via docker-compose up or -d seems to fail at the MySQL stage.

Looking for any thoughts on why the server is unable to return to operational status after a reboot.

image

image

image

@davidbolvansky davidbolvansky added the docker Issues with docker installation method label May 12, 2023
@davidbolvansky
Copy link
Contributor

Looks like this could be related to #86

@davidbolvansky
Copy link
Contributor

Try "dev" branch and follow this manual to create own image:
https://github.com/nesfit/fitcrack/blob/master/INSTALL-Docker-Custom.md

My latest commit should fix issue after down and up but this one seems to be related to some mysql fuckery:

"Plugin mysqlx reported: 'Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, another process with PID ...."

So probably not resolved.

@staxmood
Copy link
Author

I've just finished testing the current dev branch and found different results than what #86
Restarting OS results in "An unhandled exception occurred" on the login page after the authentication attempt
Docker-compose down / up resulted in successful authentication but the same error as #86 of server_status
Docker-compose pause / unpause was the only currently effective way to "hold" the application through a power cycle. except when using system snapshotting.

Dev was pulled by the standard "git clone --recursive -b dev https://github.com/nesfit/fitcrack" and built using the above link to manually create a docker image.

OS: Ubuntu 22.04.2 LTS
Docker: 20.10.24
Compose: 1.29.2

@davidbolvansky
Copy link
Contributor

davidbolvansky commented May 22, 2023

"An unhandled exception occurred" - yes, this happens as mysql is down ("Plugin mysqlx reported: 'Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, another process with PID ....")

Maybe @ihranicky is able to fix it, I spent some time but with no success (and rebuilding is quite slow..)

Indeed, the design of Fitcrack dockerfile seems bad to me, fitcrack installation should be in dockerfile, not in entrypoint shell script.

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

No branches or pull requests

3 participants