-
Notifications
You must be signed in to change notification settings - Fork 27
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
Force Meza to use Composer 1.x (Composer 2.0 breaks deploy) #1272
Comments
I just ran into an issue where a server upgraded Composer, and the deploy failed with this:
Since this was run as root, I ran I believe the deploy failed because it hit the point where it required user input to say "yes I do want to run this as root". Meza should be fixed to not require root for this or any Composer action. |
I worked through some other issues, then got hit with another Composer 2.x issue. So agreed Composer 2.x doesn't seem to be supported. |
Fixed in 31.x branch. Have some work to do to cleanup master vs 31.x vs everything else. |
Closed by #1275 |
Environment
Issue details
With the release of composer 2.0 on Oct 24,
meza deploy monolith
is no longer working. In order to fix, you have to edit the ansible composer script to install version <2. I was successful using 1.4.1, haven't tested any others. To downgrade to any composer version simply specify the version number afterself-update
./opt/meza/src/roles/composer/tasks/main.yml
The text was updated successfully, but these errors were encountered: