Back

[SOLVED] Upgrade Error: Renaming a container with the same name as its current name

  • 0
  • Self Hosted
rbiut
29 Nov, 2023, 23:00

Following the instructions in https://appwrite.io/docs/advanced/self-hosting/update i was unable to upgrade to 1.4.13, the error i got is Error response from daemon: Renaming a container with the same name as its current name

What should i do now to complete or upgrade? I have not run any other command or tried to upgrade it again, i just left it untouched until i know what to do now

i used this command to 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.13

My log (resume), is attatched as a txt file, if you need the full log i can upload it too, i deleted the the pulls, extracts, etc. lines that i dont think they are important

I have my terminal opened atm because i do not how to proceed

TL;DR
User encountered an error while trying to upgrade to version 1.4.13 of the application. The error message is "Renaming a container with the same name as its current name." They followed the instructions in the documentation but are unsure how to proceed. Solution: To resolve the error, user should run the following commands in the appwrite folder: ``` docker compose down docker compose up -d ```
Drake
30 Nov, 2023, 00:48

try to recreate the containers:

TypeScript
docker compose down
docker compose up -d
rbiut
30 Nov, 2023, 00:55

let me do that

rbiut
30 Nov, 2023, 00:55

$ docker compose down 1 ⨯ no configuration file provided: not found

rbiut
30 Nov, 2023, 00:58

do i need to do it with sudo?

rbiut
30 Nov, 2023, 02:33

@Steven ?

Drake
30 Nov, 2023, 02:35

You need to execute these commands in the appwrite folder that has the docker compose file

rbiut
30 Nov, 2023, 02:35

oh

rbiut
30 Nov, 2023, 03:18

bot commands ended successfully @Steven so, now do i need to run the migration command? o re-run the upgrade command?

rbiut
30 Nov, 2023, 07:16

?

Drake
30 Nov, 2023, 07:36

Migrate

rbiut
30 Nov, 2023, 16:36

yep, is ended fine, im back in game, thanks a lot @Steven

Drake
30 Nov, 2023, 18:01

[SOLVED] Upgrade Error: Renaming a container with the same name as its current name

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more