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
- Cannot specify project id
Hey There. IΜve just install appwrite 1.8 on selfhosted ( for next migration from 1.6.1 ). When i create a new project i canβt modify project ID. Does it com...
- Custom Email Template Override Issue - M...
Unable to modify Magic URL email content. Changes to translation files (en.json) and email templates (email-magic-url.tpl) are not reflected in sent emails. Her...
- Using node sdk, not getting all realtime...
I am not realtime events via node-sdk, via api key. Unless the row/table has the permission of "Any Read"