Rclone Failed to remove content from GCP bucket

  • What is the problem you are having with rclone?
    I am having an issue with rclone, When i tried to remove content from mounted drive (using rclone), the content wont get removed from gcp bucket. could anyone please assist why is it not removing content from GCP bucket.

  • What is your rclone version (output from rclone version)
    Version 1.52.2

  • Which OS you are using and how many bits (eg Windows 7, 64 bit)
    Windows server 2012 (64 bits)

  • Which cloud storage system are you using? (eg Google Drive)
    Storage (bucket) on Google Cloud Platform

  • The command you were trying to run (eg rclone copy /tmp remote:tmp)
    rclone mount remote:dev_illustrator_storage X: --vfs-cache-mode full --vfs-ca
    che-max-age=0m --allow-other -vv

  • The rclone config contents with secrets removed.
    [remote]
    type = google cloud storage
    project_number = 123456
    service_account_file = C:\46d007f83200.json
    object_acl = authenticatedRead
    bucket_acl = private
    bucket_policy_only = true

  • A log from the command with the -vv flag

Please explore link to view logs:

Can you please fill in the items in the template?

Hi,

What Template are you referring to? Sorry i am new on this platform.

When you hit the Help and Support category, you deleted this whole thing.

STOP and READ:
Please show the effort you've put in to solving the problem and please be specific -- people are volunteering their time to help you! Low effort posts are not likely to get good answers! DO NOT REDACT any information except passwords/keys/personal info. You should use 3 backticks to begin and end your paste to make it readable. Or use a service such as https://pastebin.com or https://gist.github.com/

What is the problem you are having with rclone?

What is your rclone version (output from rclone version)

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Which cloud storage system are you using? (eg Google Drive)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

You should use 3 backticks to begin and end your paste to make it readable. Or use a service such as https://pastebin.com or https://gist.github.com/

Paste  log here

Hi,
I have updated my question. Please see and let me know if anything else is required.

I can't see a delete in that log. Can you recreate the issue and share the log?

Please see these logs:

Files were removed from mounted drive but still persist in bucket.

hello,

this flag does nothing on windows, so you can remove it.

not sure what perhaps this is a problem?

OK. Let me Edit the configs.

I am sorry but that did not helped, i have given full access to users on bucket but still facing same issue. Any other suggestions could you suggest?

From your logs it looks like you are trying to remove directories not files, is that correct?

What created the directories?

Yes,i need to remove the complete directory including files in them. Files were created on Linux OS and need to be removed at Windows machine.

By rclone?

Do you mean you removed files on computer 1 but they still appear on computer 2's rclone mount?

If so you'll need to wait for the directory cache to expire or clear it manually.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.