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
- coolify docs dont help installing latest...
coolify has older version of appwrite, how do i install latest version of appwrite
- 500 Internal Error when Project is opene...
After migrating from 1.6.1 to 1.7.4 I noticed this strange behaviour: When I open a project in a separate tab I get a 500 internal error. However, then I simpl...
- Console regressions: DateTime and Filter
After migrating from 1.6.1 to 1.7.4 I noticed this strange behaviour in the console: - Active filters are no longer displayed. The Tabs shows the correct numbe...