Skip to content

[Ubuntu] Unexpected error on php compose.phar #12242

Closed
@dwydler

Description

@dwydler

Description

Hallo everyone,
since few days the building of an image for all supportet ubuntu servers failed in our enviroment. Below the output of the Action/Worfklow.

==> gh-shr-ubuntu: Provisioning with shell script: images/ubuntu/templates/../scripts/build/install-php.sh
    hcloud.gh-shr-ubuntu: Installing PHP 8.1
...
gh-shr-ubuntu: Installer verified
gh-shr-ubuntu: All settings correct for using Composer
gh-shr-ubuntu: Downloading...
gh-shr-ubuntu:
gh-shr-ubuntu: Composer (version 2.8.9) successfully installed to: /root/composer.phar
gh-shr-ubuntu: Use it: php composer.phar
gh-shr-ubuntu:
==> gh-shr-ubuntu: Provisioning step had errors: Running the cleanup provisioner, if present...

About a week ago the error did not occur.
Have there been any recent changes?

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Is it regression?

no

Expected behavior

Image creation continues

Actual behavior

Image creation is aborted

Repro steps

  1. Pull the main branch
  2. Build a image with the latest version of either a ubuntu os of your choice (e.g. Ubuntu Server 24.04 LTS)
  3. Failure will occur with shell script: images/ubuntu/templates/../scripts/build/install-php.sh

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions