Problem:
I ran “apt update”. The machine told me there are updates for:
- ruby-foreman-remote-execution:amd64 (3.0.3-1, 3.2.0-1),
- ruby-foreman-tasks:amd64 (1.1.0-1, 1.1.1-1)
Thus I ran “apt upgrade”. That failed:
Preparing to unpack …/ruby-foreman-tasks_1.1.1-1_all.deb …
Unpacking ruby-foreman-tasks (1.1.1-1) over (1.1.0-1) …
Preparing to unpack …/ruby-foreman-remote-execution_3.2.0-1_all.deb …
Unpacking ruby-foreman-remote-execution (3.2.0-1) over (3.0.3-1) …
Setting up ruby-foreman-tasks (1.1.1-1) …
dpkg: error processing package ruby-foreman-tasks (–configure):
installed ruby-foreman-tasks package post-installation script subprocess returned error exit status 7
dpkg: dependency problems prevent configuration of ruby-foreman-remote-execution:
ruby-foreman-remote-execution depends on ruby-foreman-tasks (>= 0.15.1); however:
Package ruby-foreman-tasks is not configured yet.
dpkg: error processing package ruby-foreman-remote-execution (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ruby-foreman-tasks
ruby-foreman-remote-execution
I ran “apt upgrade” again, but that had the same result. Then I ran “dpkg --pending --configure”, which finished successfully. So far so good, I thought; until I clicked in the web interface on Monitor > Tasks and got:
Can’t find entry point ‘foreman-tasks’ in webpack manifest
I tried to disable/enable the tasks plugin, but that did not solve it either.
Expected outcome:
When I click on Monitor > Tasks I expect to see the tasks, not an error.
Foreman and Proxy versions:
2.0.0
Foreman and Proxy plugin versions:
foreman-tasks 1.1.1
foreman_ansible 5.0.1
foreman_discovery 16.0.1
foreman_remote_execution 3.2.0
Distribution and version:
Debian 10.3