
I get an error message on the browser after upgrading and restoring my backup. "Table 'appwrite._console_rules' doesn't exist in engine".

You should have upgraded to 1.3.8 previously and then to 1.4.13

Did you mean 1.4.3?

I have upgraded to 1.3.8 then to 1.4.3 but the error still persists.

- Roll back to 1.3.7
- Upgrade to 1.3.8 (modify command to use
--entrypoint="install"
) - Upgrade to 1.4.13 (latest release; not 1.4.3)
From version 1.3.8+ the update command uses
--entrypoint="upgrade"

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "upgrade": executable file not found in $PATH: unknown.

sudo 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.0

when I upgrade to 1.4.13, it successfully runs but gives me this error on the browser

did you ran the migration after upgrade?

cd appwrite/
docker compose exec appwrite migrate

i get errors when I run the migrate tool


Weird...this table should have existed since several versions back 🧐

I think the main issue is that something went wrong because you have to go through 1.3.8. You should restore from backup and upgrade to 1.3.8, run migration command, and after that, upgrade to to latest patch directly (1.4.13) and run the migration command.

Thank you so much. I was not running the migrate tool after every upgrade. Thanks @D5 and @Steven .

[SOLVED] Upgrading from 1.3.7 to 1.4.0 Database Error
Recommended threads
- Appwrite functions can't connect to data...
I'm trying to create a function that queries my database, but all database operations timeout from within the function, even though CLI access works perfectly. ...
- list() is very slow; eventually shows no...
When I use the web browser to view the collections in my database, the documents they contain are normally displayed within a few seconds. For a few days now, h...
- Can't start docker containers beacuse no...
Hi, I'm testing my app where I upload also files to appwrite storage. As I suspect, I've filled up my disk. Now I can't start Appwrite. Could I ask for help wit...
