Now I want to upgrade it to last version 1.15.1
I follow the steps :
2/ stop : $ sudo docker stop baserow
3/ upgrade :
$ sudo docker run -d --name baserow_1.15.1 \
> baserow/baserow:1.15.1
4/ does not exist in doc ! may be here is the problem
5/ follow the logs to monitor it:
$ sudo docker logs -f baserow_1.15.1
answers to me :
Please run baserow with a mounted data folder 'docker run -v baserow_data:/baserow/data ...', otherwise your data will be lost between runs. To disable this check set the DISABLE_VOLUME_CHECK env variable to 'yes' (docker run -e DISABLE_VOLUME_CHECK=yes ...).
yes I did exactly as written.
And in addition the answer to such command is :
$ sudo docker run -v baserow_data:/baserow/data
"docker run" requires at least 1 argument.
See 'docker run --help'.
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
It doesn’t seem like step 4 is missing, it’s just a small mistake in the manual numbering. We’ll change it. Have you been able to upgrade your Baserow in the meantime? It seems like you weren’t running the full docker run command with all the arguments.
I believe the step you are mis understanding is step 3 which isn’t that clear in the docs. You are expected to construct docker commands and understand how to use docker to follow this guide. Step 3 shows a partial docker command
# We haven't yet deleted the old Baserow container so you need to start this new one
# with a different name to prevent an error like:
# `response from daemon: Conflict. The container name "/baserow" is already in use by
# container`
docker run \
-d \
--name baserow_version_REPLACE_WITH_NEW_VERSION \
# YOUR STANDARD ARGS HERE
baserow/baserow:REPLACE_WITH_LATEST_VERSION
Please replace # YOUR STANDARD ARGS HERE with the parameters that you want to run your Baserow docker container with. Do not just copy and paste this command without filling in the standard arguments.
For example this could look like:
sudo docker stop baserow
sudo docker run \
-d \
--name baserow_v1152 \
-e BASEROW_PUBLIC_URL=http://localhost \
-v baserow_data:/baserow/data \
-p 80:80 \
-p 443:443 \
--restart unless-stopped \
baserow/baserow:1.15.2
sudo docker logs -f baserow_v1152
# Go to your baserow and make sure it is working with all of your data as expected once it has started
sudo docker rm baserow
But once again I want to emphasize, you should understand how to work with Docker to run Baserow using Docker, there are many great tutorials out there that can help you.