Hello, and happy 14th anniversary!
This is a new/fresh installation with Docker.
Whenever I run any bench
command, I get this error:
Traceback (most recent call last):
File "/usr/local/bin/patched_bench_helper.py", line 48, in <module>
raise SystemExit(main())
File "/usr/local/bin/patched_bench_helper.py", line 43, in main
frappe.utils.bench_helper.main()
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
commands = get_app_groups()
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 25, in get_app_groups
for app in get_apps():
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 102, in get_apps
return frappe.get_all_apps(with_internal_apps=False, sites_path=".")
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1371, in get_all_apps
apps = get_file_items(os.path.join(sites_path, "apps.txt"), raise_not_found=True)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1519, in get_file_items
content = read_file(path, raise_not_found=raise_not_found)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1547, in read_file
raise OSError(f"{path} Not Found")
OSError: b'./apps.txt' Not Found
I checked the file /frappe-bench/sites/apps.txt
, it exists and it contains:
frappe
erpnext
The public site (erp.demo.com) works. I completed the setup wizard, however, after switching to Desk, the Workspace screen appears for a second and then redirects to the home page (out of Desk).
If I changed the URL to any app under Desk, I get an error message that the app is not found/installed.
Any hints to troubleshoot?
Version 13
Host: CentOS 7.9
Regards!