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

Use composer as root for install #20

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

JedMeister
Copy link
Member

Work around turnkeylinux/tracker#1960 - by running composer as root, rather than using turnkey-composer.

@OnGle
Copy link
Contributor

OnGle commented Jun 20, 2024

Bizarre, how does this fix the issue?

@JedMeister
Copy link
Member Author

JedMeister commented Jun 20, 2024

Yes it is bizarre! Very bizarre!

Apologies if the issue wasn't clear enough.

In an effort to make the issue clearer, I've updated the bug with this (2nd) paragraph:

The issue is that it's timing out downloading the flex json file. The install works fine up until that point. Clearly that is a 404 download error, but it occurs consistently when using turnkey-composer. For some very strange and unknown reason, running composer as root (as per [link to this PR]) works fine?!

The issue is worth investigating further, but I'd really like to publish Symfony ASAP.

@JedMeister
Copy link
Member Author

Actually, just added a bit more info to the issue:

Initially I thought it might have been a squid (proxy) problem, but I tried clearing the squid cache and same result. It's reproducible on another TKLDev.

Copy link
Contributor

@OnGle OnGle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well that's weird but lgtm!

@JedMeister JedMeister merged commit f2740b0 into turnkeylinux-apps:master Jun 20, 2024
@JedMeister JedMeister deleted the use-composer branch June 20, 2024 03:44
@JedMeister JedMeister restored the use-composer branch June 21, 2024 04:11
@JedMeister JedMeister deleted the use-composer branch June 21, 2024 04:12
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

Successfully merging this pull request may close these issues.

2 participants