2021-01-20 06:45:50 [ERROR ] [root] Target /var/lib/pulp/media already exists. Unable to migrate Pulp media root from /var/lib/pulp/docroot.
Ensure /var/lib/pulp/docroot is not a directory or /var/lib/pulp/media does not exist.
Both directories exist and both are empty.
Foreman and Proxy versions:
Foreman 2.3.2 updated from 2.3.1
Katello 3.18.1
Distribution and version:
CentOS 7.9.2009
Other relevant data:
During the update the following rpms where updated:
Updating:
foreman noarch 2.3.2-1.el7 ORG_foreman_2_3_el7_x86_64 35 M
foreman-cli noarch 2.3.2-1.el7 ORG_foreman_2_3_el7_x86_64 23 k
foreman-debug noarch 2.3.2-1.el7 ORG_foreman_2_3_el7_x86_64 29 k
foreman-dynflow-sidekiq noarch 2.3.2-1.el7 ORG_foreman_2_3_el7_x86_64 26 k
foreman-installer noarch 1:2.3.2-1.el7 ORG_foreman_2_3_el7_x86_64 1.7 M
foreman-installer-katello
noarch 1:2.3.2-1.el7 ORG_foreman_2_3_el7_x86_64 74 k
foreman-postgresql noarch 2.3.2-1.el7 ORG_foreman_2_3_el7_x86_64 24 k
foreman-proxy noarch 2.3.2-1.el7 ORG_foreman_2_3_el7_x86_64 153 k
foreman-release noarch 2.3.2-1.el7 ORG_foreman_2_3_el7_x86_64 8.4 k
foreman-selinux noarch 2.3.2-1.el7 ORG_foreman_2_3_el7_x86_64 52 k
foreman-service noarch 2.3.2-1.el7 ORG_foreman_2_3_el7_x86_64 26 k
python3-pulp-2to3-migration
noarch 0.6.0-2.el7 ORG_katello_pulpcore_3_7_el7_x86_64
176 k
Just noticed another error message during yum update on the content proxy, i.e. update from foreman 2.3.1 to 2.3.2 on a smart proxy for content on a katello 3.18.1 installation:
Is there any guidance on how to work past this? I ran into this on a test instance today. I can rebuild it if I need to but if there’s an easy workaround I would prefer it.
The directory structures look very similar but I have 49GB in docroot and 8GB in media
I’m pretty sure those numbers correlate to my deb repos in pulp2 (49GB) and my SuSE repos in pulp3. When this instance was built - deb repos were pulp2 only.