Hi, I've updated my server to 1.4.1 and noticed that appwrite can't migrate database to the new version. It says:
version with error: Utopia\Pools\Group::get(): Argument #1 ($name) must be of type string, null given, called in /usr/src/code/app/cli.php on line 103
I'm not completely sure what table is it looking at, but can assume that is _console_projects where database column is exist but it is NULL for all my projects.
Prevoulsy my server was on 1.3.1, I updated it to the last minor version 1.3.8 made migration and updated to 1.4.1.
If it helps, here is typical error on appwrite container
[Error] Timestamp: 2023-09-01T13:54:44+00:00
[Error] Method: GET
[Error] URL: /v1/databases
[Error] Type: TypeError
[Error] Message: Utopia\Pools\Group::get(): Argument #1 ($name) must be of type string, null given, called in /usr/src/code/app/init.php on line 1100
[Error] File: /usr/src/code/vendor/utopia-php/pools/src/Pools/Group.php
[Error] Line: 28
The same staff as in migration process
Did you migrate to 1.4.1 from 1.4.0?
No. Strait from 1.3.8
I think the steps to update are, to 1.4.0 -> migrations -> 1.4.1 -> migrations
Let me check this
May be I have to make migration on each version from my original 1.3.1 ... Not only 1.4.0
Yes, is what you have to do, do you have any backup?
yep. I made backup and playing with it on my local machine 🙂
Great! so try upgrading version by version until you end up in 1.4.1
[CLOSED] Migration issues on 1.4.1
you can update to the latest patch
you probably should have upgraded to 1.3.8 (and run the migrate command) before upgrading to 1.4.1 (though maybe wait for 1.4.2)
Do you confirm that I need to run the migrate command for each version:1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8 to update from 1.3.1 ?
no just 1.3.8, run the migrate command. then, 1.4.2 (when it's out) and migrate command
I've done it already. So it nothing I can do. And I need to wait for 1.4.2
Recommended threads
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...