I created a custom image to install hrms and payments app. After the starting the containers, I created my new site and gave it a custom name then made it the default site. For some reason, The backend seemed to be expecting the site name to be frontend. Any idea what went wrong ?
PS: my common site config is well configured and the default site name updated.
‘queue-long_1 | During handling of the above exception, another exception occurred:
queue-long_1 |
queue-long_1 | Traceback (most recent call last):
queue-long_1 | File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/rq/job.py”, line 1429, in execute_failure_callback
queue-long_1 | self.failure_callback(self, self.connection, *exc_info)
queue-long_1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 584, in truncate_failed_registry
queue-long_1 | conf = frappe.conf if frappe.conf else frappe.get_conf(site=job.kwargs.get(“site”))
queue-long_1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
queue-long_1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 402, in get_conf
queue-long_1 | with init_site(site):
queue-long_1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 412, in enter
queue-long_1 | init(self.site)
queue-long_1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 228, in init
queue-long_1 | local.conf = _dict(get_site_config())
queue-long_1 | ^^^^^^^^^^^^^^^^^
queue-long_1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 339, in get_site_config
queue-long_1 | raise IncorrectSitePath(f"{local.site} does not exist")
queue-long_1 | frappe.exceptions.IncorrectSitePath: 404 Not Found: frontend does not exist
queue-long_1 | 2024-11-25 11:08:27,018 [Job frontend::scheduled_job::erpnext.utilities.bulk_transaction.retry]: exception raised while executing (frappe.utils’