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
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?