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

Collectstatic leaves stale symlinks, causing pulp not to start #1488

Closed
simaishi opened this issue Oct 19, 2023 · 0 comments · Fixed by #1489
Closed

Collectstatic leaves stale symlinks, causing pulp not to start #1488

simaishi opened this issue Oct 19, 2023 · 0 comments · Fixed by #1489

Comments

@simaishi
Copy link
Contributor

Version
installer: 3.21.6
pulpcore: upgrading 3.18 to 3.21

Describe the bug
There have been reports that collectstatic doesn't always clean up existing files (even with --clear option) and upgrade causes pulp not to start due to stale symlinks. The error seen when this happens:

gunicorn[3175494]: FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/pulp/assets/guardian/img/icon-no.svg'

To Reproduce
Not reproducible on demand

simaishi added a commit to simaishi/pulp_installer that referenced this issue Oct 19, 2023
mikedep333 pushed a commit that referenced this issue Oct 20, 2023
patchback bot pushed a commit that referenced this issue Oct 20, 2023
Fixes: #1488
(cherry picked from commit d6beeb1)
@pulpbot pulpbot moved this to Done in RH Pulp Kanban board Oct 20, 2023
mikedep333 pushed a commit that referenced this issue Oct 20, 2023
Fixes: #1488
(cherry picked from commit d6beeb1)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant