Back

Error migrate 1.4.1 => 1.4.2 -"Failed to create project ("console")

  • 0
  • Self Hosted
safwan
8 Sep, 2023, 06:25

Installation is not upgraded and remains at 1.4.1 Did you download the new version? If I'm not wrong, installing the new version would update all appwrite/appwrite containers to 1.4.2

TL;DR
User is experiencing an error when trying to migrate from version 1.4.1 to 1.4.2 of Appwrite. Some suggestions and troubleshooting steps are provided, including upgrading and migrating according to the documentation, checking for connection issues, checking disk space, and running a doctor command. The user also mentions that they have tried a fresh install of 1.4.1 and encountered the same error. A potential solution is mentioned – downloading the new version which should update all Appwrite containers to 1.4.2.
WasklyWabbit#1
8 Sep, 2023, 06:30

Yes, the migrate pulls down the latest docker images

WasklyWabbit#1
8 Sep, 2023, 06:31

As I test I did a completely fresh install of 1.4.1, and then tried to migrate that to 1.4.2 - got the same error

WasklyWabbit#1
8 Sep, 2023, 06:35

Error migrate 1.4.1 => 1.4.2 -"Failed to create project ("console")

safwan
8 Sep, 2023, 06:51

Can you show the output of docker ps | grep appwrite?

safwan
8 Sep, 2023, 06:52

It's weird because I moved from 1.3.8 to 1.4.2 with absolutely no issues with this guide: https://appwrite.io/docs/upgrade

safwan
8 Sep, 2023, 06:53

Can you aslo run docker compose exec appwrite doctor?

WasklyWabbit#1
8 Sep, 2023, 06:54
WasklyWabbit#1
8 Sep, 2023, 06:54
WasklyWabbit#1
8 Sep, 2023, 06:55

Maybe disk space?

safwan
8 Sep, 2023, 06:56

Could be a possibility, but that still doesn't make sense because the error is Collection not found

safwan
8 Sep, 2023, 06:57

Nah storage shows you have almost 30GB free. Couldn't be it.

safwan
8 Sep, 2023, 06:57

Are you able to login to appwrite and use it?

WasklyWabbit#1
8 Sep, 2023, 06:58

yes, seems operational

safwan
8 Sep, 2023, 06:58

docker logs appwrite-mariadb can you check this?

WasklyWabbit#1
8 Sep, 2023, 07:00

Seems ok

safwan
8 Sep, 2023, 07:05

Okay can you try to migrate to 1.4.2 once again, and see if there's a log in appwrite-mariadb for connection refused or something?

safwan
8 Sep, 2023, 07:05

Just to make sure once again, you ran the "upgrade" script before the migrate script right?

safwan
8 Sep, 2023, 07:05
TypeScript
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

This one

WasklyWabbit#1
8 Sep, 2023, 07:13

I did another migrate right before the maria dump, so no connection refused

WasklyWabbit#1
8 Sep, 2023, 07:13

The migrate command in the announcement didnt mention mapping volumes, so will try that

WasklyWabbit#1
8 Sep, 2023, 07:16

That worked. The instructions for minor upgrade (which is what I was doing as it was 1.4.1 to 1.4.2) should be removed/ amended - https://appwrite.io/docs/upgrade#migration

safwan
8 Sep, 2023, 07:17

Wait I'm a little lost. What exactly did you do to fix the issue?

safwan
8 Sep, 2023, 07:18
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