Hi,
Seafile Pro 6.3.12
when I log in as seafile admin, the statistics show that we have 7127 libraries with 4858658 files. I wanted to know, who owns so many files, so I looked at the database table seafile-db.RepoFileCount. It shows one repo with 2576753 files. Now I wanted to find out the owner of the repo, but the repo doesn’t appear in the RepoOwner table. It only shows up in the RepoSize table with a size of 19 GB. Then I tried a seaf-fsck, but the repo doesn’t exist.
$ ./seaf-fsck.sh 6e544797-5e87-40a0-a7de-c488784196ff
Starting seaf-fsck, please wait ...
[07/05/19 09:49:26] fsck.c(602): Running fsck for repo 6e544797-5e87-40a0-a7de-c488784196ff.
[07/05/19 09:49:26] fsck.c(611): Repo 6e544797 doesn't exist.
[07/05/19 09:49:26] fsck.c(666): Fsck finished for repo 6e544797.
These are the db entries where the repo appears (RepoSize, RepoFileCount, GCID):
+------+--------------------------------------+-------------+------------------------------------------+
| id | repo_id | size | head_id |
+------+--------------------------------------+-------------+------------------------------------------+
| 2269 | 6e544797-5e87-40a0-a7de-c488784196ff | 19872998096 | ae1f881c35861f181d2bca9d31a4b2bfcce8d8b8 |
+------+--------------------------------------+-------------+------------------------------------------+
+------+--------------------------------------+------------+
| id | repo_id | file_count |
+------+--------------------------------------+------------+
| 1695 | 6e544797-5e87-40a0-a7de-c488784196ff | 2576753 |
+------+--------------------------------------+------------+
+------+--------------------------------------+--------------------------------------+
| id | repo_id | gc_id |
+------+--------------------------------------+--------------------------------------+
| 2247 | 6e544797-5e87-40a0-a7de-c488784196ff | 618fbaf1-6936-4a42-b9dc-9e54a64aca3e |
+------+--------------------------------------+--------------------------------------+
How can this be? How can I solve the problem?
Thanks,
Dirk