I tried migration from 1.5.5 to 1.5.6. You used test data.
Between 2 different dedicated servers 1 Database 4 Collection 14 Document
The system migrated the schematic correctly. It could not migrate some of the documents.
Only documents in 1 collection resulted in failed. In all 4 documents, authorizations are defined as Any(create,read,update,delete). I double checked
Console Logs
{
"$id": "665079c2de203635d3cd",
"$createdAt": "2024-05-24T11:28:02.910+00:00",
"$updatedAt": "2024-05-24T11:28:27.645+00:00",
"status": "failed",
"stage": "finished",
"source": "Appwrite",
"resources": [
"user",
"team",
"membership",
"database",
"collection",
"attribute",
"index",
"document",
"function",
"environment variable",
"deployment",
"bucket",
"file"
],
"statusCounters": {
"database": {
"pending": 0,
"success": 1,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"collection": {
"pending": 0,
"success": 4,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"attribute": {
"pending": 0,
"success": 31,
"error": 0,
"skip": 0,
"processing": 0,
"warning": 0
},
"document": {
"pending": 0,
"success": 7,
"error": 5,
"skip": 2,
"processing": 0,
"warning": 0
}
},
"resourceData": [],
"errors": [
"Error occurred while pushing 'databases:664fbba20006b7cb32be' to destination with message: 'The current user is not authorized to perform the requested action.'",
"Error occurred while pushing 'databases:664fbc080039d6d48aed' to destination with message: 'The current user is not authorized to perform the requested action.'",
"Error occurred while pushing 'databases:664fbdb80024ebdabf80' to destination with message: 'The current user is not authorized to perform the requested action.'",
"Error occurred while pushing 'databases:664fbe2500045795709a' to destination with message: 'The current user is not authorized to perform the requested action.'",
"Error occurred while pushing 'databases:664fc54e0029d32fdaef' to destination with message: 'The current user is not authorized to perform the requested action.'"
]
}
Worker Logs
Warning: Undefined array key -1 in /usr/src/code/vendor/utopia-php/migration/src/Migration/Sources/Appwrite.php on line 201
Warning: Trying to access array offset on null in /usr/src/code/vendor/utopia-php/migration/src/Migration/Sources/Appwrite.php on line 201
[Job] (665079c2df2133.67262319) failed to run.
[Job] (665079c2df2133.67262319) Error occurred while pushing 'databases:664fbba20006b7cb32be' to destination with message: 'The current user is not authorized to perform the requested action.'
Error occurred while pushing 'databases:664fbc080039d6d48aed' to destination with message: 'The current user is not authorized to perform the requested action.'
Error occurred while pushing 'databases:664fbdb80024ebdabf80' to destination with message: 'The current user is not authorized to perform the requested action.'
Error occurred while pushing 'databases:664fbe2500045795709a' to destination with message: 'The current user is not authorized to perform the requested action.'
Error occurred while pushing 'databases:664fc54e0029d32fdaef' to destination with message: 'The current user is not authorized to perform the requested action.'
[Error] Type: Exception
[Error] Message: Error occurred while pushing 'databases:664fbba20006b7cb32be' to destination with message: 'The current user is not authorized to perform the requested action.'
Error occurred while pushing 'databases:664fbc080039d6d48aed' to destination with message: 'The current user is not authorized to perform the requested action.'
.....
.....
[Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Migrations.php
[Error] Line: 350
Recommended threads
- Does 1.9.0 Self Hosted have MongoDB Atla...
I have been playing with the new 1.9.0 update and I am really excited for the MongoDB support. I wanted to ask though if at the current time Appwrite supports b...
- significant increase in CPU usage with 1...
Hi, This is no big deal at all (as everything is working great so far), but I just saw that the update (from 1.8 to 1.9) consumes much more CPU than before (re...
- mcp-server-appwrite 0.4 fails on startup...
I’m trying to use `mcp-server-appwrite` against Appwrite Cloud and the server authenticates successfully, but fails during startup validation when probing `tabl...