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
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...