I had a hard time trying to get erpnext installed, but I managed to get it running this morning, added a few customers, suppliers, looked at the chart of accounts, etc. I decided to try installing the helpdesk module into the same site.
First, to install ERPNext, I did this:
docker compose --project-name erpnext --env-file /opt/erpnext.env -f compose.yaml -f overrides/compose.mariadb.yaml -f overrides/compose.redis.yaml -f overrides/compose.noproxy.yaml config > /opt/erpnext.yaml
docker compose --project-name erpnext --env-file /opt/erpnext.env -f /opt/erpnext.yaml up -d
That's the abridged version for sure, since it was up, down, adjust file, up, down again... I also didn't have the project name in it at first, so the volumes and network were named differently, but I manually renamed the volumes and successfully started it up.
I then used this documentation to install helpdesk: https://docs.frappe.io/helpdesk/installation
I received an error about telephony not being included when I tried to install it:
builtins.ModuleNotFoundError: No module named 'telephony'
So, I re-ran get-app with --resolve-deps:
55d476201d4a:~/frappe-bench$ bench get-app helpdesk --branch main --resolve-deps
Following apps will be installed
- telephony (required by helpdesk)
- helpdesk
Getting telephony
...
I finally ran the installation with:
frappe@55d476201d4a:~/frappe-bench/apps$ bench --site erp.example.com install-app helpdesk
and it seemed to work... but when I reloaded the web interface, I saw a 500 Internal Server Error. The backend log showed:
ModuleNotFoundError: No module named 'telephony'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 133, in application
response = get_response()
---OMITTED---
ModuleNotFoundError: No module named 'helpdesk'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
I tried to remove the application (module??) and install it again, but... it says it's not installed!
frappe@9f0090acfd2c:~/frappe-bench$ bench list-sites
Available sites:
erp.example.com
frappe@9f0090acfd2c:~/frappe-bench$ bench --site erp.example.com uninstall-app helpdesk
Could not find app "helpdesk":
No module named 'helpdesk'
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/caching.py", line 65, in wrapper
return _cache[func][args_key]
~~~~~~~~~~~~^^^^^^^^^^
KeyError: ('helpdesk',)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 48, in invoke
return super().invoke(ctx)
---OMITTED---
ModuleNotFoundError: No module named 'helpdesk'
No module named 'helpdesk'
frappe@9f0090acfd2c:~/frappe-bench$ bench --site erp.example.com list-apps
frappe 16.13.0 UNVERSIONED
erpnext 16.12.0 UNVERSIONED
telephony 0.0.1 develop
helpdesk 1.22.1 main
frappe@9f0090acfd2c:~/frappe-bench$ bench --site erp.example.com uninstall-app telephony
Could not find app "telephony":
No module named 'telephony'
What am I doing wrong? I'm vary unfamiliar with frappe, bench, etc so it could easily be my misunderstanding... but I find the documentation to be very confusing.
Thank you!
I had a hard time trying to get erpnext installed, but I managed to get it running this morning, added a few customers, suppliers, looked at the chart of accounts, etc. I decided to try installing the helpdesk module into the same site.
First, to install ERPNext, I did this:
That's the abridged version for sure, since it was up, down, adjust file, up, down again... I also didn't have the project name in it at first, so the volumes and network were named differently, but I manually renamed the volumes and successfully started it up.
I then used this documentation to install helpdesk: https://docs.frappe.io/helpdesk/installation
I received an error about telephony not being included when I tried to install it:
builtins.ModuleNotFoundError: No module named 'telephony'
So, I re-ran get-app with --resolve-deps:
55d476201d4a:~/frappe-bench$ bench get-app helpdesk --branch main --resolve-deps
Following apps will be installed
Getting telephony
...
I finally ran the installation with:
frappe@55d476201d4a:~/frappe-bench/apps$ bench --site erp.example.com install-app helpdeskand it seemed to work... but when I reloaded the web interface, I saw a 500 Internal Server Error. The backend log showed:
I tried to remove the application (module??) and install it again, but... it says it's not installed!
What am I doing wrong? I'm vary unfamiliar with frappe, bench, etc so it could easily be my misunderstanding... but I find the documentation to be very confusing.
Thank you!