# Migration Snap to Docker

**URL:** <https://forums.rocket.chat/t/migration-snap-to-docker/16621>\
**Category:** Community Support\
**Created:** [April 22, 2023, 7:49pm UTC](https://forums.rocket.chat/t/migration-snap-to-docker/16621 "2023-04-22T19:49:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nico1](https://avatars.discourse-cdn.com/v4/letter/n/f6c823/32.png) [@Nico1](https://forums.rocket.chat/u/Nico1)\
**Post date:** [April 22, 2023, 7:49pm UTC](https://forums.rocket.chat/t/migration-snap-to-docker/16621/1 "2023-04-22T19:49:42Z")

</div>

Hello,

we would like to migrate Rocketchat server from Snap to Docker. But unfortunately it does not work.

### Server Setup Information

- Version of Rocket.Chat Server:
- Operating System: Debian 11
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog: -
- NodeJS Version: v14.21.2
- MongoDB Version: 5.0.15
- Proxy: apache
- Firewalls involved:-

### Any additional Information

I tried to import the mongodb dump file into the docker mongodb container. It always comes up with the initial setup.

It doesn’t matter if the rocketchat server is running during the migration or not, it won’t work in both cases.

How can I proceed here?

Thanks

---

<div class="post-metadata">

**Author:** ![gabriel.casals](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/gabriel.casals/32/3790_2.png) [@gabriel.casals](https://forums.rocket.chat/u/gabriel.casals)\
**Post date:** [April 24, 2023, 7:16pm UTC](https://forums.rocket.chat/t/migration-snap-to-docker/16621/2 "2023-04-24T19:16:09Z")

</div>

Hi Nico1, Hope the info on this post is helpful for you: [Migrate self hosted server from 3.18 snap to 5.0 docker based installation - #2 by dudanogueira](https://forums.rocket.chat/t/migrate-self-hosted-server-from-3-18-snap-to-5-0-docker-based-installation/14768/2)

might be good to read this one as well → [Migrating 3.18.7 from snap to Docker loses all uploads (GridFS)](https://forums.rocket.chat/t/migrating-3-18-7-from-snap-to-docker-loses-all-uploads-gridfs/16197)

Hope they help you
