Could you elaborate please?
I don’t know what you mean by that.
After I run:
bench --site site1.local --force reinstall
no dependencies change, only a new database is created. So the installation per se is the same.
So that wrecks your working installation?
What do you do to revert to a working state?
Exactly. I have a snapshot of the VM in the working state.
So reinstall is supplying a new defective database?
Really wishing a committer would jump in round about now …
At least it seems like it.
So I compared your pip installed dependencies with mine and there are many differences.
Are you certain that reinstall
leaves dependencies untouched?
1,3c1,3
< boto3 1.11.10
< botocore 1.14.10
< braintree 3.58.0
---
> boto3 1.11.15
> botocore 1.14.15
> braintree 3.59.0
6c6
< cffi 1.13.2
---
> cffi 1.14.0
27c27
< gocardless-pro 1.12.1
---
> gocardless-pro 1.14.0
55c55
< pandas 1.0.0
---
> pandas 1.0.1
63,64c63,64
< pip 19.3.1
< plaid-python 3.5.0
---
> pip 20.0.2
> plaid-python 3.6.0
72c72
< PyGithub 1.45
---
> PyGithub 1.46
92c92
< s3transfer 0.3.2
---
> s3transfer 0.3.3
96c96
< setuptools 45.1.0
---
> setuptools 45.2.0
105c105
< unittest-xml-reporting 2.5.2
---
> unittest-xml-reporting 3.0.1
111c111
< Werkzeug 0.16.1
---
> Werkzeug 0.16.0
Update 2020/02/12 15:00 EST
So I tried reverting all pip dependencies to the ones @bene has in his working installation.
It made no difference, except that yet another different setting is involved
make_property_setter(doctype, "naming_series", "hidden", 1, "Check")
Yeah pretty sure. Would be nice if a dev could clarify.
Could this bug possibly be due to having a mixture of python 2 and python 3 in our systems?
Update 2020/02/13 11:00
So, I am still trying to solve this.
I have noticed an important fact. The indicated failure is never the same. What is the same every time is :
[CRITICAL] WORKER TIMEOUT (pid:29296)
Does that have an issue history with anyone here?
Update 2020/02/13 12:30
I ran the installer with the settings --without-site
and --without-erpnext
sudo -AH python3 install.py --production \
--user ${PRD_ERPHOST_USR} \
--without-site \
--without-erpnext \
--mysql-root-password ${PRD_ERPHOST_PWD} \
--admin-password ${PRD_ERPHOST_PWD} \
--verbose;
I then ran :
sudo bench setup production erpnext --yes;
sudo bench setup sudoers erpnext;
sudo bench restart;
I was able to complete the Setup Wizard but it was only a short form wizard that asked nothing about our company and no modules like Human Resources or Manufacturing appear when it completed?
Also it sported the Frappe icon, rather than the blue “E” for ErpNext.
How can I get the full ErpNext installation wizard that asks for business domains, type of Chart of Accounts etc.?
For what you are describing, it seems like your site doesn’t have erpnext installed. Try this:
bench --site SITE_NAME reinstall
bench --site SITE_NAME install-app erpnext
And then try the wizard
Thanks @Nahuel_Nso
In fact, I had to do :
bench --site SITE_NAME reinstall
bench get-app --branch version-12 erpnext
bench --site SITE_NAME install-app erpnext
That does get me the complete installer.
Running a partial install.py
, using --without-site
and --without-erpnext
, then completing the remaining steps as you indicate, does not solve the larger problem described in my first post. The Wizard still fails at some random spot due to a dead worker:
[2020-02-13 14:24:25 -0500] [7739] [CRITICAL] WORKER TIMEOUT (pid:7759)
[2020-02-13 14:24:25 -0500] [7759] [ERROR] Error handling request /api/method/frappe.desk.page.setup_wizard.setup_wizard.setup_complete
I am now at about 20 hours working to solve this.
Any update on this?
Any developments? Are none installing ErpNext anymore?
Saw this thread but the setup wizard receives a timeout. I am well beyond the setup stage on an ubuntu 18lts