sebi
February 20, 2018, 12:45pm
1
Hi,
we experienced a strange behaviour with the Seadrive Client on a Mac. The user opened a PDF with the built in PDF-Viewer (“Preview”/“Vorschau”) and in the moment of opening the file was deleted on the server. This occourded two times with different PDF files in the same library. The snapshot history notes it as a combination of renaming and deletion.
OS Version: 10.11.6
Seadrive Client Version: 0.8.5
Snapshot-History: see below (Affected user: Alexander / Restoring: Sebastian)
The extract from the seadrive.log shows a “.TemporaryItems” which only was generated automatically for this user:
[02/20/18 12:44:48] http-tx-mgr.c(654): libcurl failed to GET https://seafile.DOMAIN.de/api2/repos/: Timeout was reached.
[02/20/18 12:44:48] http-tx-mgr.c(654): libcurl failed to GET https://seafile.DOMAIN.de/api2/account/info/: Couldn’t resolve host name.
[02/20/18 12:44:48] sync-mgr.c(783): Failed to get space usage for account https://seafile.DOMAIN.de/alexander.NAME@DOMAIN.de
[02/20/18 12:44:55] http-tx-mgr.c(654): libcurl failed to GET https://seafile.DOMAIN.de/api2/repos/: Couldn’t resolve host name.
[02/20/18 12:56:18] http-tx-mgr.c(654): libcurl failed to GET https://seafile.DOMAIN.de/api2/repos/: Couldn’t connect to server.
[02/20/18 12:59:49] http-tx-mgr.c(5004): Bad response code for POST https://seafile.DOMAIN.de/api/v2.1/copy-move-task/: 404.
[02/20/18 12:59:49] http-tx-mgr.c(4937): Bad response code for POST https://seafile.DOMAIN.de/api2/repos/4f35acf8-ec67-40ed-98c9-74b620372f81/file/?p=/folders.501%2FTemporaryItems%2F(Vorschau-Dokument%20sichern)%2F2018-01-26%20Ausserordentlicher%20OG-Tag.pdf: 403.
[02/20/18 12:59:49] fuse-ops.c(754): Failed to move 4f35acf8-ec67-40ed-98c9-74b620372f81/folders.501/TemporaryItems/(Vorschau-Dokument sichern)/2018-01-26 Ausserordentlicher OG-Tag.pdf to ba966c5a-5625-4bee-8a77-291f1655b360/2018/2018-01-26 Ausserordentlicher OG-Tag.pdf.
[02/20/18 12:59:52] sync-mgr.c(569): Repo ‘ORG Protokolle’ sync state transition from ‘synchronized’ to ‘committing’.
[02/20/18 12:59:52] sync-mgr.c(569): Repo ‘.TemporaryItems’ sync state transition from ‘synchronized’ to ‘committing’.
[02/20/18 12:59:52] file-cache-mgr.c(2174): Failed to stat /Users/alexanderNAME/.seadrive/data/file-cache/4f35acf8-ec67-40ed-98c9-74b620372f81/folders.501/TemporaryItems/(Vorschau-Dokument sichern)/2018-01-26 Ausserordentlicher OG-Tag.pdf: No such file or directory.
[02/20/18 12:59:52] sync-mgr.c(2656): All operations of repo ORG Protokolle(ba966c5a) have been processed.
[02/20/18 12:59:52] sync-mgr.c(2338): Failed to index file folders.501/TemporaryItems/(Vorschau-Dokument sichern)/2018-01-26 Ausserordentlicher OG-Tag.pdf in repo 4f35acf8-ec67-40ed-98c9-74b620372f81, skip.
[02/20/18 12:59:52] sync-mgr.c(2656): All operations of repo .TemporaryItems(4f35acf8) have been processed.
[02/20/18 12:59:52] sync-mgr.c(569): Repo ‘ORG Protokolle’ sync state transition from ‘committing’ to ‘uploading’.
[02/20/18 12:59:52] sync-mgr.c(569): Repo ‘.TemporaryItems’ sync state transition from ‘committing’ to ‘synchronized’.
[02/20/18 12:59:52] http-tx-mgr.c(3878): Upload with HTTP sync protocol version 2.
[02/20/18 12:59:52] http-tx-mgr.c(1145): Transfer repo ‘ba966c5a’: (‘normal’, ‘init’) → (‘normal’, ‘check’)
[02/20/18 12:59:52] http-tx-mgr.c(1145): Transfer repo ‘ba966c5a’: (‘normal’, ‘check’) → (‘normal’, ‘commit’)
[02/20/18 12:59:52] http-tx-mgr.c(1145): Transfer repo ‘ba966c5a’: (‘normal’, ‘commit’) → (‘normal’, ‘fs’)
[02/20/18 12:59:52] http-tx-mgr.c(1145): Transfer repo ‘ba966c5a’: (‘normal’, ‘fs’) → (‘normal’, ‘data’)
[02/20/18 12:59:52] http-tx-mgr.c(1145): Transfer repo ‘ba966c5a’: (‘normal’, ‘data’) → (‘normal’, ‘update-branch’)
[02/20/18 12:59:53] http-tx-mgr.c(1145): Transfer repo ‘ba966c5a’: (‘normal’, ‘update-branch’) → (‘finished’, ‘finished’)
[02/20/18 12:59:53] sync-mgr.c(2282): removing blocks for repo ba966c5a-5625-4bee-8a77-291f1655b360
[02/20/18 12:59:53] sync-mgr.c(569): Repo ‘ORG Protokolle’ sync state transition from ‘uploading’ to ‘get sync info’.
[02/20/18 12:59:53] sync-mgr.c(569): Repo ‘ORG Protokolle’ sync state transition from ‘get sync info’ to ‘synchronized’.
[02/20/18 13:08:09] sync-mgr.c(569): Repo ‘ORG Vorstand’ sync state transition from ‘synchronized’ to ‘committing’.
[02/20/18 13:08:09] sync-mgr.c(2656): All operations of repo ORG Vorstand(3cdbc31d) have been processed.
[02/20/18 13:08:09] sync-mgr.c(569): Repo ‘ORG Vorstand’ sync state transition from ‘committing’ to ‘uploading’.
[02/20/18 13:08:09] http-tx-mgr.c(3878): Upload with HTTP sync protocol version 2.
[02/20/18 13:08:09] http-tx-mgr.c(1145): Transfer repo ‘3cdbc31d’: (‘normal’, ‘init’) → (‘normal’, ‘check’)
[02/20/18 13:08:09] http-tx-mgr.c(1145): Transfer repo ‘3cdbc31d’: (‘normal’, ‘check’) → (‘normal’, ‘commit’)
[02/20/18 13:08:10] http-tx-mgr.c(1145): Transfer repo ‘3cdbc31d’: (‘normal’, ‘commit’) → (‘normal’, ‘fs’)
[02/20/18 13:08:10] http-tx-mgr.c(1145): Transfer repo ‘3cdbc31d’: (‘normal’, ‘fs’) → (‘normal’, ‘data’)
[02/20/18 13:08:10] http-tx-mgr.c(1145): Transfer repo ‘3cdbc31d’: (‘normal’, ‘data’) → (‘normal’, ‘update-branch’)
[02/20/18 13:08:10] http-tx-mgr.c(1145): Transfer repo ‘3cdbc31d’: (‘normal’, ‘update-branch’) → (‘finished’, ‘finished’)
[02/20/18 13:08:10] sync-mgr.c(2282): removing blocks for repo 3cdbc31d-b85e-4871-9c1c-ee696d8ea725
[02/20/18 13:08:10] sync-mgr.c(569): Repo ‘ORG Vorstand’ sync state transition from ‘uploading’ to ‘get sync info’.
[02/20/18 13:08:10] sync-mgr.c(569): Repo ‘ORG Vorstand’ sync state transition from ‘get sync info’ to ‘synchronized’.
[02/20/18 13:19:18] sync-mgr.c(569): Repo ‘ORG Protokolle’ sync state transition from ‘synchronized’ to ‘get sync info’.
[02/20/18 13:19:18] sync-mgr.c(569): Repo ‘ORG Protokolle’ sync state transition from ‘get sync info’ to ‘downloading’.
[02/20/18 13:19:18] http-tx-mgr.c(4834): Download with HTTP sync protocol version 2.
[02/20/18 13:19:18] http-tx-mgr.c(1145): Transfer repo ‘ba966c5a’: (‘normal’, ‘init’) → (‘normal’, ‘check’)
[02/20/18 13:19:19] http-tx-mgr.c(1145): Transfer repo ‘ba966c5a’: (‘normal’, ‘check’) → (‘normal’, ‘commit’)
[02/20/18 13:19:19] http-tx-mgr.c(1145): Transfer repo ‘ba966c5a’: (‘normal’, ‘commit’) → (‘normal’, ‘fs’)
[02/20/18 13:19:19] http-tx-mgr.c(1145): Transfer repo ‘ba966c5a’: (‘normal’, ‘fs’) → (‘finished’, ‘finished’)
[02/20/18 13:19:19] sync-mgr.c(569): Repo ‘ORG Protokolle’ sync state transition from ‘downloading’ to ‘load repo’.
[02/20/18 13:19:19] sync-mgr.c(569): Repo ‘ORG Protokolle’ sync state transition from ‘load repo’ to ‘synchronized’.
[02/20/18 13:35:18] http-tx-mgr.c(654): libcurl failed to GET https://seafile.DOMAIN.de/api2/repos/: Couldn’t connect to server.
[02/20/18 13:36:18] http-tx-mgr.c(654): libcurl failed to GET https://seafile.DOMAIN.de/api2/repos/: Couldn’t connect to server.
[02/20/18 13:39:48] http-tx-mgr.c(654): libcurl failed to GET https://seafile.DOMAIN.de/api2/repos/: Couldn’t connect to server.
Has anyone an idea?
Best regrards,
Sebastian
Have the user modified the PDF file with the preview app? As I know, the app has the ability to somehow modify the file. This could cause the preview app to create temp files in the SeaDrive root folder (thus a new library “.TemporaryItems”) then tries to rename it to the new version. We haven’t tested this case before so there may be incompatibility.
sebi
February 20, 2018, 3:03pm
3
Hi @Jonathan ,
thanks for your reply. The user said that he only opened the file, then it was deleted. He has not willingly modified or saved the document.
I observed this issue now more often, also in other libraries.
Are there plans to address this issue in the next update?
Best regards,
Sebastian