OK, like many others I’ve tried (and failed) to get the easy install to work. I’ve tried many things but nothing seems to work so this morning I wiped my VM (VMWare ESXi 6.5) and re-installed Ubuntu 18.04LTS fresh from the ISO. I did the following, in this order:
as (local admin user jamesbooker):
apt-get install python-minimal build-essential python-setuptools
added a new user (frappe):
usermod -aG sudo frappe
(still as local admin user jamesbooker)
wget (github install script)
sudo python setup.py --production --user frappe
The install took a LONG time, but it seems to have gone through OK.
The next step of the guide at github then says ‘for production, follow [setup production link]’
So i go through to the setup production page, and tried the simple command :-
sudo bench setup production
Usage: bench setup production [OPTIONS] USER
Error: Missing argument “user”.
First problem is you need to specify a user (not specified in the docs on the setup production page) so I try the following command:
sudo bench setup production frappe
I have tried this command as both the local admin user which installed frappe in the first place (jamesbooker) and by logging in as the (frappe) user. In both instances, python crashes out with:
FileNotFoundError: [Errno 2] No such file or directory: ‘./config/supervisor/conf’
So the ‘Easy Production Setup’ doesn’t work out of the box, so I decided to try the manual setup, and the very first command fails with the same FileNotFound error as above. This happens whether I am logged in as (jamesbooker) or (frappe)
Cna anyone give a definitive answer as to how to get past this step?