# Rocketchat container not starting after docker restart

**URL:** <https://forums.rocket.chat/t/rocketchat-container-not-starting-after-docker-restart/18236>\
**Category:** Community Support\
**Created:** [November 2, 2023, 11:51am UTC](https://forums.rocket.chat/t/rocketchat-container-not-starting-after-docker-restart/18236 "2023-11-02T11:51:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivica](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/ivica/32/3246_2.png) [@ivica](https://forums.rocket.chat/u/ivica)\
**Post date:** [November 2, 2023, 11:51am UTC](https://forums.rocket.chat/t/rocketchat-container-not-starting-after-docker-restart/18236/1 "2023-11-02T11:51:57Z")

</div>

Hi. I am updating a bunch of Rocketchat instances that I am maintaining, but I run into issue in each one of them. When I update the mongo and rocketchat versions, the first time I run `docker compose up -d` the containers boot, Rocketchat successfully connects to mongo and the service is working fine.

However, after restarting the containers with `docker compose down` then `docker compose up -d` the rocketchat container starts but doesn’t boot up rocketchat. Below is the log from docker logs command indicating where it hangs. Please note that on the first boot (when it works fine), it still shows the same errors, but after that, it continues with establishing connections and running, but after docker restart it just hangs at this step.

`docker logs rocketchat-1`

```auto
strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
strict mode: use allowUnionTypes to allow union type keyword at "#/properties/value" (strictTypes)
(node:1) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)
LocalStore: store created at 
LocalStore: store created at 
LocalStore: store created at 
MessageType.render is deprecated. Use MessageType.message instead. livechat_webrtc_video_call
{"level":40,"time":"2023-11-02T11:36:44.373Z","pid":1,"hostname":"a4b7a47107e9","name":"VoIPService","msg":"Voip is not enabled. Cant start the service"}

```

### Server Setup Information

- Version of Rocket.Chat Server: 6.3.10
- Operating System: Ubuntu-22
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: ?
- NodeJS Version: ?
- MongoDB Version: 5.0
- Firewalls involved: no

---

<div class="post-metadata">

**Author:** ![ivica](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/ivica/32/3246_2.png) [@ivica](https://forums.rocket.chat/u/ivica)\
**Post date:** [November 2, 2023, 2:31pm UTC](https://forums.rocket.chat/t/rocketchat-container-not-starting-after-docker-restart/18236/2 "2023-11-02T14:31:27Z")

</div>

After further investigation, it turns out that this happens only after I import the mongo database dump from the old server. I am following this guide to perform the upgrade:

> **[MongoDB mmap to wiredTiger migration](https://docs.rocket.chat/setup-and-configure/rocket.chat-environment-configuration/mongodb-configuration/mongodb-mmap-to-wiredtiger-migration)**
>
> Migrate your existing mmap based MongoDB instance into a wiredTiger manually.

So i first export the old mongo database, then upgrade rocketchat and mongo versions and then import the database in the new server. However this prevents the rocket server from starting after containers are restarted.
