question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setup wizard needs retries to complete

See original GitHub issue

Looks like I got to excited too. I saw the setup wizard and thought It was running. I can’t get past the initial setup either. I feel this is probably related to the docker setup. Client: Docker Engine - Community Version: 20.10.13 Docker Compose version: v2.2.3

Screenshot from 2022-03-25 10-32-20

Screenshot from 2022-03-25 10-32-42

...
example-queue-default-1  | 23:46:23 default: frappe.utils.background_jobs.execute_job(event=None, is_async=True, job_name='frappe.core.doctype.user.user.create_contact', kwargs={'user': <User: user1@example.org>, 'ignore_mandatory': True}, method='frappe.core.doctype.user.user.create_contact', site='app.example.org', user='Administrator') (06e10e0b-28d1-4709-a763-a99ec95f4b77)
example-queue-default-1  | 23:46:24 Traceback (most recent call last):
example-queue-default-1  |   File "/home/frappe/frappe-bench/env/lib/python3.9/site-packages/rq/worker.py", line 1013, in perform_job
example-queue-default-1  |     rv = job.perform()
example-queue-default-1  |   File "/home/frappe/frappe-bench/env/lib/python3.9/site-packages/rq/job.py", line 709, in perform
example-queue-default-1  |     self._result = self._execute()
example-queue-default-1  |   File "/home/frappe/frappe-bench/env/lib/python3.9/site-packages/rq/job.py", line 732, in _execute
example-queue-default-1  |     result = self.func(*self.args, **self.kwargs)
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 115, in execute_job
example-queue-default-1  |     method(**kwargs)
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/user/user.py", line 997, in create_contact
example-queue-default-1  |     contact.insert(ignore_permissions=True, ignore_links=ignore_links, ignore_mandatory=ignore_mandatory)
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 234, in insert
example-queue-default-1  |     self._validate_links()
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 837, in _validate_links
example-queue-default-1  |     frappe.throw(_("Could not find {0}").format(msg),
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 444, in throw
example-queue-default-1  |     msgprint(msg, raise_exception=exc, title=title, indicator='red', is_minimizable=is_minimizable, wide=wide, as_list=as_list)
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 423, in msgprint
example-queue-default-1  |     _raise_exception()
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 378, in _raise_exception
example-queue-default-1  |     raise raise_exception(msg)
example-queue-default-1  | frappe.exceptions.LinkValidationError: Could not find User Id: user1@example.org
example-queue-default-1  | 
example-queue-default-1  | 23:46:24 default: frappe.utils.background_jobs.execute_job(event=None, is_async=True, job_name='frappe.core.doctype.user.user.update_gravatar', kwargs={'name': 'user1@example.org'}, method='frappe.core.doctype.user.user.update_gravatar', site='app.example.org', user='Administrator') (c9fe1f6c-8e8a-425b-ac09-c4a7dbd210eb)
example-queue-default-1  | 23:46:24 default: Job OK (c9fe1f6c-8e8a-425b-ac09-c4a7dbd210eb)
example-queue-default-1  | 23:46:24 Result is kept for 500 seconds
example-queue-default-1  | 23:46:24 default: frappe.utils.background_jobs.execute_job(event=None, is_async=True, job_name='frappe.core.doctype.user.user.create_contact', kwargs={'user': <User: user1@example.org>, 'ignore_mandatory': True}, method='frappe.core.doctype.user.user.create_contact', site='app.example.org', user='Administrator') (3921fd29-11c1-4d9e-a929-521bdb5032ca)
example-queue-default-1  | 23:46:25 Traceback (most recent call last):
example-queue-default-1  |   File "/home/frappe/frappe-bench/env/lib/python3.9/site-packages/rq/worker.py", line 1013, in perform_job
example-queue-default-1  |     rv = job.perform()
example-queue-default-1  |   File "/home/frappe/frappe-bench/env/lib/python3.9/site-packages/rq/job.py", line 709, in perform
example-queue-default-1  |     self._result = self._execute()
example-queue-default-1  |   File "/home/frappe/frappe-bench/env/lib/python3.9/site-packages/rq/job.py", line 732, in _execute
example-queue-default-1  |     result = self.func(*self.args, **self.kwargs)
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 115, in execute_job
example-queue-default-1  |     method(**kwargs)
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/user/user.py", line 997, in create_contact
example-queue-default-1  |     contact.insert(ignore_permissions=True, ignore_links=ignore_links, ignore_mandatory=ignore_mandatory)
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 234, in insert
example-queue-default-1  |     self._validate_links()
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 837, in _validate_links
example-queue-default-1  |     frappe.throw(_("Could not find {0}").format(msg),
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 444, in throw
example-queue-default-1  |     msgprint(msg, raise_exception=exc, title=title, indicator='red', is_minimizable=is_minimizable, wide=wide, as_list=as_list)
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 423, in msgprint
example-queue-default-1  |     _raise_exception()
example-queue-default-1  |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 378, in _raise_exception
example-queue-default-1  |     raise raise_exception(msg)
example-queue-default-1  | frappe.exceptions.LinkValidationError: Could not find User Id: user1@example.org
example-queue-default-1  | 
example-queue-default-1  | 23:46:25 default: frappe.utils.background_jobs.execute_job(event=None, is_async=True, job_name='frappe.core.doctype.user.user.update_gravatar', kwargs={'name': 'user1@example.org'}, method='frappe.core.doctype.user.user.update_gravatar', site='app.example.org', user='Administrator') (c4d488fc-87ba-4020-afd2-cd9fd9c07248)
example-queue-default-1  | 23:46:25 default: Job OK (c4d488fc-87ba-4020-afd2-cd9fd9c07248)
example-queue-default-1  | 23:46:25 Result is kept for 500 seconds
example-backend-1        | [2022-03-24 23:46:51 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:8)
example-backend-1        | [2022-03-24 23:46:51 +0000] [8] [ERROR] Error handling request /api/method/frappe.desk.page.setup_wizard.setup_wizard.setup_complete
...

_Originally posted by @1ubuntuuser in https://github.com/frappe/frappe_docker/issues/715#issuecomment-1078522655_

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
xelfecommented, Apr 15, 2022

It’s working like a charm !

1reaction
1ubuntuusercommented, Apr 15, 2022

I can confirm this is fixed when tested with v13.26.0.

Great work guys!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Document - HPE 3PAR StoreServ 7000 Storage - Support HPE
Only one wizard can initialize a storage system. Two options are available when this error displays in a dialog box; end user can...
Read more >
"vCenter Single Sign-On Setup Wizard ended prematurely ...
Note: Perform these steps before retrying the installation. Clean up the stale SSO files. Install the SSO prerequisites for Python, KFW and ...
Read more >
Step 3: Start and Complete the Setup Wizard
In the SmartZone Profiles page, configure the profile settings by entering the number of APs and switches, and type of SmartZone network ...
Read more >
Error retries and exponential backoff in AWS
Configure retry settings in the client application when errors occur and use an exponential backoff algorithm for better flow control.
Read more >
Install Exchange Mailbox servers using the Setup wizard
What do you need to know before you begin? Install the Exchange Mailbox server role; Next steps. Before you install an Exchange Server...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found