-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation error drupal 11 with sqlite #264
Comments
Ouch, confirmed: https://www.drupal.org/docs/getting-started/system-requirements/database-server-requirements#s-drupal-11--3 (I also tested - totally stock image deployment with no additional configuration and simply choosing SQLite in the setup wizard 😞) |
Looking at https://packages.debian.org/bookworm/sqlite3, I'm also not sure there's a good way for us to solve this (there's not a newer version available for bookworm). |
Looks like this was part of https://www.drupal.org/project/drupal/issues/3346338 (actually codified in drupal/drupal@10466db, which references https://www.drupal.org/project/drupal/issues/3420972 instead but that one is about testing, not about bumping the requirement). |
and
😞 |
From comments like this:
I believe we can safely infer that this is a "wontfix" / intentional breakage for upstream. https://www.drupal.org/project/drupal/issues/3346338#comment-15370259 suggests that there could be (slash will be?) a contrib module with can be used instead to get sqlite support working on older sqlite versions, but I have not found it yet. |
From https://www.drupal.org/project/drupal/issues/3346338#comment-15577306, it looks like that might exist at https://www.drupal.org/project/sqlite326 someday, but does not currently (and no ETA), so I think that's as far as we can reasonably take this unless/until someone writes that module. For the avoidance of doubt, I am not very comfortable with us building our own copy of SQLite from source to fix this issue (for similar reasons to upstream deciding it was worth doing a breaking change even knowing it would exclude some set of users and that it wasn't important enough to stop them from doing so). |
ddev/ddev#6110 Fixed in ddev ddev/ddev#6137 by installing sqlite pkg from Debian Trixie. |
or maybe better to use apt_preferences instead of wget and dpkg https://wiki.debian.org/AptConfiguration?action=show&redirect=AptPreferences#apt_preferences_.28APT_pinning.29 |
Installing the package from Trixie is something that will currently maybe work, but is likely to break in the future, especially as Trixie is not in any stage of freeze. |
AFAICS the workaround of installing sqlite 3.45.1 from the trixie repo (see ddev/ddev#6137 and ddev/ddev#6110 ) has indeed stopped working. The version in the repo seems to have changed to 3.46 which means the 3.45 urls now return a 404 - e.g.:
Trying to install 3.46 instead results in dependency errors:
|
When I try to install Drupal 11 with a sqlite database I get an error
Image: drupal:11.0.0-php8.3-apache-bookworm
I think SQLite should be supported in Drupal Docker images for several important reasons, making it an ideal choice for specific use cases.
Key Advantages of SQLite in Docker Images of Drupal:
Demonstrations with Drupal:
The text was updated successfully, but these errors were encountered: