
I just went through the process of upgrading my selfhosted instance from 1.6.2
to 1.7.2
:
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.7.2
cd appwrite/
docker compose exec appwrite migrate
During the migration, I saw 4 documents that failed because of a missing attribute: region
.
Migrating documents
Migrating documents for collection "projects"
...
Failed to update document "64faa5fe57e2f4380270" in collection "rules":Invalid document structure: Missing required attribute "region"
Failed to update document "64faa6034313f89b1759" in collection "rules":Invalid document structure: Missing required attribute "region"
Failed to update document "64faa60343a95efc831e" in collection "rules":Invalid document structure: Missing required attribute "region"
Failed to update document "67785759bac83b2393c6" in collection "rules":Invalid document structure: Missing required attribute "region"
Migrating documents for collection "installations"
...
Cleaning up collections
Cleaning up collection "projects"
...
Migration completed
The containers seem to be up and running but when I try to access the console, it's stuck at loading and never loads the page. Also, I have monitoring services that checks if my domain name is reachable, and it's reporting as offline now.
Recommended threads
- Vertical spacing of avatar in the navbar...
Possibly the most 'first world problem' here, but the avatar doesn't look positioned quite right. The slightest increase to the margin/padding above it would be...
- Migration fails to add required pingCoun...
This pingCount/pingedAt issue always happens each time I backup my db & restore it to another db & running migrations idk why is that , But I made a script to f...
- Type generation without $id parameter
I'm trying for the first time appwrite on 2 projects and after I've tested appwrite types generation with the cli I'm a little bit confused why it doesn't inclu...
