I’ve been trying to install the latest version of ERPNext, with the easy install method of Bench on Ubuntu 18.04.3LTS. After figuring out the container issue, the locale issue, I end up having a function desk. Everything seems to work. However, when I try to add items, it seems that the Item Group tree is empty. There is no “All Group Items” master parent in there. I’ve tried to reinstall many times (thinking the pre-load of fixtures may have been jeopardize with the locale stuff), but nothing seems to do it. On the last run where I had no errors I did the following steps:
- Create a system user and assign to the sudo group.
- Install the
- Generate and assign as default the
en_US.utf8locale to both
- Install Bench with the install script using
python3 install.py --container --user [user] --production --mysql-root-password [mysqlPasswd] --admin-password [adminPasswd] --site [siteName]
I end up having the following version:
erpnext 12.1.0 and
frappe 12.0.10 when checking with
bench version. Up to that point, no issues at all.
After that, I open up my browser, login as Administrator, fill in the few questions on the company, etc. and first thing, I go check the Item Group Tree… and it’s empty! The new button doesn’t even work. I find a workaround to create a new Item Group (using the Item creation form, in the dropdown for the item group, you can click on create a new one). However, I’ve got the error Not Found - Item Group All Item Groups not found - The resource you are looking for is not available. I cannot even create that root group. All other default fixtures I can find seems to be there (unit of measure, project type, activity type, wharehouse, item attribute, chart of accounts, etc.).
The only thing I could find in the code is as if the item group fixtures are not processed, but the only thing I could find in the code is there https://github.com/frappe/erpnext/blob/develop/erpnext/setup/setup_wizard/operations/install_fixtures.py#L35 and they are alongside other fixtures that do exist!
On a previous attempt, I’ve tried to add
All Item Groups item group manually in the database, however it did not go well; although the item tree was showing, creating a new item group was impossible as I would had an error in the line of “cannot create a item group under itself”, even though it wasn’t what the form was telling to do!
I’m kind of lost here. Any idea on how to resolve this?