-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Make it abundantly clear that synapse now requires sqlite 3.8+ (primarily for centos) #2690
Comments
tbh I think the fix is to make it not require sqlite 3.8. |
That said, there are other good reasons for running more recent sqlite such as improvements to the query optimizer and 3.7 is pretty prehistoric. Why on earth is centos7 shipping with a 4-year-old sqlite? |
Centos just does that :/ |
FYI, to fix this issue, "just" compiling a newer version of sqlite is not enough. I tried to compile a sqlite 3.20, and launch matrix with a "LD_LIBRARY_PATH argument to make it use it ; this just fail with a "fatal" error in matrix logs. So I guess the python sqlite module used by Matrix is not compatible with the very new versions of sqlite ? |
That would surprise me very much. Please open a separate issue and include the logs you refer to. |
I have just restarted Matrix with sqlite 3.21
Then it is all broken.
Then, I tried to start Matrix by adding in my systemd unit file the following line:
|
|
Oups, sorry, I will ! |
fts4 issue at #2696, ftr |
The dependency on sqlite 3.8 is fixed by #2697. There remain good arguments for using a better version of sqlite. For that matter, there remain good arguments not to use a distro that thinks a 4-year-old version of sqlite is sufficient. But really, sqlite support only exists so that it's easy for people to get set up and going. It's therefore nice to be able to support 3.7 as best we can. So I guess I don't really agree with the premise here and am closing it accordingly. |
I don't know either why does the latest Centos package a so old version of sqlite, and yes, this is not optimal. |
Note that is not what I have said. |
Partial indexes were introduced in sqlite 3.8, however CentOS 7 ships with sqlite 3.7. The CentOS documentation should recommend building a newer version of sqlite or using postgres.
The text was updated successfully, but these errors were encountered: