renovatebot / config-help

Please use the Discussions feature of https://github.com/renovatebot/renovate instead

Home Page:https://github.com/renovatebot/renovate/discussions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Artifact update problem" with Composer

ThibaultVlacich opened this issue · comments

What Renovate type, platform and version are you using?

Hosted app, GitHub.

Describe the bug

I have been getting those "Artifact update problem" comments on my PRs since the last few days.

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻️ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you check the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: docker run --rm --name=renovate_composer --label=renovate_child -v "/mnt/renovate/gh/ThibaultVlacich/lucklesslovelocks.com-api":"/mnt/renovate/gh/ThibaultVlacich/lucklesslovelocks.com-api" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -e COMPOSER_CACHE_DIR -e COMPOSER_AUTH -w "/mnt/renovate/gh/ThibaultVlacich/lucklesslovelocks.com-api" docker.io/renovate/composer:2.0.7 bash -l -c "composer update lexik/jwt-authentication-bundle --with-dependencies --ignore-platform-reqs --no-ansi --no-interaction --no-scripts --no-autoloader"
Loading composer repositories with package information
Dependency "symfony/framework-bundle" is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency "symfony/security-bundle" is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires symfony/maker-bundle 1.24.2, found symfony/maker-bundle[v1.24.2] but the package is fixed to v1.23.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Additional context

Probably caused by renovatebot/renovate#7816

Please provide your full config as well as ideally a public reproduction so that we can debug it.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed soon if no further activity occurs.
If this question is not done (either you plan to update it or are waiting on someone to respond) then please add a comment here to bump it and/or get the other person's attention.
We aim to do our best to solve every problem. This bot is here to help us clean up issues which are no longer of use to the original poster, and not to close anything prematurely, so bump as you need!

I think the reason I was getting this error was because my lockfile was not in sync with the composer.json file.

After running a composer update I'm not getting the error anymore.