Plugin webpack assets are symlinked into /var/lib/foreman/public/webpack and restoring a backup which has older versions will break the symlinks pointing to newer packages. ie: <pre> [root@rhel7 vagrant]# ll /var/lib/foreman/public/webpack/ <snip> lrwxrwxrwx. 1 root root 99 Sep 16 00:12 foreman_ansible -> /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-3.0.7.1/public/webpack/foreman_ansible lrwxrwxrwx. 1 root root 117 Sep 16 00:12 foreman_remote_execution -> /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-1.8.0.3/public/webpack/foreman_remote_execution lrwxrwxrwx. 1 root root 97 Sep 16 00:12 foreman-tasks -> /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.10.1/public/webpack/foreman-tasks </pre>
Created from redmine issue https://projects.theforeman.org/issues/27871
Upstream bug assigned to jturel
*** Bug 1752956 has been marked as a duplicate of this bug. ***
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27871 has been resolved.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1442