# Git pull...docker compose for update

**URL:** <https://community.baserow.io/t/git-pull-docker-compose-for-update/3665>\
**Category:** Technical Help\
**Tags:** docker\
**Created:** [October 27, 2023, 3:09pm UTC](https://community.baserow.io/t/git-pull-docker-compose-for-update/3665 "2023-10-27T15:09:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![taubers](https://community.baserow.io/letter_avatar_proxy/v4/letter/t/919ad9/32.png) [@taubers](https://community.baserow.io/u/taubers)\
**Post date:** [October 27, 2023, 3:09pm UTC](https://community.baserow.io/t/git-pull-docker-compose-for-update/3665/1 "2023-10-27T15:09:02Z")

</div>

Dear Baserowers,  
where do I execute the `git pull` command from (what directory) in order to upgrade the system to a newer version if I have the Baserow installed using `docker compose`?

I’m sure it’s not from the directory where the `docker-compose.yml` is located.

Since I’m doing it first time, I have therefore no ideas 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![taubers](https://community.baserow.io/letter_avatar_proxy/v4/letter/t/919ad9/32.png) [@taubers](https://community.baserow.io/u/taubers)\
**Post date:** [October 30, 2023, 4:38am UTC](https://community.baserow.io/t/git-pull-docker-compose-for-update/3665/2 "2023-10-30T04:38:38Z")

</div>

Ok, solved it in a different way since somehow `git pull` didn’t work for me out:

Created a documentation for myself on how to update Baserow:

- Backup Baserow

- Run`docker compose down` as **root** from `/home/user/baserow`

- Manually change the version of the desired Baserow version in the docker-compose.yml file for all the services: `nano /home/user/baserow/docker-compose.yml`

- Make sure all other services also have appropriate versions adapted in the docker-compose.yml file that go along with the target Baserow version. All versions of the services can be found here: [https://github.com/bram2w/baserow/blob/master/docker-compose.yml](https://github.com/bram2w/baserow/blob/master/docker-compose.yml)

- Run `docker compose up --build`

- Check the system for functionality. Restore from backup, if the system does not work properly.

---

<div class="post-metadata">

**Author:** ![olgatrykush](https://community.baserow.io/user_avatar/community.baserow.io/olgatrykush/32/219_2.png) [@olgatrykush](https://community.baserow.io/u/olgatrykush)\
**Post date:** [October 30, 2023, 9:05am UTC](https://community.baserow.io/t/git-pull-docker-compose-for-update/3665/3 "2023-10-30T09:05:06Z")

</div>

@taubers, thank you for publishing how you managed to resolve your problem. We appreciate it. 💙
