-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
Sudden pecl errors with self-hosted runner #569
Comments
Just turned off my self-hosted runner and it appears to work fine with GitHub's hosted runners. I did notice though that the patch version of PHP 8.0 has been upgraded tonight in my runner, which may explain what has happened: GitHub Hosted Runners: PHP 8.0.15 Is there a way you can verify that the issue is potentially caused by PHP 8.0.16? |
@Jamesking56, I will try to fix this situation in the next release, can you try installing sudo apt-get install -y php8.0-dev |
@shivammathur That was one of the first things I tried to debug and the same errors occur |
@Jamesking56 ok, what is the output when you run
|
|
@shivammathur Just re-ran the workflow to see what happens and this is the output now:
Composer 2.2.7 already exists in my runner |
Please remove Also, make sure you have set up passwordless-sudo. Then, can you try running with |
@shivammathur Thanks for your help investigating this. Passwordless sudo is already setup on my runner. I've just run the verbose tag of your action and this is the output:
|
Your PHP setup seems to be working now. |
@shivammathur Run again and this is the log: Raw Logs from GitHub Actions workflow run
|
Thanks what is the output when you run this with sudo and without sudo
|
@shivammathur These both output exit code 0 |
I'm not sure why checking the composer phar fails in the action and works when you run the command. Does your runner run with a different user? If you can reproduce this in a dockerized self-hosted runner. I can have a look. |
Seems we're having the same trouble(but with v7.4);
The issues appeared suddenly as well, however it seems to be intermittent? If we re-run the workflows a few times we'll eventually get a good result, every other time we just get what i've included above. Couldn't really see a solution from the thread above, @shivammathur please let me know if there's any known fix/workaround and i'll try it out! 👍 |
@thewoods96 or you can run this and that should also fix it.
|
Fantastic, I'll keep an eye out and let you know if there's any further issues. Thanks for the fix and quick response 🚀 |
@thewoods96 |
Yepp can confirm that i'm no longer seeing the same issues. Thanks again! |
Describe the bug
My actions workflow on a self-hosted runner has started spitting out new pecl errors all of a sudden in PHP 8.0
Version
v1
orv2
.v2
v1
Runners
Operating systems
Ubuntu 20.04 LTS
PHP versions
PHP 8.0
To Reproduce
Expected behavior
It was working before as normal, setting up PHP 8.0.
Screenshots/Logs
Additional context
Are you willing to submit a PR?
Honestly right now have no idea of a fix
The text was updated successfully, but these errors were encountered: