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

text file busy when building container entrypoint locally and using restart helper #2752

Open
lizardruss opened this issue Nov 7, 2023 · 0 comments
Labels
kind/bug Something isn't working

Comments

@lizardruss
Copy link
Collaborator

What happened?
On some systems, when running the "hot reload binary" example, users will get a text file busy error when syncing the binary while it's running. This only occurs on some systems. The error is only visible when running with the --debug flag.

What did you expect to happen instead?
Expected the container to restart successfully.

How can we reproduce the bug?

My devspace.yaml, but change the dev.hello-world.command back to /app/server.

Local Environment:

  • DevSpace Version: [use devspace --version]
  • Operating System: mac
  • ARCH of the OS: AMD64

Anything else we need to know?
A workaround is already provided in the repository linked. It simply copies the binary to a location that's not synced and runs the copy. This process could be incorporated into DevSpace somehow.

@lizardruss lizardruss added the kind/bug Something isn't working label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant