Actions
Issue #9100
closedMEDIA_ROOT is still used in places where DEPLOY_ROOT should be used instead
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Sprint 104
Quarter:
Q3-2021
Description
The MEDIA_ROOT directory is no longer pointing to the /var/lib/pulp
directory. MEDIA_ROOT was replaced by DEPLOY_ROOT in the commit https://github.com/pulp/pulpcore/commit/f8a8c64bb28cbe3908720ea56f417312a4389862.
Yet, the docs were not updated accordingly in all places:
- https://docs.pulpproject.org/pulpcore/installation/instructions.html?highlight=media_root#pypi-installation (home: MEDIA_ROOT)
- https://docs.pulpproject.org/pulpcore/en/3.9/settings.html#chunked-upload-dir (A relative path inside the MEDIA_ROOT directory)
There might be more places to check whether MEDIA_ROOT is correctly used or should be rather replaced by DEPLOY_ROOT.
Actions
Fix the usages of MEDIA_ROOT
closes #9100