integration_google icon indicating copy to clipboard operation
integration_google copied to clipboard

Google Drive Sync fails to sync on files

Open moekify opened this issue 4 years ago • 6 comments

Nextcloud v21

Docker Setup with Redis & Cron running

I'm trying to import a Google Drive and I receive plenty of errors like this one

image

Hence, not all files are imported. Anything I can do here?

moekify avatar Feb 25 '21 16:02 moekify

Could you send me one of those files so I try to reproduce the problem?

julien-nc avatar Feb 25 '21 17:02 julien-nc

E.g. this image Poster-2-big But it's also loads of files unfortunately. Images, presentations, etc.

Total Import would be 16GB, it managed to 3.1GB and then seems to only have errors

if you meant different kind of sending lmk :)

moekify avatar Feb 25 '21 20:02 moekify

Thanks. I've uploaded it in my drive and then the import is successful. I just want to make sure the issue is not related to the files themselves.

Your logs are showing that the destination file can't be opened via fopen which leads to a null file resource and then the HTTP client crashes.

Did you just start the import and wait or did you run it several times, canceled and rerun, stuff like that?

Is the file Ifmeeting8feb19 -2.jpg created and empty or just absent on Nextcloud side?

julien-nc avatar Feb 26 '21 10:02 julien-nc

Hey! Sorry was out over the weekend.

Thanks for trying this out :) I had to restart the job at least once because there was an issue first with our cron setup.

Is there a way to clear "cache" if this is the issue?

moekify avatar Mar 01 '21 10:03 moekify

hi @moekify, sorry to go off topic. that cron setup you are mentioning, does that run a command to automatically import google drive files so one dont have to push the button all the time? or is it the one for cron.php?

digitalrevisor avatar Mar 16 '21 09:03 digitalrevisor

hi @moekify, sorry to go off topic. that cron setup you are mentioning, does that run a command to automatically import google drive files so one dont have to push the button all the time? or is it the one for cron.php?

Sorry didn't notice this earlier! It's for the cron.php

moekify avatar Mar 20 '21 18:03 moekify

Is there a way to clear "cache" if this is the issue?

see #68

marcelklehr avatar Jun 02 '23 11:06 marcelklehr