Microsoft OneDrive Integration import seems stuck

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 28.0.7.5
  • Operating system and version (e.g., Ubuntu 24.04):
    • Linux 5.15.0-130-generic x86_64
  • Web server and version (e.g, Apache 2.4.25):
    • unknown
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • unknown
  • PHP version (e.g, 8.3):
    • 8.2.19
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • shortly after the start of the data migration
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • unknown
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • unknown

Summary of the issue you are facing:

I have installed the OneDrive integration and successfully set up OneDrive and Nextcloud to connect one with the other. I have started the migration of my files and it started fine. After a while the migration seems to be stuck. The user interface says that 772 files have been imported (roughly 500MB) and that the import is still running. But the values haven’t changed for more than 3.5 hours now.

Log entries

Nextcloud

The log only has one entry in the time that seems to be relevant. It is the same time that the UI stated the last OneDrive import took place

{"reqId":"30Gqpgi09CZ5DAmfLTDZ","level":3,"time":"2025-03-11T07:45:20+00:00","remoteAddr":"","user":"pgoetz","app":"PHP","method":"","url":"--","message":"Declaration of Aws\\Multipart\\AbstractUploadManager::promise() must be compatible with GuzzleHttp\\Promise\\PromisorInterface::promise(): GuzzleHttp\\Promise\\PromiseInterface at /var/www/html/3rdparty/aws/aws-sdk-php/src/Multipart/AbstractUploadManager.php#91","userAgent":"--","version":"28.0.7.5","data":{"app":"PHP"},"id":"67d01b6b0f4f0"}

Web Browser

I don’t think it is related to the browser.

Web server / Reverse Proxy

I don’t think it is related to the web server or reverse proxy and don’t know if my hoster runs those or which.

Configuration

Nextcloud

I assume the occ command is for the shell of the machine where Nextcloud is running. I don’t have access to that.

Apps

I assume the occ command is for the shell of the machine where Nextcloud is running. I don’t have access to that.