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

Commit

Permalink
Do not create symlinks for collectstatic
Browse files Browse the repository at this point in the history
Fixes: #1488
  • Loading branch information
simaishi authored and mikedep333 committed Oct 20, 2023
1 parent d758b36 commit d6beeb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

0 comments on commit d6beeb1

Please sign in to comment.