Hello,
I am trying to start in a docker a simple setup (version-12) with three custom apps.
I followed step by step the two following examples :
https://github.com/castlecraft/custom_frappe_docker/blob/main/docker-compose.yml
And in both cases I end up with a non starting instance (500 Internal Server Error).
In the logs of the site-creator, I get this weird message :
`Updating DocTypes for erpnext : [========================================]`
``
`Updating customizations for Address`
``
`Traceback (most recent call last):`
`File "/home/frappe/frappe-bench/commands/new.py", line 118, in <module>`
`main()`
`File "/home/frappe/frappe-bench/commands/new.py", line 70, in main`
`db_port=db_port,`
`File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 90, in _new_site`
`_install_app(app, verbose=verbose, set_as_patched=not source_sql)`
`File "/home/frappe/frappe-bench/apps/frappe/frappe/installer.py", line 61, in install_app`
`raise Exception("App not in apps.txt")`
`Exception: App not in apps.txt`
I looked on the forums, even connected to the site-creator
docker, apps are correctly set in the Apps.txt.
Moreover, I also see some issues in the erpnext-python
docker :
erpnext-python_1 | File "/home/frappe/frappe-bench/env/lib/python3.7/site-packages/pymysql/connections.py", line 684, in _read_packet
erpnext-python_1 | packet.check_error()
erpnext-python_1 | File "/home/frappe/frappe-bench/env/lib/python3.7/site-packages/pymysql/protocol.py", line 220, in check_error
erpnext-python_1 | err.raise_mysql_exception(self._data)
erpnext-python_1 | File "/home/frappe/frappe-bench/env/lib/python3.7/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
erpnext-python_1 | raise errorclass(errno, errval)
erpnext-python_1 | pymysql.err.OperationalError: (1045, "Access denied for user '_ca89ff92470ceefa'@'172.24.0.2' (using password: YES)")
For that I saw some post where it is needed to grant access to the user to the whole database. Could it be related? If not, where to investigate why the site-creator
docker is not going through the end.
Of course, in Development container, everything runs fine.
Thanks for you support.
Cheers,
Benoit