Fixed manually via:
sudo chown -R centos:centos /home/centos/promoter_venv as centos: source /promoter_venv/bin/activate && pip install docker
This likely happened because someone installed some packages inside this venv as root. Maybe a manual mistake during hands-on attempts to fix it?
PS. Even the service script can so this if run by root instead of centos.
Fixed manually via:
sudo chown -R centos:centos /home/centos/ promoter_ venv venv/bin/ activate && pip install docker
as centos: source /promoter_
This likely happened because someone installed some packages inside this venv as root. Maybe a manual mistake during hands-on attempts to fix it?
PS. Even the service script can so this if run by root instead of centos.