[SOLVED] a lot of volumes in docker for appwrite after update from 1.3 to 1.4 and 1.4.1
- 0
- General
[root@rocky-docker ~]# docker volume ls
DRIVER VOLUME NAME
local appwrite_appwrite-builds
local appwrite_appwrite-cache
local appwrite_appwrite-certificates
local appwrite_appwrite-config
local appwrite_appwrite-functions
local appwrite_appwrite-influxdb
local appwrite_appwrite-mariadb
local appwrite_appwrite-redis
local appwrite_appwrite-uploads
[root@rocky-docker volumes]# du -sh *
8.0K appwrite_appwrite-builds
472K appwrite_appwrite-cache
32K appwrite_appwrite-certificates
12K appwrite_appwrite-config
8.0K appwrite_appwrite-functions
19M appwrite_appwrite-influxdb
447M appwrite_appwrite-mariadb
304K appwrite_appwrite-redis
59M appwrite_appwrite-uploads
0 backingFsBlockDev
60K metadata.db
Ok thanks for the hint. this was not a volume it was all cache in overlay2. docker system prune --all --volumes --force
cleand just 61GB of space 😄
I also find the output of docker system df
very helpful
ah nice thanks for the hint.
Great
Do you have any idea why Container appwrite-executor Starting
never stops starting with docker compose up -d
Appwrite is runing but I have to close the terminal and log in again.
You have version 1.4 right?
appwrite-executor
should be replaced with openruntimes-executor
What are the results of
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2212eb71ac6b traefik:2.7 "/entrypoint.sh --pr…" 2 minutes ago Up 2 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp appwrite-traefik
0b75a836bdd3 appwrite/appwrite:1.4.2 "worker-databases" 2 minutes ago Up 2 minutes 80/tcp appwrite-worker-databases
d46269af28c4 appwrite/appwrite:1.4.2 "worker-messaging" 2 minutes ago Up 2 minutes 80/tcp appwrite-worker-messaging
10cf93cddab9 appwrite/appwrite:1.4.2 "worker-mails" 2 minutes ago Up 2 minutes 80/tcp appwrite-worker-mails
17755d7d0bf8 appwrite/appwrite:1.4.2 "schedule" 2 minutes ago Up 17 seconds 80/tcp appwrite-schedule
2c464fc635f4 appwrite/appwrite:1.4.2 "worker-certificates" 2 minutes ago Up 2 minutes 80/tcp appwrite-worker-certificates
80289e51b84e appwrite/appwrite:1.4.2 "docker-php-entrypoi…" 2 minutes ago Up 2 minutes 80/tcp appwrite
c46f5124cf41 appwrite/appwrite:1.4.2 "worker-builds" 2 minutes ago Up 2 minutes 80/tcp appwrite-worker-builds
6cbbe2d7f985 appwrite/appwrite:1.4.2 "usage" 2 minutes ago Up 2 minutes 80/tcp appwrite-usage
appwrite-influxdb
3640cd2e94e3 appwrite/appwrite:1.4.2 "worker-deletes" 2 minutes ago Up 2 minutes 80/tcp appwrite-worker-deletes
c2f296cd308b appwrite/appwrite:1.4.2 "worker-webhooks" 2 minutes ago Up 2 minutes 80/tcp appwrite-worker-webhooks
ea091bf92140 appwrite/appwrite:1.4.2 "realtime" 2 minutes ago Up 2 minutes 80/tcp appwrite-realtime
22b95eb2273f appwrite/appwrite:1.4.2 "maintenance" 2 minutes ago Up 2 minutes 80/tcp appwrite-maintenance
13b2c105c1ec appwrite/appwrite:1.4.2 "worker-audits" 2 minutes ago Up 2 minutes 80/tcp appwrite-worker-audits
f726095d917e appwrite/telegraf:1.4.0 "/entrypoint.sh tele…" 2 minutes ago Up 2 minutes 8092/udp, 8125/udp, 8094/tcp appwrite-telegraf
6297f32f1777 redis:7.0.4-alpine "docker-entrypoint.s…" 2 minutes ago Up 2 minutes 6379/tcp appwrite-redis
6390b32eaf8d mariadb:10.7 "docker-entrypoint.s…" 2 minutes ago Up 2 minutes 3306/tcp appwrite-mariadb
7eb1e2616514 appwrite/influxdb:1.5.0 "/entrypoint.sh infl…" 2 minutes ago Up 2 minutes 8086/tcp ```
so my docker compose file is old ?
How you've did the upgrade?
just change the docker image version to 1.4.2 for all appwrite images
Gotcha
So in version 1.4.0
Appwrite introduced a new docker-compose
structure and it's best to go the automate way
What I suggest to do
is
- backup
- revert all to version
1.3.8
- Run upgrade
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="upgrade" \
appwrite/appwrite:1.4.2
- Run migrate
so no need for my docker compose file anymore?
You need
But this command will upgrade it to the next version
check
Run the command folder above your docker-compose.yml
file, like you can see here
everything worked out. Thank you very much for doing this! I really appreciate the help!
<:appwritefire:823999000330895380> Sure
[SOLVED] a lot of volumes in docker for appwrite after update from 1.3 to 1.4 and 1.4.1
How much space appwrite is taking on your Hetzner server ? I had the CX21 offer with 2 vCPU, 4gb Ram & 20Gb disk & after a prune appwrite seems to take 10Gb.
Thanks for your reply 🙂
21G /var/lib/docker/overlay2
I have a CPX21 with 3vCPU 4GB RAM and 80GB storage. I use this machine also as GitLab Runner Build Server for my CI/CD. So not all 21GB should be appwrite.
Thanks a lot !
Recommended threads
- Current User is Not authorized
recreating same Thread
- Account Status
Hello! I'm a student and am in the GitHub Student Organization, and according to GitHub, I am recieving pro membership via the Student Dev Pack. However, when I...
- Refund Request - Just purchased 2 mins a...
Hello Appwrite Team! I am a student and like 2 minutes ago I purchased Appwrite Pro ($15) because I had reached a limit on the number of attributes in a collect...