Skip to content
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

Latest Release Unable to Update #9864

Closed
aldobarr opened this issue Apr 22, 2024 · 6 comments
Closed

Latest Release Unable to Update #9864

aldobarr opened this issue Apr 22, 2024 · 6 comments

Comments

@aldobarr
Copy link

Q&A (please complete the following information)

  • OS: Ubuntu (public.ecr.aws/x5r7l5k8/php:8.2-fpm docker container)
  • Browser: n/a
  • Version: n/a
  • Method of installation: composer
  • Swagger-UI version: 5.17.0
  • Swagger/OpenAPI version: n/a

Describe the bug you're encountering

composer update today is causing the docker container to no longer start due to failures with the update.
See log:

2024-04-22 13:49:59 Loading composer repositories with package information
                                                                          2024-04-22T17:50:03.311437541Z Updating dependencies
                                                                                                                              2024-04-22T17:50:03.475720250Z Nothing to modify in lock file
                                                                                                                                                                                           2024-04-22T17:50:03.496461727Z Installing dependencies from lock file (including require-dev)
                                       2024-04-22T17:50:03.501824406Z Package operations: 0 installs, 1 update, 0 removals
                                                                                                                          2024-04-22T17:50:03.504465194Z   - Downloading swagger-api/swagger-ui (v5.17.0)
                                                                                                                                                                                                         2024-04-22T17:50:04.197165225Z   - Upgrading swagger-api/swagger-ui (v5.16.2 => v5.17.0): Extracting archive
                                                                    2024-04-22T17:50:04.470499779Z     Update of swagger-api/swagger-ui failed
                                                                                                                                              2024-04-22T17:50:04.752812275Z 
                                                                                                                                                                             2024-04-22T17:50:04.762169959Z In Filesystem.php line 284:
                                                                                                                                                                                                                                       2024-04-22T17:50:04.762181769Z                                                                           
                                                                                               2024-04-22T17:50:04.762184760Z   Could not delete /var/www/app/vendor/swagger-api/swagger-ui/.agignore:  
                                                                                                                                                                                                        2024-04-22T17:50:04.762186370Z                                                                           
                                                                2024-04-22T17:50:04.762187770Z 
                                                                                               2024-04-22T17:50:04.762473112Z update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]
                                                                                                                                                                                                                                                2024-04-22T17:50:04.762483552Z

To reproduce...

Update via composer to today's release

Expected behavior

Update should not break.

@char0n
Copy link
Member

char0n commented Apr 22, 2024

Hi @aldobarr,

From the logs it's not quite apparent what is wrong with the installation. We haven't done any changes to the build system at all.

@char0n
Copy link
Member

char0n commented Apr 22, 2024

I've check the build and release logs, I've detected no anomaly.

@aldobarr
Copy link
Author

I couldn't tell you what the issue is. The actual usage for us is with the l5-swagger package for laravel. Our container is configured to update packages with dependencies on startup via:
composer update -W

This started happening today which coincides with the 5.17.0 release

@char0n
Copy link
Member

char0n commented Apr 22, 2024

Could you setup a small repo for me to reproduce the issue there?

@aldobarr
Copy link
Author

Nevermind, this is my fault I see the issue now is permission related. Not sure how permissions changed but got this resolved. Sorry for the false alarm.

@char0n
Copy link
Member

char0n commented Apr 22, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants