octane icon indicating copy to clipboard operation
octane copied to clipboard

unlink(/app/storage/logs/octane-server-state.json): No such file or directory during kubernetes scaling

Open Cluster2a opened this issue 1 year ago • 2 comments

Octane Version

2.5.5

Laravel Version

11.2.0

PHP Version

8.3

What server type are you using?

Swoole

Server Version

5.1.4

Database Driver & Version

MySQL 9.0.1

Description

We are running Laravel on swoole on a kubernetes cluster. Depending on the load the autoscaler starts and stops additionaly instances.

Sometimes we are getting this error: image image

We are not mounting any storage within the container - so every container should have it's own octane-server-state.json file.

Steps To Reproduce

Currently this seems to happen randomly - especially if the application scales up and down.

Cluster2a avatar Sep 20 '24 08:09 Cluster2a

Thank you for reporting this issue!

As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.

If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.

Thank you!

github-actions[bot] avatar Sep 23 '24 06:09 github-actions[bot]

Is /app/ the root directory of your project?

sy-records avatar Sep 23 '24 10:09 sy-records

Hey there,

We're closing this issue because it's inactive, already solved, old, or not relevant anymore. Feel free to open up a new issue if you're still experiencing this problem.

crynobone avatar Oct 28 '24 06:10 crynobone