After install the whole set of OS requirements and fix the configuration of Mariadb server
I do the compilation of the python versions I personally need Python2.7, Python3.8, Python3.9 and Python3.10
Compiling many python versions means, I’m able to install diferent versions of ERPNext on the same server (from 6 to 14) right now!
I do the installation of the bench with apt install frappe-bench
And I do the bench init {bench} --python {py-version}
Of course this process will fail, so, when asked to rollback the changes, the right choice is no!
I rebuild the virtualenv with the properly python, and install the applications and requirements.
Some fixes on the apps.txt on sites folder are needed
After that, you will be able to install the sites and setup the system to production!
I’m exploring the press, to add the purchase of servers and include this script to provision the machine, cuz the setup is right now, my major problem!
@max_morais_dmm Mine still didn’t work despite having installed all the python versions. Somehow the bench is not seeing the app despite it being added to apps.txt.