Google Drive migration doesn't start

  • Nextcloud version (eg, 20.0.5): 23.0.0
  • Operating system and version (eg, Ubuntu 20.04): Docker on Ubuntu 20.04
  • Apache or nginx version (eg, Apache 2.4.25): Apache, as it is in Docker nextcloud:23
  • PHP version (eg, 7.4): Whatever is in Docker nextcloud:23

The issue you are facing:

0 files imported (0%)
Google Drive background import process will begin soon. You can close this page. You will be notified when it finishes.

And nothing happens.

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

Steps to replicate it:

  1. Created a project in Google cloud GCP and created a client ID and client secret
  2. Installed the Nextcloud app “Google Integration” v1.0.6 (GitHub - nextcloud/integration_google: 🇬 Google integration into Nextcloud)
  3. Entered client ID & secret
  4. As a normal user, in Nextcloud went to Prefs → Data Migration
  5. Logged in to Google
  6. Seems it was able to connect to Google, as it displayed my calendars, showed that I have >25.000 images and correctly counted the number of files on Google drive (about 1TB)
  7. Clicked on “Import Google Drive files”
  8. Cron is working

See shared folder for support files (logs, screenshots, config).

The output of your Nextcloud log in Admin > Logging:

Nothing important, it seems.

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

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'objectstore' => 
  array (
    'class' => '\\OC\\Files\\ObjectStore\\S3',
    'arguments' => 
    array (
      'bucket' => 'nc-...',
      'key' => '4O....',
      'secret' => 'VJ...',
      'region' => 'eu-central-1',
      'hostname' => 's3.eu-central-1.wasabisys.com',
      'port' => '',
      'objectPrefix' => 'urn:oid:',
      'autocreate' => false,
      'use_ssl' => true,
      'use_path_style' => false,
      'legacy_auth' => false,
    ),
  ),
  'instanceid' => 'oc...',
  'passwordsalt' => 'Qb...',
  'secret' => 'Ut...+A',
  'trusted_domains' => 
  array (
    0 => 'nc.5y5.one',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '23.0.0.10',
  'overwrite.cli.url' => 'http://nc.5y5.one',
  'dbname' => 'nextcloud',
  'dbhost' => 'db',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'AW93...',
  'installed' => true,
  'mail_from_address' => 'senden',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'skwar.xyz',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'mail....',
  'mail_smtpport' => '587',
  'mail_smtpname' => '...',
  'mail_smtppassword' => '...',
);

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

doesn't exist on the Docker image