Skip to content

ci: Bootstrap the test server on PHP 8.3 - #6563

Merged
AndyScherzinger merged 1 commit into
masterfrom
fix/noid/ci-server-php83
Aug 24, 2026
Merged

ci: Bootstrap the test server on PHP 8.3#6563
AndyScherzinger merged 1 commit into
masterfrom
fix/noid/ci-server-php83

Conversation

@AndyScherzinger

Copy link
Copy Markdown
Member

The problem

Every Garm run against server master fails in configure server, before the emulator is ever
started:

This version of Nextcloud requires at least PHP 8.3
You are currently running 8.2.31. Please update your PHP version.

Nextcloud master raised its minimum to PHP 8.3, so the shallow-server image pinned at php8.2 can no
longer install it.

Example failure: https://github.com/nextcloud/talk-android/actions/runs/32749478902/job/97502761100

The fix

Point the non-stable22 matrix entry at the php8.3 image.

Note the tag differs. This is not a straight substitution of the version inside the tag — the two
images do not publish the same tags:

Image Tags published
continuous-integration-shallow-server-php8.2 1
continuous-integration-shallow-server-php8.3 latest
continuous-integration-shallow-server-php8.4 does not exist

So php8.3:1 would have 404'd. The pin is therefore looser than it was and should be tightened once
a numbered tag is published upstream.

The stable22 branch of the expression keeps php8.0. It is unreachable today, since the matrix
only lists master, but it belongs with that server version if the entry is ever restored.

Still open

The same job log shows a second error immediately above the PHP one:

fatal: Remote branch master not found in upstream origin

That originates in initnc.sh inside the container rather than in this repo, and the job failed on
the PHP check regardless, so it is untouched here. This PR's own CI run should show whether it is
benign or a second problem that only surfaces once bootstrapping gets further.

AI tool use

The change was prepared with Claude Code, which read the failing job log, queried the GHCR registry
to establish which image tags actually exist, and made the one-line edit. Reviewed and signed off by
me. Commit carries an Assisted-by: trailer.

🤖 Generated with Claude Code

Every Garm run against server master fails in "configure server":

    This version of Nextcloud requires at least PHP 8.3
    You are currently running 8.2.31. Please update your PHP version.

Nextcloud master raised its minimum to PHP 8.3, so the shallow-server image
pinned at php8.2 can no longer install it and the job dies before the emulator
is ever started.

Point the non-stable22 matrix entry at the php8.3 image. Note the tag differs:
the php8.2 image publishes ":1" while php8.3 currently only publishes ":latest",
so this is not a straight substitution of the version in the tag. That does mean
the pin is looser than before and should be tightened once a numbered tag is
published.

The stable22 branch of the expression keeps php8.0. It is unreachable today,
since the matrix only lists master, but it belongs with that server version if
the entry is ever restored.

Assisted-by: Claude Code:claude-opus-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@github-actions

Copy link
Copy Markdown
Contributor

APK file: https://github.com/nextcloud/talk-android/actions/runs/32754661739/artifacts/9531134545
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@AndyScherzinger

Copy link
Copy Markdown
Member Author

/backport to stable-25.0.x

@AndyScherzinger AndyScherzinger added this to the 25.1.0 milestone Aug 24, 2026
@AndyScherzinger
AndyScherzinger merged commit 58870b9 into master Aug 24, 2026
17 of 19 checks passed
@AndyScherzinger
AndyScherzinger deleted the fix/noid/ci-server-php83 branch August 24, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant