erpnext installation in a docker with frappe assistant core

I have tried to install erpnext in a docker and successful but when i installed frappe assistant core GitHub - buildswithpaul/Frappe_Assistant_Core: Infrastructure that connects LLMs to ERPNext. Frappe Assistant Core works with the Model Context Protocol (MCP) to expose ERPNext functionality to any compatible Language Model it gave me below errors in docker and also in the frontend- internal server error– logs are –

stuck here for long time and get thought in the installation process– now it is stuck here–

Please note that this all happened after installation of frappe assistant core

personal Containers frappe_docker-queue-long-1 frappe_docker-queue-long-1 2d6a19fe6099 frappe/erpnext:v15.85.1 STATUS Running (0 seconds ago) File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/tenacity/_init_.py”, line 325, in iter raise retry_exc.reraise() ^^^^^^^^^^^^^^^^^^^ File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/tenacity/_init_.py”, line 158, in reraise raise self.last_attempt.result() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/concurrent/futures/_base.py”, line 449, in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/concurrent/futures/_base.py”, line 401, in __get_result raise self._exception File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/tenacity/_init_.py”, line 382, in _call_ result = fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 500, in get_redis_conn return get_redis_connection_without_auth() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 522, in get_redis_connection_without_auth _redis_queue_conn = RedisQueue.get_connection() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/redis_queue.py”, line 35, in get_connection conn.ping() File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/redis/commands/core.py”, line 1205, in ping return self.execute_command(“PING”, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/redis/client.py”, line 1266, in execute_command conn = self.connection or pool.get_connection(command_name, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/redis/connection.py”, line 1457, in get_connection connection.connect() File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/redis/connection.py”, line 705, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.

frappe@e0be4c1ac038:~/frappe-bench$ bench get-app https://github.com/buildswithpaul/Frappe_Assistant_Core
Getting Frappe_Assistant_Core
$ git clone https://github.com/buildswithpaul/Frappe_Assistant_Core --origin upstream
Cloning into ‘Frappe_Assistant_Core’…
remote: Enumerating objects: 1640, done.
remote: Counting objects: 100% (301/301), done.
remote: Compressing objects: 100% (156/156), done.
remote: Total 1640 (delta 205), reused 145 (delta 145), pack-reused 1339 (from 2)
Receiving objects: 100% (1640/1640), 6.20 MiB | 1.52 MiB/s, done.
Resolving deltas: 100% (1044/1044), done.

update– this internal server error cause by no module name error. frappe assistant core can see in the backend but can not see in the front end. also i did not find any instruction in the main page in the github repo saying to install dependencies. this also make a issue worst. now i installed the dependencies by running cd apps/frappe_assistant_core
pip install -e . but still not success. getting internal server error- mean module name can not find because it is not in the frontend. only backend has. I don’t know why?

If you are using docker you cannot use bench get-app (bench install-app works)

To create docker multi-site and multi-app please use easy-install.py: -

  1. wget https://raw.githubusercontent.com/frappe/bench/develop/easy-install.py

  2. git clone GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext

  3. In “frappe_docker/development/apps-example.json” edit your apps with their branch: -
    [
    { “url”: “https://github.com/frappe/erpnext”, “branch”: “version-15” },
    { “url”: “https://github.com/frappe/hrms”, “branch”: “version-15” },
    { “url”: “https://github.com/frappe/education”, “branch”: “version-15” },
    { “url”: “https://github.com/frappe/crm”, “branch”: “main” },
    { “url”: “https://github.com/frappe/wiki”, “branch”: “master”},
    { “url”: “https://github.com/Aakvatech-Limited/CSF_TZ”, “branch”: “master”}
    ]

  4. python3 easy-install.py build

  5. python3 easy-install.py deploy --image=custom-apps --version=latest --sitename=bench3site1.duckdns.org --sitename=bench3site2.duckdns.org --sitename=bench3site3.duckdns.org --app=erpnext --app=hrms --app=education --app=crm --app=wiki --app=csf_tz

For step 4 and 5 if you want more options rather than default values please check out GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps

Don’t forget to add the sites to your host file