You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running Hydra on "Ubuntu 10.04.4 LTS" (lucid). The host has Nix 1.1-1 installed from the 1.1 release page, downloaded as a .deb for 10.04.
There is a mismatch between the libsqlite3 library used by the host Nix and the Nix inside the Hydra closure.
The "host" Nix links dynamically against libsqlite3.so version 3.6.22-1, as provided by Ubuntu 10.04.
The Nix inside the Hydra closure links against libsqlite3.so version 3.7.13.
After 3.7.0, sqlite3 supports Write-Ahead Logging, and this is incompatible with older versions of sqlite3.
AFAICT, installing and running Hydra will upgrade the sqlite3 datastore, rendering the host Nix installation unusable.
The simple workaround, just installing the Nix from Hydra's closure into the user-specific Nix profile works just fine, of course, but it's a bit surprising that this is necessary. I didn't see any prominently displayed warning about this breaking upgrade when I started the Hydra services.
The text was updated successfully, but these errors were encountered:
This is a bit surprising indeed, maybe the docs should say something like "Your system's Nix should be the same as the Nix used to build Hydra." This problem could happen on NixOS just the same as Ubuntu or RHEL.
grahamc
changed the title
error: setting synchronous mode: file is encrypted or is not a database
Mixed Nix versions from host and hydra can cause forced upgrades to the Nix database.
May 8, 2020
I am running Hydra on "Ubuntu 10.04.4 LTS" (lucid). The host has Nix 1.1-1 installed from the 1.1 release page, downloaded as a .deb for 10.04.
There is a mismatch between the libsqlite3 library used by the host Nix and the Nix inside the Hydra closure.
The "host" Nix links dynamically against libsqlite3.so version 3.6.22-1, as provided by Ubuntu 10.04.
The Nix inside the Hydra closure links against libsqlite3.so version 3.7.13.
After 3.7.0, sqlite3 supports Write-Ahead Logging, and this is incompatible with older versions of sqlite3.
AFAICT, installing and running Hydra will upgrade the sqlite3 datastore, rendering the host Nix installation unusable.
The simple workaround, just installing the Nix from Hydra's closure into the user-specific Nix profile works just fine, of course, but it's a bit surprising that this is necessary. I didn't see any prominently displayed warning about this breaking upgrade when I started the Hydra services.
The text was updated successfully, but these errors were encountered: