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
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...
- functions returning error 401 in local
I updated to 1.9.0, and the functions that used to work fine in 1.8.1 are now giving me a 401 error. I can't seem to find a solution. If anyone is running versi...