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

[PR #1489/d6beeb1c backport][3.21] Do not create symlinks for collectstatic #1490

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES/1488.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Copy static files instead of symlink to avoid pulp failing to start due to stale symlinks after upgrade
2 changes: 1 addition & 1 deletion roles/pulp_common/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
- pulp_install_selinux_policies|bool or pulp_install_selinux_policies == "auto"

- name: Collect static content
command: "{{ pulp_django_admin_path }} collectstatic --clear --noinput --link {{ pulp_collectstatic_ignore_list }}"
command: "{{ pulp_django_admin_path }} collectstatic --clear --noinput {{ pulp_collectstatic_ignore_list }}"
# When run against the same FS, we do not want the multiple nodes'
# commands to conflict with eachother. It sometimes happens.
throttle: 1
Expand Down
Loading