files_external_gdrive icon indicating copy to clipboard operation
files_external_gdrive copied to clipboard

After trying to copy a folder from a Google Drive mount and cancelling, request keeps trying forever with errors logged

Open rodrigoesborges opened this issue 6 years ago • 1 comments

Nextcloud version : 13.0.5.2 Operating system and version : Debian Jessie Apache or nginx version : Nginx 1.13.5 PHP version : 7.0.31-1

The issue I am facing:

nextcloud.log file is getting huge very quickly , even though I tried to change config.php 's log level to 4 , changed to syslog , (which would only be useful for gaining time to solve the problem)

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

Steps to replicate it:

The problem now is autoreplicating, probable steps to reproduce are:

Install and activate gdrive_files_external app Mount a google drive location oauth2 authorized which has a folder with files on it Try to copy a folder from inside google drive mount to outside of it The output of your Nextcloud log in Admin > Logging:

{"reqId":"qecUfj2KAc60Yu5TOY1v","level":3,"time":"2018-09-14T19:20:49+00:00","remoteAddr":"X.X.X.X","user":"USER","app":"PHP","method":"COPY","url":"/remote.php/webdav/GoogleDriveProfessor/Economia/Mercado-de-trabalho/publicacoes-ardil","message":"feof() expects parameter 1 to be resource, string given at /NEXTCLOUDFOLDER/lib/private/legacy/helper.php#296","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0","version":"13.0.5.2"}

I tried to get help also in Nextcloud Forum https://help.nextcloud.com/t/problem-nextcloud-log-getting-clogged-after-trying-to-copy-a-google-drive-mounted-folder-out-of-google-drive/36762

rodrigoesborges avatar Sep 18 '18 21:09 rodrigoesborges

Have the same error Message. Spamming my nextcloud log.

Error
PHP
2018-10-08T19:47:33+0200
fread() expects parameter 1 to be resource, string given at /var/www/cloud/lib/private/legacy/helper.php#297
Error
PHP
2018-10-08T19:47:32+0200
feof() expects parameter 1 to be resource, string given at /var/www/cloud/lib/private/legacy/helper.php#296

Happyfeet01 avatar Oct 08 '18 17:10 Happyfeet01