File not found error when adding files to integrated Dropbox folder (.part file)

Expected behaviour

I copy a file into the Dropbox folder within the ownCloud folder and it syncs to the ownCloud App folder in Dropbox

Actual behaviour

I receive a “File not found…” reporting that a “.part” file containing the original file name could not be found.

Steps to reproduce

  1. Copy and paste, or drag and drop, a file into the Dropbox folder in ownCloud
  2. Similarly, drag and drop, or upload, a file on the web client to the Dropbox folder
  3. Observe the ownCloud desktop client as it syncs
  4. Get a “File not found” error

Server configuration

Operating system: CentOS

Web server: Apache

Database: MariaDB

PHP version:7.2.31

ownCloud version: 10.5.0.10

Storage backend (external storage): Dropbox

Client configuration

Client version: 2.6.3

Operating system: Windows 10

OS language: English

Qt version used by client package (Linux only, see also Settings dialog): N/A

Client package (From ownCloud or distro) (Linux only): N/A

Installation path of client:

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt

09-17 11:22:34:785 [ info gui.folder.manager ]: Schedule folder “1” to sync!
09-17 11:22:34:785 [ info gui.folder.manager ]: Sync for folder “1” already scheduled, do not enqueue!
(Not sure why nothing is there regarding the File Not Found error)

  1. Web server error log:

[Sun Sep 13 03:11:02.249877 2020] [ssl:warn] [pid 32105] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Sun Sep 13 03:11:02.249903 2020] [ssl:warn] [pid 32105] AH01909: RSA certificate configured for owncloud.lbcn.lan:443 does NOT include an ID which matches the server name [Mon Sep 14 03:00:03.585807 2020] [ssl:warn] [pid 16403] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Mon Sep 14 03:00:03.585821 2020] [ssl:warn] [pid 16403] AH01909: RSA certificate configured for owncloud.lbcn.lan:443 does NOT include an ID which matches the server name [Mon Sep 14 03:00:03.628781 2020] [ssl:warn] [pid 16403] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Mon Sep 14 03:00:03.628793 2020] [ssl:warn] [pid 16403] AH01909: RSA certificate configured for owncloud.lbcn.lan:443 does NOT include an ID which matches the server name [Thu Sep 17 11:16:32.500491 2020] [authz_core:error] [pid 20181] [client 192.168.0.5:46979] AH01630: client denied by server configuration: /var/www/html/owncloud/data/htaccesstest.txt

  1. Server logfile: ownCloud log (data/owncloud.log):

{“reqId”:“fe8b5d09-64fb-42b8-886e-bd497d7afa7e”,“level”:3,“time”:“2020-09-17T16:24:47+00:00”,
“remoteAddr”:“192.168.0.5”,
“user”:“jeremy”,
“app”:“webdav”,
“method”:“PUT”,
“url”:"/remote.php/dav/files/jeremy/Wilson%20Dropbox/2020-01-19%20LBCN%20Sermon.odt",
“message”:“Caused by: {“Exception”:”League\Flysystem\FileNotFoundException”,
”Message”:”File not found at path: 2020-01-19 LBCN Sermon.odt.ocTransferId763248540.part”,
”Code”:0,
”Trace”:”#0 /var/www/html/owncloud/apps-external/files_external_dropbox/vendor/league/flysystem/src/Filesystem.php
(210): League\Flysystem\Filesystem->assertPresent(‘2020-01-19 LBCN…’)
#1 /var/www/html/owncloud/lib/private/Files/Storage/Flysystem.php
(104): League\Flysystem\Filesystem->rename(‘2020-01-19 LBCN…’, ‘2020-01-19 LBCN…’)
#2 /var/www/html/owncloud/lib/private/Files/Storage/Wrapper/Wrapper.php
(274): OC\Files\Storage\Flysystem->rename(‘2020-01-19 LBCN…’, ‘2020-01-19 LBCN…’)
#3 /var/www/html/owncloud/lib/private/Files/Storage/Wrapper/PermissionsMask.php
(86): OC\Files\Storage\Wrapper\Wrapper->rename(‘2020-01-19 LBCN…’, ‘2020-01-19 LBCN…’)
#4 /var/www/html/owncloud/lib/private/Files/Storage/Wrapper/Wrapper.php
(274): OC\Files\Storage\Wrapper\PermissionsMask->rename(‘2020-01-19 LBCN…’, ‘2020-01-19 LBCN…’)
#5 /var/www/html/owncloud/lib/private/Files/Storage/Wrapper/Availability.php
(295): OC\Files\Storage\Wrapper\Wrapper->rename(‘2020-01-19 LBCN…’, ‘2020-01-19 LBCN…’)
#6 /var/www/html/owncloud/lib/private/Files/Storage/Wrapper/Encryption.php
(270): OC\Files\Storage\Wrapper\Availability->rename(‘2020-01-19 LBCN…’, ‘2020-01-19 LBCN…’)
#7 /var/www/html/owncloud/lib/private/Files/Storage/Wrapper/Wrapper.php
(274): OC\Files\Storage\Wrapper\Encryption->rename(‘2020-01-19 LBCN…’, ‘2020-01-19 LBCN…’)
#8 /var/www/html/owncloud/apps/files_trashbin/lib/Storage.php
(103): OC\Files\Storage\Wrapper\Wrapper->rename(‘2020-01-19 LBCN…’, ‘2020-01-19 LBCN…’)
#9 /var/www/html/owncloud/lib/private/Files/Storage/Wrapper/Wrapper.php
(569): OCA\Files_Trashbin\Storage->rename(‘2020-01-19 LBCN…’, ‘2020-01-19 LBCN…’)
#10 /var/www/html/owncloud/apps/dav/lib/Connector/Sabre/File.php
(264): OC\Files\Storage\Wrapper\Wrapper->moveFromStorage(Object(OCA\Files_Trashbin\Storage), ‘2020-01-19 LBCN…’, ‘2020-01-19 LBCN…’)
#11 /var/www/html/owncloud/apps/dav/lib/Connector/Sabre/Directory.php
(172): OCA\DAV\Connector\Sabre\File->put(Resource id #491)
#12 /var/www/html/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php
(1091): OCA\DAV\Connector\Sabre\Directory->createFile(‘2020-01-19 LBCN…’, Resource id #491)
#13 /var/www/html/owncloud/lib/composer/sabre/dav/lib/DAV/CorePlugin.php
(504): Sabre\DAV\Server->createFile(‘files/jeremy/Wi…’, Resource id #491, NULL)
#14 /var/www/html/owncloud/lib/composer/sabre/event/lib/WildcardEmitterTrait.php
(89): Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#15 /var/www/html/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php
(470): Sabre\DAV\Server->emit(‘method:PUT’, Array)
#16 /var/www/html/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php
(251): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#17 /var/www/html/owncloud/apps/dav/lib/Server.php
(329): Sabre\DAV\Server->start()
#18 /var/www/html/owncloud/apps/dav/appinfo/v2/remote.php
(31): OCA\DAV\Server->exec()
#19 /var/www/html/owncloud/remote.php
(165): require_once(’/var/www/html/o…’)
#20 {main}”,
”File”:”/var/www/html/owncloud/apps-external/files_external_dropbox/vendor/league/flysystem/src/Filesystem.php”,
”Line”:389}”}

Note that this only happens when trying to add files to the Dropbox folder. All other ownCloud folders are working fine.

Did you ever figure out the solution for this? I’m dealing with this error right now and I can’t figure out a way to resolve it.

My info:

Server configuration

Operating system: Raspbian OS

Web server: Apache

Database: MariaDB

PHP version: 7.2.37

ownCloud version: 10.7.0

Storage backend (external storage): Dropbox

No, I never did, so I just shelved the Dropbox plugin and instead am using the headless Dropbox command (https://www.dropbox.com/install-linux) in combination with rsync to keep the files updated in the local Nextcloud folder.

1 Like