# MedCATtrainer installation brings up medcattrainer\_medcattrainer-bg-process\_1 with errors

**URL:** <https://discourse.cogstack.org/t/medcattrainer-installation-brings-up-medcattrainer-medcattrainer-bg-process-1-with-errors/334>\
**Category:** MedCAT\
**Created:** [December 17, 2024, 1:54pm UTC](https://discourse.cogstack.org/t/medcattrainer-installation-brings-up-medcattrainer-medcattrainer-bg-process-1-with-errors/334 "2024-12-17T13:54:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elenaP](https://avatars.discourse-cdn.com/v4/letter/e/a183cd/32.png) [@elenaP](https://discourse.cogstack.org/u/elenaP)\
**Post date:** [December 17, 2024, 1:54pm UTC](https://discourse.cogstack.org/t/medcattrainer-installation-brings-up-medcattrainer-medcattrainer-bg-process-1-with-errors/334/1 "2024-12-17T13:54:02Z")

</div>

I have just pulled the latest Trainer version from Github. (The same error was encoutered before the most recent github upgrade - 2.17.4). Gettign the container up returns the following error.

(base) elenapurcaru@rhmmedcatt-proliant-ml350-gen10:~/project/Trainer3/MedCATtrainer$ docker-compose up  
Creating network “medcattrainer\_default” with the default driver  
Creating medcattrainer\_medcattrainer-db-backup\_1 … done  
Creating medcattrainer\_medcattrainer-bg-process\_1 … error  
Creating mct\_solr … done  
Creating medcattrainer\_medcattrainer\_1 … done  
Creating medcattrainer\_nginx\_1 …

ERROR: for medcattrainer\_medcattrainer-bg-process\_1 Cannot start service medcattrainer-bg-process: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/home/scripts/run-bg-pro  
Creating medcattrainer\_nginx\_1 … done

ERROR: for medcattrainer-bg-process Cannot start service medcattrainer-bg-process: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: “/home/scripts/run-bg-process.sh”: stat /home/scripts/run-bg-process.sh: no such file or directory: unknown  
ERROR: Encountered errors while bringing up the project.

Frontend wise, the demo will be accessible, but I am unable to login to the trainer, even in admin mode. I am not sure if this is related to the bg-process docker error I posted above, but I wanted to clear that out first. Thank you.

---

<div class="post-metadata">

**Author:** ![tomolopolis](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@tomolopolis](https://discourse.cogstack.org/u/tomolopolis)\
**Post date:** [December 30, 2024, 3:03pm UTC](https://discourse.cogstack.org/t/medcattrainer-installation-brings-up-medcattrainer-medcattrainer-bg-process-1-with-errors/334/2 "2024-12-30T15:03:28Z")

</div>

Hi @elenaP - I’ve rolled back a `docker-compose.yml` / `docker-compose-prod.yml` change that was merged in prep for a new release.

If you `git pull` this should work now.

---

<div class="post-metadata">

**Author:** ![tomolopolis](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@tomolopolis](https://discourse.cogstack.org/u/tomolopolis)\
**Post date:** [January 7, 2025, 9:37am UTC](https://discourse.cogstack.org/t/medcattrainer-installation-brings-up-medcattrainer-medcattrainer-bg-process-1-with-errors/334/3 "2025-01-07T09:37:31Z")

</div>

I’ve now released `v.2.18.0`, and have updated the `docker-compose.yml` / `docker-compose-prod.yml` files

---

<div class="post-metadata">

**Author:** ![elenaP](https://avatars.discourse-cdn.com/v4/letter/e/a183cd/32.png) [@elenaP](https://discourse.cogstack.org/u/elenaP)\
**Post date:** [January 14, 2025, 11:09am UTC](https://discourse.cogstack.org/t/medcattrainer-installation-brings-up-medcattrainer-medcattrainer-bg-process-1-with-errors/334/4 "2025-01-14T11:09:17Z")

</div>

thank you Tom, all works fine now.
