Import all my Dropbox files into Nextcloud

I’m trying to import my Dropbox files into Nextcloud but it’s stuck at 0%. I’ve searched everywhere. I’ve installed the Dropbox app and successfully connected my account. It just says, “0 files imported
Dropbox import process will begin soon” Any guidance would be appreciated. Hope the info below is sufficient.

Nextcloud version (eg, 20.0.5): 25.0.1
Operating system and version (eg, Ubuntu 20.04): Unraid Docker Container

Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

The issue you are facing: “0 files imported
Dropbox import process will begin soon” when trying to import Dropbox files.

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

{"reqId":"JPhOOJBGq7sW75hmNYoH","level":3,"time":"2022-11-13T20:00:03+00:00","remoteAddr":"","user":"--","app":"integration_dropbox","method":"","url":"--","message":"Importing dropbox files for michael","userAgent":"--","version":"25.0.1.1","data":{"app":"integration_dropbox"}}
{"reqId":"JPhOOJBGq7sW75hmNYoH","level":2,"time":"2022-11-13T20:00:05+00:00","remoteAddr":"","user":"michael","app":"integration_dropbox","method":"","url":"--","message":"Dropbox API error : Client error: `POST https://api.dropboxapi.com/2/files/list_folder` resulted in a `400 Bad Request` response:\nError in call to API function \"files/list_folder\": Your app is not permitted to access this endpoint because it does not (truncated...)\n","userAgent":"--","version":"25.0.1.1","data":{"app":"integration_dropbox"}}
{"reqId":"YLQXzk93uIET8xKD6WDW","level":3,"time":"2022-11-13T22:20:04+00:00","remoteAddr":"","user":"--","app":"integration_dropbox","method":"","url":"--","message":"Importing dropbox files for michael","userAgent":"--","version":"25.0.1.1","data":{"app":"integration_dropbox"}}
{"reqId":"SCj3vjNs2cvJxdE3JUoy","level":3,"time":"2022-11-13T22:35:04+00:00","remoteAddr":"","user":"--","app":"integration_dropbox","method":"","url":"--","message":"Importing dropbox files for michael","userAgent":"--","version":"25.0.1.1","data":{"app":"integration_dropbox"}}
{"reqId":"YLQXzk93uIET8xKD6WDW","level":3,"time":"2022-11-13T23:47:46+00:00","remoteAddr":"","user":"michael","app":"PHP","method":"","url":"--","message":"Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) at /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php#113","userAgent":"--","version":"25.0.1.1","data":{"app":"PHP"}}
{"reqId":"ovt61quWjEgVCDGTVnnU","level":3,"time":"2022-11-14T04:10:20+00:00","remoteAddr":"","user":"--","app":"integration_dropbox","method":"","url":"--","message":"Importing dropbox files for michael","userAgent":"--","version":"25.0.1.1","data":{"app":"integration_dropbox"}}
{"reqId":"vVdpzW2PBbrueMg7I9cH","level":3,"time":"2022-11-14T04:20:03+00:00","remoteAddr":"","user":"--","app":"integration_dropbox","method":"","url":"--","message":"Importing dropbox files for michael","userAgent":"--","version":"25.0.1.1","data":{"app":"integration_dropbox"}}
{"reqId":"1Lx8EzdpCDraMeqEZNcP","level":2,"time":"2022-11-14T05:04:37+00:00","remoteAddr":"108.162.216.218","user":"michael","app":"suspicious_login","method":"POST","url":"/login","message":"Could not predict suspiciousness: No models found","userAgent":"Samsung SM-G991U (Nextcloud Talk)","version":"25.0.1.1","data":{"app":"suspicious_login"}}
{"reqId":"QwEIyFRvoeV57J5En1i6","level":3,"time":"2022-11-14T05:35:04+00:00","remoteAddr":"","user":"--","app":"integration_dropbox","method":"","url":"--","message":"Importing dropbox files for michael","userAgent":"--","version":"25.0.1.1","data":{"app":"integration_dropbox"}}
{"reqId":"e40hljOjo1zZ1CavxSJe","level":3,"time":"2022-11-14T06:05:04+00:00","remoteAddr":"","user":"--","app":"integration_dropbox","method":"","url":"--","message":"Importing dropbox files for michael","userAgent":"--","version":"25.0.1.1","data":{"app":"integration_dropbox"}}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'asdfasdf',
  'passwordsalt' => 'asdfasdf',
  'secret' => 'asdfasdf',
  'trusted_domains' => 
  array (
    0 => '192.168.1.15',
    1 => 'my domain',
  ),
  'dbtype' => 'mysql',
  'version' => '25.0.1.1',
  'overwrite.cli.url' => 'mydomain',
  'dbname' => 'nextcloud',
  'dbhost' => 'mydbhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'dbuser',
  'dbpassword' => 'dbpass',
  'installed' => true,
  'trusted_proxies' => 
  array (
    0 => 'reverse proxy',
  ),
  'default_phone_region' => 'US',
  'overwritehost' => 'mydomain',
  'overwriteprotocol' => 'https',
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'user',
  'mail_domain' => 'asdfasdf',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'email',
  'mail_smtppassword' => 'pass',
);

The output of your Apache/nginx/system log in /var/log/____:

172.70.127.135 - - [14/Nov/2022:01:14:51 -0600] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 389 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
172.70.127.136 - - [14/Nov/2022:01:14:53 -0600] "GET /apps/logreader/poll?lastReqId=e40hljOjo1zZ1CavxSJe HTTP/1.1" 200 22 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
172.70.127.44 - admin [14/Nov/2022:01:14:57 -0600] "PROPFIND /remote.php/dav/files/admin/ HTTP/1.1" 207 246 "-" "Mozilla/5.0 (Windows) mirall/3.6.2stable-Win64 (build 20221110) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
172.70.127.44 - admin [14/Nov/2022:01:15:00 -0600] "GET /ocs/v2.php/apps/user_status/api/v1/user_status?format=json HTTP/1.1" 200 150 "-" "Mozilla/5.0 (Windows) mirall/3.6.2stable-Win64 (build 20221110) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
172.70.178.56 - admin [14/Nov/2022:01:15:00 -0600] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 200 81 "-" "Mozilla/5.0 (Windows) mirall/3.6.2stable-Win64 (build 20221110) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
172.70.127.136 - - [14/Nov/2022:01:15:14 -0600] "GET /apps/logreader/poll?lastReqId=e40hljOjo1zZ1CavxSJe HTTP/1.1" 200 22 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
172.70.127.44 - admin [14/Nov/2022:01:15:27 -0600] "PROPFIND /remote.php/dav/files/admin/ HTTP/1.1" 207 246 "-" "Mozilla/5.0 (Windows) mirall/3.6.2stable-Win64 (build 20221110) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
172.70.127.135 - - [14/Nov/2022:01:15:33 -0600] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 114 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
172.70.127.135 - - [14/Nov/2022:01:15:35 -0600] "GET /apps/logreader/poll?lastReqId=e40hljOjo1zZ1CavxSJe HTTP/1.1" 200 22 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"

PASTE HERE

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

Hi @MP715,
You are missing the required support template. Please fill this form out and edit into your post.

This will give us the technical info and logs needed to help you! Thanks.