Package Details: actual-server 26.7.0-2

Git Clone URL: https://aur.archlinux.org/actual-server.git (read-only, click to copy)
Package Base: actual-server
Description: Actual Budget server used for syncing across devices. Includes the web client.
Upstream URL: https://actualbudget.org
Keywords: actual budget finance
Licenses: MIT
Submitter: pikl
Maintainer: POGMAN
Last Packager: POGMAN
Votes: 6
Popularity: 0.94
First Submitted: 2023-07-09 11:15 (UTC)
Last Updated: 2026-07-28 09:17 (UTC)

Latest Comments

1 2 3 Next › Last »

AlD commented on 2026-07-28 10:38 (UTC)

Thanks!

POGMAN commented on 2026-07-28 09:20 (UTC) (edited on 2026-07-28 09:28 (UTC) by POGMAN)

Indeed, I missed that when running pkgctl. I have pushed a version that adds --allow-scripts=bcrypt,better-sqlite3 to npm install command, that should work.

But I think the real issue is on actual's side. I have opened a ticket, hopefully they will fix it for the next release.

Thanks for the heads up :)

Edit: I found out that since npm 12 the default is to block install scripts, that's why it did not raise errors earlier

AlD commented on 2026-07-27 23:11 (UTC)

No, a build in a clean chroot confirms:

npm warn install-scripts 2 packages had install scripts blocked because they are not covered by allowScripts:
npm warn install-scripts   bcrypt@6.0.0 (install: node-gyp-build)
npm warn install-scripts   better-sqlite3@12.11.1 (install: prebuild-install || node-gyp rebuild --release)
npm warn install-scripts
npm warn install-scripts Run `npm install -g --allow-scripts=bcrypt,better-sqlite3` to allow these scripts once, or `npm config set allow-scripts=bcrypt,better-sqlite3 --location=user` to allow them for all global installs.

POGMAN commented on 2026-07-27 23:00 (UTC)

I think the issue you are facing is due to an update of node that happened after you installed actual. Reinstalling it should be enough I guess

AlD commented on 2026-07-27 22:47 (UTC)

No longer works for me; it's complaining about not being able to find better_sqlite3.node. It's indeed missing from the package.

Not sure if it's the correct approach, but this fixes it:

diff --git a/.SRCINFO b/.SRCINFO
index 5ec5f6a..d4fa95f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,3 +3,3 @@ pkgbase = actual-server
        pkgver = 26.7.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://actualbudget.org
diff --git a/PKGBUILD b/PKGBUILD
index e69af40..486007e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,3 +10,3 @@ pkgname=actual-server
 pkgver=${_npmver//-/_}
-pkgrel=1
+pkgrel=2
 pkgdesc="Actual Budget server used for syncing across devices. Includes the web client."
@@ -37,2 +37,3 @@ package() {
     npm install --no-fund -g --cache "${srcdir}/npm-cache" --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tar.gz"
+    npm rebuild --prefix "${pkgdir}/usr/lib/node_modules/@actual-app/sync-server"

picokan commented on 2026-01-10 20:44 (UTC)

Actual budget 26.1.0 has released.

POGMAN commented on 2025-06-12 09:36 (UTC) (edited on 2025-06-12 09:37 (UTC) by POGMAN)

Well, the build got broken due to an update of node an better-sqlite3 not having a prebuilt image for this version.

I've added python to the makedepends as it could happen everytime node updates.

Thanks!

feinedsquirrel commented on 2025-06-12 03:58 (UTC)

Building in a clean chroot, I am getting the following error. Adding 'python' as a dependency fixes it, but seems weird to me. Is it the correct solution?

npm error code 1
npm error path /build/actual-server/pkg/actual-server/usr/lib/node_modules/@actual-app/sync-server/node_modules/better-sqlite3
npm error command failed
npm error command sh -c prebuild-install || node-gyp rebuild --release
npm error (node:2827) [DEP0176] DeprecationWarning: fs.R_OK is deprecated, use fs.constants.R_OK instead
npm error (Use `node --trace-deprecation ...` to show where the warning was created)
npm error prebuild-install warn install No prebuilt binaries found (target=24.2.0 runtime=node arch=x64 libc= platform=linux)
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@11.2.0
npm error gyp info using node@24.2.0 | linux | x64
npm error gyp ERR! find Python 
npm error gyp ERR! find Python Python is not set from command line or npm configuration
npm error gyp ERR! find Python Python is not set from environment variable PYTHON
npm error gyp ERR! find Python checking if "python3" can be used
npm error gyp ERR! find Python - executable path is ""
npm error gyp ERR! find Python - "" could not be run
npm error gyp ERR! find Python checking if "python" can be used
npm error gyp ERR! find Python - executable path is ""
npm error gyp ERR! find Python - "" could not be run
npm error gyp ERR! find Python 
npm error gyp ERR! find Python **********************************************************
npm error gyp ERR! find Python You need to install the latest version of Python.
npm error gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
npm error gyp ERR! find Python you can try one of the following options:
npm error gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
npm error gyp ERR! find Python (accepted by both node-gyp and npm)
npm error gyp ERR! find Python - Set the environment variable PYTHON
npm error gyp ERR! find Python - Set the npm configuration variable python:
npm error gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
npm error gyp ERR! find Python For more information consult the documentation at:
npm error gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
npm error gyp ERR! find Python **********************************************************
npm error gyp ERR! find Python 
npm error gyp ERR! configure error 
npm error gyp ERR! stack Error: Could not find any Python installation to use
npm error gyp ERR! stack at PythonFinder.fail (/usr/lib/node_modules/node-gyp/lib/find-python.js:306:11)
npm error gyp ERR! stack at PythonFinder.findPython (/usr/lib/node_modules/node-gyp/lib/find-python.js:164:17)
npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
npm error gyp ERR! stack at async configure (/usr/lib/node_modules/node-gyp/lib/configure.js:27:18)
npm error gyp ERR! stack at async run (/usr/lib/node_modules/node-gyp/bin/node-gyp.js:81:18)
npm error gyp ERR! System Linux 6.12.33-1-lts
npm error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
npm error gyp ERR! cwd /build/actual-server/pkg/actual-server/usr/lib/node_modules/@actual-app/sync-server/node_modules/better-sqlite3
npm error gyp ERR! node -v v24.2.0
npm error gyp ERR! node-gyp -v v11.2.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: /build/actual-server/src/npm-cache/_logs/2025-06-12T03_48_29_730Z-debug-0.log
==> ERROR: A failure occurred in package().
    Aborting...

feinedsquirrel commented on 2025-04-16 21:19 (UTC)

Confirming that solved the issue. I appreciate your work finding the solution! I was apparently looking in all the wrong spots.

POGMAN commented on 2025-04-16 19:04 (UTC) (edited on 2025-04-16 19:30 (UTC) by POGMAN)

I pushed 25.4.0-3 that adds 'npm' as makedepends and it seems to work fine now.

Honestly this release has been a mess to package, see: https://github.com/actualbudget/actual/issues/4746

Hopefully next release will be smoother thanks to the way they plan to package the server (https://github.com/actualbudget/actual/pull/4798)