Thank you for the tutorial. It was of great help. I setup the development and it was running fine with bench start. But when I setup the production , I am facing issue in "sudo bench setup production" command. It gives below error and am not able to proceed. Can you please help me in fixing it raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'site.yml', '-vvvv', '-e', '{"production": true, "admin_emails": "", "mysql_root_password": null, "container": false}', '-t', 'fail2ban']' returned non-zero exit status 1. ERROR: bench setup role fail2ban subprocess.CalledProcessError: Command 'bench setup role fail2ban' returned non-zero exit status 1.
@mohammedkhalid5689 Python and its version does matter on each OS, however, you may try following command before setup the bench: sudo -H pip3 install ansible --break-system-packages
Thank you so much finally installed it
glad to know this video helped you, thank you for appreciation @KareemAsfour
Nice tutorial, can you make a multi-site on your next video? Thanks alot!
Thank you for Appreciating , yes, I did already , please check this link ua-cam.com/video/rVWj2EZGriw/v-deo.html you will find steps on multi sites .
@@Innovation36T-xe2vi cool, I haven't explore your channel. I will subscribe to your channel. Thanks alot!
Thank you for the tutorial. It was of great help. I setup the development and it was running fine with bench start. But when I setup the production , I am facing issue in "sudo bench setup production" command. It gives below error and am not able to proceed. Can you please help me in fixing it
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'site.yml', '-vvvv', '-e', '{"production": true, "admin_emails": "", "mysql_root_password": null, "container": false}', '-t', 'fail2ban']' returned non-zero exit status 1.
ERROR: bench setup role fail2ban
subprocess.CalledProcessError: Command 'bench setup role fail2ban' returned non-zero exit status 1.
@mohammedkhalid5689 Python and its version does matter on each OS, however, you may try following command before setup the bench:
sudo -H pip3 install ansible --break-system-packages