Setup failed , request time out . log : Failed to load resource: the server responded with a status of 504 (Gateway Time-out)

Hi,
please help my first install.

using python install.py

i have run for production mode.
Everything seems to go well until I click Complete Setup.

Setup failed , request time out

in google chrome log :
Failed to load resource: the server responded with a status of 504 (Gateway Time-out)

http://MYIPADDRESS/api/method/frappe.desk.page.setup_wizard.setup_wizard.setup_complete

i also copy this link in the url with result :
Traceback (most recent call last):
File “/home/erpnext/erpnext-prod/apps/frappe/frappe/app.py”, line 60, in application
response = frappe.api.handle()
File “/home/erpnext/erpnext-prod/apps/frappe/frappe/api.py”, line 55, in handle
return frappe.handler.handle()
File “/home/erpnext/erpnext-prod/apps/frappe/frappe/handler.py”, line 21, in handle
data = execute_cmd(cmd)
File “/home/erpnext/erpnext-prod/apps/frappe/frappe/handler.py”, line 56, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/erpnext/erpnext-prod/apps/frappe/frappe/init.py”, line 1036, in call
return fn(*args, **newargs)
TypeError: setup_complete() missing 1 required positional argument: ‘args’

what should i do ?

Upping this thread. I’m receiving this error on multiple installatons… debian 10 / Ubuntu 18.04 always the same ending…
Anyone got an idea how to fix that?
Having no problems at all until I run install-app erpnext on the site and redoing the wizard.

Got it working.
All files needed to be owned by the user.
Following fixed it:

$ cd /home/user/frappe-bench
$ sudo chown -R user:user *

1 Like

I tried this, but it didn’t work for me.
sudo chown -R frappe:frappe *

1 Like