Hi guys,
I’m using Duplicati to backup to my OneDrive since a while now and I’m very happy with it!
After i’ve added a ~280GB file to the backup I waited patiently until the upload finished… which it did. But then I’ve encountered the error below.
A second run produced the same issue…
I’m guessing OneDrive has an issue if too many files are in one folder. I’ve checked online the folder I backup to and it says ~86000 files are in it. I can open the folder on the OneDrive website without an error…
So is it an API issue of OneDrive?
Any suggestions how I’m able to continue from here?
Thanks a lot for your input.
Soko
Here’s the error:
Failed: InternalServerError: Internal Server Error error from request https://graph.microsoft.com/v1.0/me/drive/root:/Duplicati/CLOUD:/children?$skiptoken=NjAx
Method: GET, RequestUri: 'https://graph.microsoft.com/v1.0/me/drive/root:/Duplicati/CLOUD:/children?$skiptoken=NjAx', Version: 1.1, Content: <null>, Headers:
{
User-Agent: Duplicati/2.0.5.1
Authorization: Bearer ABC...XYZ
}
StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
request-id: 03b806a9-8b5e-4c6a-8b7d-e018dcce480d
client-request-id: 03b806a9-8b5e-4c6a-8b7d-e018dcce480d
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"4","ScaleUnit":"002","RoleInstance":"AGSFE_IN_41"}}
Strict-Transport-Security: max-age=31536000
Cache-Control: private
Date: Mon, 16 Mar 2020 15:03:35 GMT
Content-Length: 238
Content-Type: application/json
}
{
"error": {
"code": "generalException",
"message": "An error occurred in the data store.",
"innerError": {
"request-id": "03b806a9-8b5e-4c6a-8b7d-e018dcce480d",
"date": "2020-03-16T15:03:35"
}
}
}
Details: Duplicati.Library.Backend.MicrosoftGraph.MicrosoftGraphException: InternalServerError: Internal Server Error error from request https://graph.microsoft.com/v1.0/me/drive/root:/Duplicati/CLOUD:/children?$skiptoken=NjAx
Method: GET, RequestUri: 'https://graph.microsoft.com/v1.0/me/drive/root:/Duplicati/CLOUD:/children?$skiptoken=NjAx', Version: 1.1, Content: <null>, Headers:
{
User-Agent: Duplicati/2.0.5.1
Authorization: Bearer ABC...XYZ
}
StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
request-id: 03b806a9-8b5e-4c6a-8b7d-e018dcce480d
client-request-id: 03b806a9-8b5e-4c6a-8b7d-e018dcce480d
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"4","ScaleUnit":"002","RoleInstance":"AGSFE_IN_41"}}
Strict-Transport-Security: max-age=31536000
Cache-Control: private
Date: Mon, 16 Mar 2020 15:03:35 GMT
Content-Length: 238
Content-Type: application/json
}
{
"error": {
"code": "generalException",
"message": "An error occurred in the data store.",
"innerError": {
"request-id": "03b806a9-8b5e-4c6a-8b7d-e018dcce480d",
"date": "2020-03-16T15:03:35"
}
}
}
at Duplicati.Library.Main.BackendManager.List()
at Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, String protectedfile)
at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, String protectedfile)
at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify(BackendManager backend, String protectedfile)
at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task)
at Duplicati.Library.Main.Controller.<>c__DisplayClass14_0.<Backup>b__0(BackupResults result)
at Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action`1 method)
Log data:
2020-03-16 16:03:32 +01 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error
Duplicati.Library.Backend.MicrosoftGraph.MicrosoftGraphException: InternalServerError: Internal Server Error error from request https://graph.microsoft.com/v1.0/me/drive/root:/Duplicati/CLOUD:/children?$skiptoken=NjAx
Method: GET, RequestUri: 'https://graph.microsoft.com/v1.0/me/drive/root:/Duplicati/CLOUD:/children?$skiptoken=NjAx', Version: 1.1, Content: <null>, Headers:
{
User-Agent: Duplicati/2.0.5.1
Authorization: Bearer ABC...XYZ
}
StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
request-id: 03b806a9-8b5e-4c6a-8b7d-e018dcce480d
client-request-id: 03b806a9-8b5e-4c6a-8b7d-e018dcce480d
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"4","ScaleUnit":"002","RoleInstance":"AGSFE_IN_41"}}
Strict-Transport-Security: max-age=31536000
Cache-Control: private
Date: Mon, 16 Mar 2020 15:03:35 GMT
Content-Length: 238
Content-Type: application/json
}
{
"error": {
"code": "generalException",
"message": "An error occurred in the data store.",
"innerError": {
"request-id": "03b806a9-8b5e-4c6a-8b7d-e018dcce480d",
"date": "2020-03-16T15:03:35"
}
}
}
at Duplicati.Library.Main.BackendManager.List()
at Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, String protectedfile)
at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, String protectedfile)
at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify(BackendManager backend, String protectedfile)
at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext()