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

Unable to launch action (error while loading shared libraries: libXtst.so.6: cannot open shared object file) #6

Open
clue opened this issue Oct 8, 2020 · 0 comments · May be fixed by #10

Comments

@clue
Copy link

clue commented Oct 8, 2020

Thanks for providing this action! Unfortunately, it currently reports the following error when executed (e.g. https://github.com/ssowonny/diff-pages-action/runs/1212907977):

/usr/bin/docker run --name e5c35a146825a836046adb3648eba446bb982_8d51ee --label 1e5c35 --workdir /github/workspace --rm -e INPUT_BASE-PATH -e INPUT_HEAD-PATH -e INPUT_PATTERN -e INPUT_PORT -e INPUT_OUTPUT-PATH -e INPUT_TEMP-PATH -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/diff-pages-action/diff-pages-action":"/github/workspace" 1e5c35:a146825a836046adb3648eba446bb982
Error: Failed to launch the browser process!
/diff-pages-action/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory

It looks like some dependencies have been updated in the meantime and others have reported this problem before for puppeteer and other projects: https://askubuntu.com/questions/547151/error-while-loading-shared-libraries-libxss-so-1

Accordingly, the suggested fix would to add apt-get install libxss1 to the Dockerfile.

@mastercoms mastercoms linked a pull request Jul 8, 2021 that will close this issue
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