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

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

Closed
Cluster2a opened this issue Sep 20, 2024 · 3 comments

Comments

@Cluster2a
Copy link

Cluster2a commented Sep 20, 2024

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.

This comment was marked as outdated.

@sy-records
Copy link
Contributor

Is /app/ the root directory of your project?

@crynobone
Copy link
Member

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.

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

No branches or pull requests

4 participants
@crynobone @sy-records @Cluster2a and others