I’ve recently attempted to install a Production instance of ERPNext but have continually run into errors. On my most recent attempt using a Ubuntu 16.04 LTS image on an AWS EC2 instance, I’ve received this error:
"INFO:bench.utils:./env/bin/pip install -q -e ./apps/foundation --no-cache-dir",
" Could not find a version that satisfies the requirement frappe_theme (from foundation==0.0.1) (from versions: )",
"No matching distribution found for frappe_theme (from foundation==0.0.1)",
That error was received after executing this command:
python install.py --production --site dev.cobrasound.com --user ubuntu --verbose 2>&1 | tee --append erpnext-install.log
Do you have any suggestions on how I might remedy this?
Re-running the command appears to have finished the installation successfully.
Now receiving the following immediately after logging in the first time:
Traceback (most recent call last):
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/init.py”, line 939, in call
return fn(*args, **newargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/client.py”, line 300, in get_js
with open(contentpath, “r”) as srcfile:
IOError: [Errno 2] No such file or directory: u’./assets/erpnext/js/setup_wizard.js’
This is an incredibly poor user experience setting up ERPNext. Any ideas on how to resolve this? A clean install using the easy install method shouldn’t run into all of these issues.
Thank you for your help.
This was resolved by MANUALLY creating this symlink:
ln -s /home/ubuntu/frappe-bench/apps/erpnext/erpnext/public erpnext