Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Do not create symlinks for collectstatic #1489

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

simaishi
Copy link
Contributor

During upgrade, collectstatic call might leave stale symlinks even with --clean option and that causes pulp not to start. After consulting with pulp team, we have agreed it is safer to copy files rather than symlink.

Fixes: #1488

Copy link
Member

@mikedep333 mikedep333 left a comment

Choose a reason for hiding this comment

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

LGTM!

@mikedep333
Copy link
Member

CI issues are unrelated and due to external changes. Merging.

@mikedep333 mikedep333 merged commit d6beeb1 into pulp:main Oct 20, 2023
8 of 14 checks passed
@patchback
Copy link

patchback bot commented Oct 20, 2023

Backport to 3.21: 💚 backport PR created

✅ Backport PR branch: patchback/backports/3.21/d6beeb1c923761d6b375b15a7e70192b667b2cd7/pr-1489

Backported as #1490

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

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

Successfully merging this pull request may close these issues.

Collectstatic leaves stale symlinks, causing pulp not to start
2 participants