Upgraded OpenWA and now it's not working #1467
|
Hi, I recently upgraded to last version of OpenWA (v0.23.3) in my server Ubuntu 20.04. I fired When the instance of OpenWA is loading it ends up with this error: Tried to |
Replies: 2 comments 1 reply
|
This is a glibc floor rather than an OpenWA bug, and it landed in v0.19.0, not v0.23.3. v0.19.0 moved the SQLite driver from better-sqlite3 12 to 13. v12 fetched or compiled its native binary at install time. v13 ships prebuilt binaries inside the package, and the Linux x64 one is linked against glibc 2.34: Ubuntu 20.04 ships glibc 2.31, so the binary cannot load. The error names 2.33 only because that is the first unresolvable symbol version the loader hits. The effective minimum is now Ubuntu 22.04, Debian 12, or RHEL 9. The Docker image is unaffected: it is based on
One more thing worth knowing: switching to PostgreSQL does not avoid this. The auth and audit connection is always SQLite regardless of Options, in the order I would try them: 1. Run the Docker image. glibc 2.36, unaffected. 2. Move to Ubuntu 22.04 or newer. 20.04 left standard support in April 2025. 3. Compile locally, if you need to stay on 20.04. Remove the prebuild so the loader falls through to sudo apt install -y build-essential python3 g++-10
cd node_modules/better-sqlite3
rm prebuilds/linux-x64.node
CC=gcc-10 CXX=g++-10 npm run build-releaseNote that any later |
|
Ubuntu 20.04 ships glibc 2.31, and that prebuilt binary wants 2.33 — so it can never load on that host, no matter what else you change. Worth confirming with The reason your rebuild appeared to do nothing is worth understanding, because it is easy to run the command and get a clean exit while nothing was compiled. If it did not, the compile never happened — usually because the toolchain is missing rather than because it failed loudly: then look for that file again. If you want to be certain nothing can fall back, delete One thing to know before you settle on that as the fix: Given that, the durable answer is probably the host rather than the module. |
This is a glibc floor rather than an OpenWA bug, and it landed in v0.19.0, not v0.23.3.
v0.19.0 moved the SQLite driver from better-sqlite3 12 to 13. v12 fetched or compiled its native binary at install time. v13 ships prebuilt binaries inside the package, and the Linux x64 one is linked against glibc 2.34:
Ubuntu 20.04 ships glibc 2.31, so the binary cannot load. The error names 2.33 only because that is the first unresolvable symbol version the loader hits. The effective minimum is now Ubun…