crashes with error

I’m getting errors when accessing data from a library:

Which gives me:

Secure Connection Failed

An error occurred during a connection to

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.

Learn more…

nginx output:

tail /var/log/nginx/error.log
2022/12/14 16:50:26 [error] 991#991: *154122 upstream prematurely closed connection while reading upstream, client:, server:, request: "GET /seafhttp/files/c2dd59fe-05b7-4fd0-8259-194d3ece519b/ABBYY_FineReader_14.exe HTTP/2.0", upstream: "", host: "", referrer: ""

seafile log:

tail seafile.log
2022-12-14 16:50:26 ../common/block-backend-fs.c(70): [block bend] failed to open block a998ed057668fdfad7890ad9559ecbbe6b1ef613 for read: No such file or directory
2022-12-14 16:50:26 access-file.c(288): Failed to open block 4ad6f367-a0d4-4f75-8b7f-65df3bdac157:a998ed057668fdfad7890ad9559ecbbe6b1ef613

so the Library seems corrupted. I tried to fix it with

seafile@seafile:~/seafile-server-latest$ ./ 4ad6f367-a0d4-4f75-8b7f-65df3bdac157

Starting seaf-fsck, please wait ...

2022-12-13 18:15:59 fsck.c(596): Running fsck for repo 4ad6f367-a0d4-4f75-8b7f-65df3bdac157.
2022-12-13 18:15:59 fsck.c(422): Checking file system integrity of repo Software(4ad6f367)...
./ Zeile 32: 26436 Speicherzugriffsfehler  LD_LIBRARY_PATH=$SEAFILE_LD_LIBRARY_PATH ${seaf_fsck} -c "${default_ccnet_conf_dir}" -d "${default_seafile_data_dir}" -F "${default_conf_dir}" ${seaf_fsck_opts}
seaf-fsck run done


Which give me a segmentation fault:

tail /var/log/messages
Dec 13 18:33:54 seafile kernel: [12739224.756826] seaf-fsck[26436]: segfault at 40 ip 000055b3986f8a22 sp 00007ffd6fa3d1a0 error 4 in seaf-fsck[55b3986f2000+26000]
Dec 13 18:33:54 seafile kernel: [12739224.757726] Code: 17 22 00 48 8b 4c 24 10 41 8b 94 24 10 01 00 00 48 8b 78 40 49 8d b4 24 14 01 00 00 48 89 74 24 48 89 54 24 54 e8 6e 7e 00 00 <44> 8b 58 40 49 89 c5 45 85 db 0f 84 d2 03 00 00 49 8d 44 24 08 4c

This is a very old Library and I will need to repair it. Deleting and rebuilding it will be a real pita.
The Server runs Debian 10 (buster) and seafile is the CE Edition 9.0.8.
Thanks for help!

Ok, so it was fixed in 9.0.9. does not crash anymore but the fix was kinda disappointing. It simply deleted every file in every corrupted directory. As for the corruption, they occurred during the first versions with the golang server which crashed badly a few time during an upload to this specific library (well, the library is called software and so there are a few multi-gig-sized iso files I wanted to save :slight_smile: ). So for me I restored that library from my last backup via export and uploaded it again. Yes, a real pita. But back in business.