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

Restarting o Docker Container results in errors executing the symlink script. #382

Closed
svzieg opened this issue Jul 26, 2022 · 0 comments · Fixed by #386
Closed

Restarting o Docker Container results in errors executing the symlink script. #382

svzieg opened this issue Jul 26, 2022 · 0 comments · Fixed by #386

Comments

@svzieg
Copy link

svzieg commented Jul 26, 2022

Restarting o Docker Container results in errors executing the symlink script.

One have to forcefully recreate the docker container to get everything working again.

Expected Behavior

After a docker restart everything should startup correcty

Current Behavior

2022/07/26 13:17:22 symlink /layers/paketo-buildpacks_npm-install/launch-modules/node_modules /tmp/node_modules: file exists
ERROR: failed to launch: exec.d: failed to execute exec.d file at path '/layers/paketo-buildpacks_npm-install/launch-modules/exec.d/0-setup-symlinks': exit status 1
2022/07/26 13:17:31 symlink /layers/paketo-buildpacks_npm-install/launch-modules/node_modules /tmp/node_modules: file exists
ERROR: failed to launch: exec.d: failed to execute exec.d file at path '/layers/paketo-buildpacks_npm-install/launch-modules/exec.d/0-setup-symlinks': exit status 1

Possible Solution

I suggest that is releated to change of the temporary node_modules symlink change. Maybe one can delete that symlink again if already exists.

Steps to Reproduce

  1. start a container build with buildpack
  2. restart the container

Motivations

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

Successfully merging a pull request may close this issue.

1 participant