-
Beta Was this translation helpful? Give feedback.
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:
|
Beta Was this translation helpful? Give feedback.
-
|
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 ! |
Beta Was this translation helpful? Give feedback.

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 !