Seafile deletes all local files on initial upload

I have just setup Seafile incl. the SeaDrive application.
To upload my files (~160 GB), I moved them into my Library. The upload started immediately.

After a couple of hours (upload state of ~60 GB), I changed by SeaDrive password. As a result, I had to update my password in SeaDrive as well.

Unfortuantely, with the password change, SeaDrive created a completely new folder in seadrive_root with my libraries (username_1 instead of username) and deleted all my files in the old username folder. Since ~100 GB where not yet uploaded, they have been completely deleted. Luckly, everything was backed up.

I don’t understand this behaviour. Right now, I am thinking about deleting Seafile again, since a random deletion of new files that have not yet been uploaded seems quite risky…

I attached my logfile below:

[08/09/23 13:50:16] Repo 'Meine Bibliothek' sync state transition from 'get sync info' to 'synchronized'.
[08/09/23 13:50:16] Repo 'Meine Bibliothek' sync state transition from 'synchronized' to 'committing'.
[08/09/23 13:50:18] Creating partial commit after adding  in repo Meine Bibliothek(602eb119).
[08/09/23 13:50:18] Repo 'Meine Bibliothek' sync state transition from 'committing' to 'uploading'.
[08/09/23 13:50:18] Upload with HTTP sync protocol version 2.
[08/09/23 13:50:18] Transfer repo '602eb119': ('normal', 'init') --> ('normal', 'check')
[08/09/23 13:50:18] Transfer repo '602eb119': ('normal', 'check') --> ('normal', 'commit')
[08/09/23 13:50:18] Transfer repo '602eb119': ('normal', 'commit') --> ('normal', 'fs')
[08/09/23 13:50:18] Transfer repo '602eb119': ('normal', 'fs') --> ('normal', 'data')
[08/09/23 13:50:21] Transfer repo '602eb119': ('normal', 'data') --> ('normal', 'update-branch')
[08/09/23 13:50:21] Transfer repo '602eb119': ('normal', 'update-branch') --> ('finished', 'finished')
[08/09/23 13:50:21] removing blocks for repo 602eb119-2642-4c13-8eae-70183fc033b2
[08/09/23 13:50:21] Repo 'Meine Bibliothek' sync state transition from 'uploading' to 'get sync info'.
[08/09/23 13:50:21] Repo 'Meine Bibliothek' sync state transition from 'get sync info' to 'synchronized'.
[08/09/23 13:50:22] Repo 'Meine Bibliothek' sync state transition from 'synchronized' to 'committing'.
[08/09/23 13:50:22] Creating partial commit after adding  in repo Meine Bibliothek(602eb119).
[08/09/23 13:50:22] Repo 'Meine Bibliothek' sync state transition from 'committing' to 'uploading'.
[08/09/23 13:50:22] Upload with HTTP sync protocol version 2.
[08/09/23 13:50:22] Transfer repo '602eb119': ('normal', 'init') --> ('normal', 'check')
[08/09/23 13:50:22] Transfer repo '602eb119': ('normal', 'check') --> ('normal', 'commit')
[08/09/23 13:50:22] Transfer repo '602eb119': ('normal', 'commit') --> ('normal', 'fs')
[08/09/23 13:50:23] Transfer repo '602eb119': ('normal', 'fs') --> ('normal', 'data')
[08/09/23 13:50:29] Transfer repo '602eb119': ('normal', 'data') --> ('normal', 'update-branch')
[08/09/23 13:50:29] Transfer repo '602eb119': ('normal', 'update-branch') --> ('finished', 'finished')
[08/09/23 13:50:29] removing blocks for repo 602eb119-2642-4c13-8eae-70183fc033b2
[08/09/23 13:50:29] Repo 'Meine Bibliothek' sync state transition from 'uploading' to 'get sync info'.
[08/09/23 13:50:29] Repo 'Meine Bibliothek' sync state transition from 'get sync info' to 'synchronized'.
[08/09/23 13:50:30] Repo 'Meine Bibliothek' sync state transition from 'synchronized' to 'committing'.
[08/09/23 13:50:32] Creating partial commit after adding  in repo Meine Bibliothek(602eb119).
[08/09/23 13:50:32] Repo 'Meine Bibliothek' sync state transition from 'committing' to 'uploading'.
[08/09/23 13:50:32] Upload with HTTP sync protocol version 2.
[08/09/23 13:50:32] Transfer repo '602eb119': ('normal', 'init') --> ('normal', 'check')
[08/09/23 13:50:32] Transfer repo '602eb119': ('normal', 'check') --> ('normal', 'commit')
[08/09/23 13:50:32] Transfer repo '602eb119': ('normal', 'commit') --> ('normal', 'fs')
[08/09/23 13:50:32] Transfer repo '602eb119': ('normal', 'fs') --> ('normal', 'data')
[08/09/23 13:50:36] Transfer repo '602eb119': ('normal', 'data') --> ('normal', 'update-branch')
[08/09/23 13:50:36] Transfer repo '602eb119': ('normal', 'update-branch') --> ('finished', 'finished')
[08/09/23 13:50:36] removing blocks for repo 602eb119-2642-4c13-8eae-70183fc033b2
[08/09/23 13:50:36] Repo 'Meine Bibliothek' sync state transition from 'uploading' to 'get sync info'.
[08/09/23 13:50:36] Repo 'Meine Bibliothek' sync state transition from 'get sync info' to 'synchronized'.
[08/09/23 13:50:37] Repo 'Meine Bibliothek' sync state transition from 'synchronized' to 'committing'.
[08/09/23 13:50:42] Failed to stat C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek/Neuer Ordner: No such file or directory
[08/09/23 13:52:21] cancel fetch file Eigene Dateien/Eigene Videos/desktop.ini
[08/09/23 13:54:24] Bad response code for GET https://seafile.zinn-sys.de/seafhttp/accessible-repos/?repo_id=602eb119-2642-4c13-8eae-70183fc033b2: 403.
[08/09/23 13:54:24] Bad response code for GET https://seafile.zinn-sys.de/api2/repos/: 401.
[08/09/23 13:54:54] Bad response code for GET https://seafile.zinn-sys.de/seafhttp/accessible-repos/?repo_id=602eb119-2642-4c13-8eae-70183fc033b2: 403.
[08/09/23 13:54:54] Bad response code for GET https://seafile.zinn-sys.de/api2/repos/: 401.
[08/09/23 13:55:24] Bad response code for GET https://seafile.zinn-sys.de/seafhttp/accessible-repos/?repo_id=602eb119-2642-4c13-8eae-70183fc033b2: 403.
[08/09/23 13:55:24] Bad response code for GET https://seafile.zinn-sys.de/api2/repos/: 401.
[08/09/23 13:55:44] Mark repo Meine Bibliothek(602eb119) as deleted.
[08/09/23 13:55:44] Mark repo Sonstiges(114124fa) as deleted.
[08/09/23 13:55:44] Mark repo Studium(07f99e52) as deleted.
[08/09/23 13:55:44] Removing repo 114124fa-c06b-49bb-b811-8962678c9510 on disk.
[08/09/23 13:55:52] Creating partial commit after rename Neuer Ordner in repo Meine Bibliothek(602eb119).
[08/09/23 13:55:56] Failed to get repo 602eb119.
[08/09/23 13:55:56] CfExecute failed: Falscher Parameter..
[08/09/23 13:55:56] Repo 'Meine Bibliothek' sync state transition from 'committing' to 'canceled'.
[08/09/23 13:55:56] Removing repo 07f99e52-a779-4724-b30e-e13b8a65eed7 on disk.
[08/09/23 13:55:57] Removing repo 602eb119-2642-4c13-8eae-70183fc033b2 on disk.
[08/09/23 13:56:21] Failed to remove dir C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Eigene Dateien/Desktops/Desktop: 5.
[08/09/23 13:56:21] Failed to remove dir C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Eigene Dateien/Downloads: 5.
[08/09/23 13:56:22] Failed to remove dir C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Eigene Dateien/Eigene Bilder: 5.
[08/09/23 13:56:24] Failed to remove dir C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Eigene Dateien/Eigene Dokumente: 5.
[08/09/23 13:56:27] Failed to remove dir C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Eigene Dateien/Eigene Musik: 5.
[08/09/23 13:56:27] Failed to remove dir C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Eigene Dateien/Eigene Videos: 5.
[08/09/23 13:56:27] Failed to remove dir C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Eigene Dateien/Favoriten: 5.
[08/09/23 13:56:30] Failed to remove dir C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Eigene Dateien/Gespeicherte Spiele: 5.
[08/09/23 13:56:30] Failed to remove dir C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Eigene Dateien/Kontakte: 5.
[08/09/23 13:56:30] Failed to remove dir C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Eigene Dateien/Links: 5.
[08/09/23 13:56:30] Failed to remove dir C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Eigene Dateien/Suchvorgänge: 5.
[08/09/23 13:56:43] Failed to delete file C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Promotion/98_PycharmProjects/rllib/.git/objects/1a/23461db281aff9aaeac8ed4c2e48a883f0eb69: 5.
[08/09/23 13:56:43] Failed to delete file C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Promotion/98_PycharmProjects/rllib/.git/objects/1a/ced3ae929a2457f69af98a54552a0bc80c72c1: 5.
[08/09/23 13:56:43] Failed to delete file C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Promotion/98_PycharmProjects/rllib/.git/objects/2a/bcd2eba6cf089a42587eee06e20e998215c8ef: 5.
[08/09/23 13:56:43] Failed to delete file C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Promotion/98_PycharmProjects/rllib/.git/objects/2d/fd7c4b2b885cd8798e5879fa3c274e5b66dbea: 5.
[08/09/23 13:56:43] Failed to delete file C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Promotion/98_PycharmProjects/rllib/.git/objects/33/85242b3893b69ab553b6cbd259d3b0a2203c5b: 5.
[08/09/23 13:56:43] Failed to delete file C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Promotion/98_PycharmProjects/rllib/.git/objects/54/c1e76dc4eba1b1000c73faf9fcd8daa74e0ec3: 5.
[08/09/23 13:56:44] Removing store C:/Users/jonas/seadrive/data\deleted_store\commits\07f99e52-a779-4724-b30e-e13b8a65eed7
[08/09/23 13:56:44] Removing store C:/Users/jonas/seadrive/data\deleted_store\commits\114124fa-c06b-49bb-b811-8962678c9510
[08/09/23 13:56:44] Removing store C:/Users/jonas/seadrive/data\deleted_store\commits\602eb119-2642-4c13-8eae-70183fc033b2
[08/09/23 13:56:44] Removing store C:/Users/jonas/seadrive/data\deleted_store\fs\07f99e52-a779-4724-b30e-e13b8a65eed7
[08/09/23 13:56:44] Failed to delete file C:/Users/jonas/seadrive_root/jonaszin/Meine Bibliotheken/Meine Bibliothek_deleting/Promotion/98_PycharmProjects/rllib/.git/objects/be/e2a2e94667f8532a14ae03930c64e5b525163e: 5.
[08/09/23 13:56:44] Removing store C:/Users/jonas/seadrive/data\deleted_store\fs\114124fa-c06b-49bb-b811-8962678c9510
[08/09/23 13:57:32] Removing store C:/Users/jonas/seadrive/data\deleted_store\fs\602eb119-2642-4c13-8eae-70183fc033b2
[08/09/23 13:58:38] cache size limit is 10000000000
[08/09/23 14:08:38] cache size limit is 10000000000
[08/09/23 14:18:38] cache size limit is 10000000000
[08/09/23 14:28:38] cache size limit is 10000000000
[08/09/23 14:38:38] cache size limit is 10000000000
[08/09/23 14:40:03] adding account https://seafile.zinn-sys.de jonaszinn@gmail.com.
[08/09/23 14:40:03] Bad response code for GET https://seafile.zinn-sys.de/api2/repos/: 401.
[08/09/23 14:41:55] Starting SeaDrive client 3.0.4
[08/09/23 14:41:55] rpc server started.
[08/09/23 14:41:55] Moving blocks for deleted repo 602eb119-2642-4c13-8eae-70183fc033b2.
[08/09/23 14:41:55] Removing store C:/Users/jonas/seadrive/data\deleted_store\blocks\602eb119-2642-4c13-8eae-70183fc033b2
[08/09/23 14:41:56] start to serve on pipe client
[08/09/23 14:41:57] start to serve on pipe client
[08/09/23 14:41:57] start to serve on pipe client
[08/09/23 14:42:55] cache size limit is 10000000000
[08/09/23 14:51:22] Starting SeaDrive client 3.0.4
[08/09/23 14:51:22] rpc server started.
[08/09/23 14:51:23] start to serve on pipe client
[08/09/23 14:51:24] start to serve on pipe client
[08/09/23 14:51:24] start to serve on pipe client
[08/09/23 14:51:39] Starting SeaDrive client 3.0.4
[08/09/23 14:51:39] rpc server started.
[08/09/23 14:51:41] start to serve on pipe client
[08/09/23 14:51:42] start to serve on pipe client
[08/09/23 14:51:42] start to serve on pipe client
[08/09/23 14:52:10] adding account https://seafile.zinn-sys.de jonaszinn@gmail.com.
[08/09/23 14:52:12] Cloning repo Studium(07f99e52-a779-4724-b30e-e13b8a65eed7).
[08/09/23 14:52:12] Repo 'Studium' sync state transition from 'synchronized' to 'get token'.
[08/09/23 14:52:12] Cloning repo Sonstiges(114124fa-c06b-49bb-b811-8962678c9510).
[08/09/23 14:52:12] Repo 'Sonstiges' sync state transition from 'synchronized' to 'get token'.
[08/09/23 14:52:12] Cloning repo Meine Bibliothek(602eb119-2642-4c13-8eae-70183fc033b2).
[08/09/23 14:52:12] Repo 'Meine Bibliothek' sync state transition from 'synchronized' to 'get token'.
[08/09/23 14:52:12] Repo 'Studium' sync state transition from 'get token' to 'downloading'.
[08/09/23 14:52:12] Download with HTTP sync protocol version 2.
[08/09/23 14:52:12] Transfer repo '07f99e52': ('normal', 'init') --> ('normal', 'check')
[08/09/23 14:52:12] Repo 'Meine Bibliothek' sync state transition from 'get token' to 'downloading'.
[08/09/23 14:52:12] Download with HTTP sync protocol version 2.
[08/09/23 14:52:12] Transfer repo '602eb119': ('normal', 'init') --> ('normal', 'check')
[08/09/23 14:52:12] Repo 'Sonstiges' sync state transition from 'get token' to 'downloading'.
[08/09/23 14:52:12] Download with HTTP sync protocol version 2.
[08/09/23 14:52:12] Transfer repo '114124fa': ('normal', 'init') --> ('normal', 'check')
[08/09/23 14:52:12] Transfer repo '07f99e52': ('normal', 'check') --> ('normal', 'commit')
[08/09/23 14:52:12] Transfer repo '602eb119': ('normal', 'check') --> ('normal', 'commit')
[08/09/23 14:52:12] Transfer repo '07f99e52': ('normal', 'commit') --> ('normal', 'fs')
[08/09/23 14:52:12] Transfer repo '114124fa': ('normal', 'check') --> ('normal', 'commit')
[08/09/23 14:52:12] Transfer repo '602eb119': ('normal', 'commit') --> ('normal', 'fs')
[08/09/23 14:52:12] Transfer repo '114124fa': ('normal', 'commit') --> ('normal', 'fs')
[08/09/23 14:52:14] Transfer repo '07f99e52': ('normal', 'fs') --> ('finished', 'finished')
[08/09/23 14:52:14] Repo 'Studium' sync state transition from 'downloading' to 'load repo'.
[08/09/23 14:52:14] Repo 'Studium' sync state transition from 'load repo' to 'synchronized'.
[08/09/23 14:52:15] Repo 'Studium' sync state transition from 'synchronized' to 'committing'.
[08/09/23 14:52:15] All events are processed for repo 07f99e52-a779-4724-b30e-e13b8a65eed7.
[08/09/23 14:52:15] Repo 'Studium' sync state transition from 'committing' to 'synchronized'.
[08/09/23 14:52:15] Transfer repo '114124fa': ('normal', 'fs') --> ('finished', 'finished')
[08/09/23 14:52:15] Repo 'Sonstiges' sync state transition from 'downloading' to 'load repo'.
[08/09/23 14:52:17] Repo 'Sonstiges' sync state transition from 'load repo' to 'synchronized'.
[08/09/23 14:52:18] Repo 'Sonstiges' sync state transition from 'synchronized' to 'committing'.

How did you change your password? With 3.0.4 version there is no option to change password in the UI. You should have deleted the old account and logged in again. However in usual deletion of account SeaDrive will not delete the placeholders or synced files. How did you delete the account?

I have not deleted my account. I think I have clicked on resync. Not sure, whether I was asked to enter the password again or not, but at this point my files were already gone.

This is a bug when password is changed on the server. We’ll fix it in the next version. It shouldn’t remove the local cache.