Skip to content
Snippets Groups Projects
Commit eb9053ba authored by Martin Juhás's avatar Martin Juhás
Browse files

* cr fix

* cr fix

* add note about lockfiles
parent 0dfe6dfc
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,26 @@ The maximum allowed file size for uploads is currently set to 2.5MB.
Ensure that the file size is under 2.5MB before attempting to upload it.
## Exercise cannot be started after outage
### Issue
Cannot start an exercise even though all exercises are stopped.
### Cause
When an exercise is running, a special lockfile is created.
This lockfile is deleted automatically when the exercise is stopped.
If the backend server crashes or the server is manually stopped during a running exercise,
this file will not be properly deleted, preventing from starting this specific exercise again.
The server is set up to automatically delete all lockfiles on startup.
However, if this issue persists even after restarting the server,
it could be possible that the process failed.
Ensure that no lockfiles are present in the `data` directory with the name `exercise-<ID>.lock`.
The `data` directory is located in the base directory of the backend.
These files can be deleted while the server is running,
however only if there are no actual running exercises.
## Conclusion
If you require further assistance, don't hesitate to report issues to us. The [Report issue](report-issue.md) page includes instructions on how to report bugs.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment