Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with G-drive does not work for subfolder #46

Open
rollanders opened this issue Jun 11, 2019 · 1 comment
Open

Sync with G-drive does not work for subfolder #46

rollanders opened this issue Jun 11, 2019 · 1 comment

Comments

@rollanders
Copy link

rollanders commented Jun 11, 2019

I have installed files_external and files_external_Gdrive. Got Goggle Drive credentials. Sync works for the GoogleDrive map 2 ways. I create a subfolder - one in Gdrive and the other on NC. Both subfolders are created. I cannot save a file into these folders in NC but can do that in Gdrive. The files saved in the Gdrive subfolders are not synced to NC. I cannot create dokuments in neither Gdrive or NC in these subfolders.
NC 16.0.1, latest apps installed, Ubuntu 18.04, Nginx

I have these errors in the log

[webdav] Fatal: Google_Service_Exception: {
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "File not found: Tables_RA.docx.ocTransferId46423132.part.",
"locationType": "parameter",
"location": "fileId"
}
],
"code": 404,
"message": "File not found: Tables_RA.docx.ocTransferId46423132.part."
}
}
at <>

  1. /var/www/nextcloud/apps/files_external_gdrive/vendor/google/apiclient/src/Google/Http/REST.php line 94
    Google_Http_REST::decodeHttpResponse(GuzzleHttp\Psr7\Response {}, GuzzleHttp\Psr7\Request {}, "Google_Service_Drive_DriveFile")
  2. /var/www/nextcloud/apps/files_external_gdrive/vendor/google/apiclient/src/Google/Task/Runner.php line 176
    Google_Http_REST::doExecute(GuzzleHttp\Client {}, GuzzleHttp\Psr7\Request {}, "Google_Service_Drive_DriveFile")
  3. /var/www/nextcloud/apps/files_external_gdrive/vendor/google/apiclient/src/Google/Http/REST.php line 58
    Google_Task_Runner->run()
  4. /var/www/nextcloud/apps/files_external_gdrive/vendor/google/apiclient/src/Google/Client.php line 798
    Google_Http_REST::execute(GuzzleHttp\Client {}, GuzzleHttp\Psr7\Request {}, "Google_Service_Drive_DriveFile", {retries: 1})
  5. /var/www/nextcloud/apps/files_external_gdrive/vendor/google/apiclient/src/Google/Service/Resource.php line 232
    Google_Client->execute(GuzzleHttp\Psr7\Request {}, "Google_Service_Drive_DriveFile")
  6. /var/www/nextcloud/apps/files_external_gdrive/vendor/google/apiclient-services/src/Google/Service/Drive/Resource/Files.php line 233
    Google_Service_Resource->call("update", [{fileId: "*** s ... }], "Google_Service_Drive_DriveFile")
  7. /var/www/nextcloud/apps/files_external_gdrive/vendor/nao-pon/flysystem-google-drive/src/GoogleDriveAdapter.php line 363
    Google_Service_Drive_Resource_Files->update("*** sensitive parameters replaced ***")
  8. /var/www/nextcloud/apps/files_external_gdrive/vendor/league/flysystem/src/Filesystem.php line 237
    Hypweb\Flysystem\GoogleDrive\GoogleDriveAdapter->delete("root/1eARReHs38 ... t")
  9. /var/www/nextcloud/apps/files_external_gdrive/lib/Storage/Flysystem.php line 117
    League\Flysystem\Filesystem->delete("root/1eARReHs38 ... t")
  10. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 266
    OCA\Files_external_gdrive\Storage\Flysystem->unlink("Gemensam med NC ... t")
  11. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php line 288
    OC\Files\Storage\Wrapper\Wrapper->unlink("Gemensam med NC ... t")
  12. <>
    OC\Files\Storage\Wrapper\Availability->unlink("Gemensam med NC ... t")
  13. /var/www/nextcloud/apps/files_trashbin/lib/Storage.php line 177
    undefinedundefinedcall_user_func([OC\Files\Storag ... "], "Gemensam med NC ... t")
  14. /var/www/nextcloud/apps/files_trashbin/lib/Storage.php line 98
    OCA\Files_Trashbin\Storage->doDelete("Gemensam med NC ... t", "unlink")
  15. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php line 260
    OCA\Files_Trashbin\Storage->unlink("Gemensam med NC ... t")
  16. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php line 156
    OCA\DAV\Connector\Sabre\File->put(null)
  17. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1096
    OCA\DAV\Connector\Sabre\Directory->createFile("Tables_RA.docx", null)
  18. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 525
    Sabre\DAV\Server->createFile("GoogleDrive/Gem ... x", null, null)
  19. <>
    Sabre\DAV\CorePlugin->httpPut(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
  20. /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
    undefinedundefinedcall_user_func_array([Sabre\DAV\CorePlugin {},"httpPut"], [Sabre\HTTP\Requ ... }])
  21. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 479
    Sabre\Event\EventEmitter->emit("method:PUT", [Sabre\HTTP\Requ ... }])
  22. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 254
    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
  23. /var/www/nextcloud/apps/dav/appinfo/v1/webdav.php line 80
    Sabre\DAV\Server->exec()
  24. /var/www/nextcloud/remote.php line 163
    undefinedundefinedrequire_once("/var/www/nextcl ... p")

PUT /remote.php/webdav/GoogleDrive/Gemensam%20med%20NC/Tables_RA.docx
from 192.168.1.1 by NCadmin at 2019-06-11T09:30:36+02:00

and

[PHP] Error: Undefined variable: fileId at /var/www/nextcloud/apps/files_external_gdrive/lib/Storage/Adapter.php#161

PUT /remote.php/webdav/GoogleDrive/Gemensam%20med%20NC/Tables_RA.docx
from 192.168.1.1 by NCadmin at 2019-06-11T09:30:35+02:00

and

[onlyoffice] Fatal: Files not found: 8433

GET /apps/onlyoffice/download?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmaWxlSWQiOjg0MzMsInVzZXJJZCI6Ik5DYWRtaW4iLCJ0b2tlbiI6bnVsbCwiYWN0aW9uIjoiZG93bmxvYWQifQ.d2W9rg4lnsYoA5z5buoV3ZifqPFLkro1e7haLf1XtaE
from 192.168.1.1 at 2019-06-11T09:29:58+02:00

@violoncelloCH
Copy link

probably also the same as #41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants