First run always fails #620
Answered by
LemarinelNet
Nov 23, 2025
Replies: 2 comments
|
In your image ( You can run: docker run --rm -it ghcr.io/adesin-fr/nooticc:latest bashThis will open a shell inside your image. From there, try to run: ls -al /path/to/wherever/ServerStateFile.phpIn usual best practice:
|
0 replies
|
It seems I have found the reason ! When the container starts, the logs folder doesn't exists (it is not in my repo) -> Octane tries to write its PID file in this folder, which fails. A Log entry is generated by the Laravel's log facade, which creates the logs folder. On the second start, the logs folder exists, so it works ! I have added a RUN command in my dockerfile, now it works on every startup ! |
0 replies
Answer selected by
jaydrogers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

It seems I have found the reason !
When the container starts, the logs folder doesn't exists (it is not in my repo) -> Octane tries to write its PID file in this folder, which fails. A Log entry is generated by the Laravel's log facade, which creates the logs folder.
On the second start, the logs folder exists, so it works !
I have added a RUN command in my dockerfile, now it works on every startup !