I'm getting the following error when attempting to start the server:
Started Actual Server.
]: Checking if there are any migrations to run for direction "up"...
]: Rejection: Error: The module '/usr/share/webapps/actual-server/node_modules/better-sqlite3/build/Release/better_sqlite3.node'
]: was compiled against a different Node.js version using
]: NODE_MODULE_VERSION 115. This version of Node.js requires
]: NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
]: the module (for instance, using `npm rebuild` or `npm install`).
]: at Module._extensions..node (node:internal/modules/cjs/loader:1340:18)
]: at Module.load (node:internal/modules/cjs/loader:1119:32)
]: at Module._load (node:internal/modules/cjs/loader:960:12)
]: at Module.require (node:internal/modules/cjs/loader:1143:19)
]: at require (node:internal/modules/cjs/helpers:119:18)
]: at bindings (/usr/share/webapps/actual-server/node_modules/bindings/bindings.js:112:48)
]: at new Database (/usr/share/webapps/actual-server/node_modules/better-sqlite3/lib/database.js:48:64)
]: at openDatabase (file:///usr/share/webapps/actual-server/src/db.js:57:30)
]: at getAccountDb (file:///usr/share/webapps/actual-server/src/account-db.js:12:18)
]: at Migration.up (file:///usr/share/webapps/actual-server/migrations/1694360479680-create-account-db.js:4:9) {
]: code: 'ERR_DLOPEN_FAILED'
]: }
actual-server.service: Deactivated successfully.
actual-server.service: Consumed 1.148s CPU time.
Pinned Comments
pikl commented on 2024-05-27 09:01 (UTC) (edited on 2024-05-27 09:02 (UTC) by pikl)
Linux kernels >=
v6.9-arch1
have a bug that prevents the server running and the AUR package being built. Downgrade tov6.8.9-arch1
or uselinux-lts
.