-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
convert
Command Not Found on Ubuntu 24.04
#2902
Comments
Can you give a link to your repository? I manually run the deploy action yesterday on this repo and everything run smoothly. |
This commit is the interesting one: ArDoCo/ardoco.github.io@c33c080 And as far as I can see, the runner of the build before was 22.04 and for this commit it was 24.04. |
Yes, this action still used "ubuntu 22.04.5" .. tbh I don't know how github decides whether to use 24.04 or 22.04 :D |
Your deploy action is working just fine, every run of deploy, and I can see that it is using the |
Hi @dfuchss, I had the same issue. A temporary work-around is to replace the "ubuntu-latest" in the github workflow files with "ubuntu-22.04" (https://github.com/actions/runner-images?tab=readme-ov-file#available-images) The corresponding files can be seen here: https://github.com/search?q=repo%3Aalshedivat%2Fal-folio%20ubuntu-latest&type=code |
In the logs you can see that the creation of webp files fail silently :) so the srcSet of the images are empty . See https://github.com/ArDoCo/ardoco.github.io/tree/gh-pages/assets/img The images are not being processed . |
Now I understand. The action that failed is actually not using ubuntu 24.04 as can be seen in the warning. I don't think this is actually the problem.
Did this work for you? If it didn't, we can be sure it is not a problem of ubuntu version. |
Yes that works. After downgrading the version, the webp files are generated again. |
@dfuchss @george-gca This issue happened as it seems that
|
Can you send a PR for this? Only 1 suggestion, move all install code inside the - name: Install and Build 🔧
run: |
sudo apt-get update && sudo apt-get install -y imagemagick
pip3 install --upgrade nbconvert
export JEKYLL_ENV=production
bundle exec jekyll build and also do that for the |
@george-gca |
…Github actions (#2906) Install `imagemagick` within `Install and Build 🔧` step of Github actions Relevant issue: [#2902](#2902) `convert` Command Not Found on Ubuntu 24.04 Reason: `ubuntu-latest` in Github actions is pointed to `ubuntu-24.04` now, in which `imagemagick` is no longer pre-installed. See [this](actions/runner-images#10772). Modified files (actions) recommended by @george-gca ``` - .github/workflows/deploy.yml - .github/workflows/broken-links-site.yml - .github/workflows/axe.yml ```
…Github actions (#2906) Install `imagemagick` within `Install and Build 🔧` step of Github actions Relevant issue: [#2902](alshedivat/al-folio#2902) `convert` Command Not Found on Ubuntu 24.04 Reason: `ubuntu-latest` in Github actions is pointed to `ubuntu-24.04` now, in which `imagemagick` is no longer pre-installed. See [this](actions/runner-images#10772). Modified files (actions) recommended by @george-gca ``` - .github/workflows/deploy.yml - .github/workflows/broken-links-site.yml - .github/workflows/axe.yml ```
…Github actions (alshedivat#2906) Install `imagemagick` within `Install and Build 🔧` step of Github actions Relevant issue: [alshedivat#2902](alshedivat#2902) `convert` Command Not Found on Ubuntu 24.04 Reason: `ubuntu-latest` in Github actions is pointed to `ubuntu-24.04` now, in which `imagemagick` is no longer pre-installed. See [this](actions/runner-images#10772). Modified files (actions) recommended by @george-gca ``` - .github/workflows/deploy.yml - .github/workflows/broken-links-site.yml - .github/workflows/axe.yml ```
…Github actions (alshedivat#2906) Install `imagemagick` within `Install and Build 🔧` step of Github actions Relevant issue: [alshedivat#2902](alshedivat#2902) `convert` Command Not Found on Ubuntu 24.04 Reason: `ubuntu-latest` in Github actions is pointed to `ubuntu-24.04` now, in which `imagemagick` is no longer pre-installed. See [this](actions/runner-images#10772). Modified files (actions) recommended by @george-gca ``` - .github/workflows/deploy.yml - .github/workflows/broken-links-site.yml - .github/workflows/axe.yml ```
Have you checked that your issue isn't already filed?
Bug description
The convert command from ImageMagick fails to run in workflows using the latest ubuntu-latest tag in GitHub Actions. I guess this issue occurs because ubuntu:latest now uses Ubuntu 24.04 instead of 22.04.
How to reproduce the bug
Just build a website with images and look into the logs.
Error messages and logs
What operating system are you using?
Not applicable (e.g. you're using GitHub Pages or other hosting)
Where are you seeing the problem on?
Deployed site
More info
The page still reders, but the webp files are not generated anymore
The text was updated successfully, but these errors were encountered: