-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Feature Flag Service doesn't start when built from repository | server file "missing" #882
Comments
Hello @kainawroth 👋🏽 , Which OS are you using? |
Hi @julianocosta89, I'm using Docker Desktop on Windows 11. |
@kainawroth is this issue gone? |
@julianocosta89, I just wanted to check, but I don't even get that far. When I try to compose from the demo repo or from my fork, I'm stuck at the following: Demo repo:
My fork:
I won't cancel, but it doesn't stop building either. |
Hmmm, that is odd. |
Thanks, that helped. Unfortunately, I'm still running into the same issue and have to replace the server file after deployment. |
@tsloughter have you ever seen this??? |
I'm not able to recreate this on ARM64/MacOS — if I have time I will attempt with windows later today. |
Has anyone else with Windows 11 tried and reproduced? |
@tsloughter we got another user in slack reporting the same issue in Windows 11 and Docker Desktop. |
I had the same issue with Docker Desktop and Windows 10. I believe the issue is with line endings in the Feature Flag Service source files. When I converted from CRLF to LF it built and ran without issue. @kainawroth try configuring your git client to checkout with Unix style line endings rather than windows https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings#global-settings-for-line-endings Also running in WSL worked without issue. |
@julianocosta89 na, no idea. I can ask around to find Erlang Windows users and see if anyone has experienced similar. |
Is this still something that we need to track? Do we need to document to use WSL if developing on Windows? |
Closing this as part of issue cleanup. If there's anything that needs to be done, please create a new issue. FF Service issues will be mooted by #1388 |
Bug Report
OpenTelemetry Demo 1.4
Symptom
When I build from https://github.com/open-telemetry/opentelemetry-demo with
docker compose build
, the Feature Flag Service doesn't start and shows in Logsexec /app/bin/server: no such file or directory
even though the file is present:When I instead fetch the images from ghcr with
docker compose up --no-build
, the Feature Flag Service starts without any problems.Solution
I saved the server file in question from the ghcr image and added it to the version built from the repository, and it fixed the issue:
Reproduce
Build from https://github.com/open-telemetry/opentelemetry-demo repository.
Additional Context
The file from the ghcr image is 2 Bytes bigger (223 Bytes vs 221 Bytes when composed from the repository) even though the content is the same. Attached are both files for comparison:
server-files.zip
The text was updated successfully, but these errors were encountered: