Skip to content

Importing Google Drive bug Shared With Me Files/Folders #312

@ash2005

Description

@ash2005

Which version of integration_google are you using?

4.2.0

Which version of Nextcloud are you using?

32.0.1

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Chrome , Edge

Describe the Bug

it looks that the Env Variable rootSharedWithMeImportFolder is NOT initialized , and this entry is flooding the Log file.

{
"reqId": "9Ua1P7BUDLyE586B9T9L",
"level": 2,
"time": "2025-10-31T15:23:54+00:00",
"remoteAddr": "",
"user": "*RETRACTED",
"app": "PHP",
"method": "",
"url": "--",
"message": "Undefined variable $rootSharedWithMeImportFolder at /var/www/html/custom_apps/integration_google/lib/Service/GoogleDriveAPIService.php#335",
"userAgent": "--",
"version": "32.0.1.2",
"data": {
"app": "PHP"
}
}

Expected Behavior

rootSharedWithMeImportFolder should be initialized correctly if the use does NOT want to retrieve the shared files/folders

To Reproduce

setup the Google Drive Data Migration as described in the Documentation

Force the PHP cron job to start by using the command.

docker exec -t -u www-data 24c830671f5f php -f /var/www/html/cron.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions