Failed to sync seafile database - FYI

Hi,

I tested clean installation of Seafile server version 7.0.2 and I obtain error:
Failed to sync seafile database
if I change default path from /opt/seafile-server/seafile-data to /opt/seafile-server/data

This is evidently bug…

I got the same error installing 7.0.4 but I used /media/pi/Seafile/data. The installation was made in /media/pi/Seafile/system. Seafile is an ext4 external usb disk. If i use the default data path (/media/pi/Seafile/seafile-data), no problem.

I got the same problem. I also think it is a bug. At line 695 in setup-seafile.sh, the var seafile_db(the path of seafile.db) is ${TOPDIR}/seafile-data/seafile.db, it is the default path, but the seafile-data in default path is not create, so the sqlite3 can’t make the database file, and the installation failed.