Few weeks ago I have tried to install on Centos 8 following that guide.
I ran into trouble with sudo too.
I noticed that installing bench pip package locally it didn’t work.
-
I installed bench system wide
sudo pip3 install bench. It let you notice that is not a good practice install pip package without --user and becoming root, but for a test, I didn’t care. -
sudo visudoI added/usr/local/binto secure path -
Be careful that in some distro supervisor use
*.confand other use*.iniso symlinks can point to the wrong path/extension -
Instead using
bench setup supervisorandbench setup Nginx, try, straight to the point,bench setup production
The guide you followed, needs a bit of “fix” on the installation process, but if you dig into bench playbooks and scripts you will learn quite a lot ![]()