Package Details: actual-server 25.6.1-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: pikl (POGMAN)
Last Packager: POGMAN
Votes: 5
Popularity: 0.086573
First Submitted: 2023-07-09 11:15 (UTC)
Last Updated: 2025-06-12 09:36 (UTC)

Latest Comments

1 2 Next › Last »

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)

feinedsquirrel commented on 2025-04-16 16:10 (UTC) (edited on 2025-04-16 16:10 (UTC) by feinedsquirrel)

building in a clean chroot fails. I've tried both nodejs and nodejs-lts-jod. I'm wondering if this is an upstream issue, but I haven't found any comments on their github repo. Here is the error:

➤ YN0000: · Yarn 4.7.0
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ actual@workspace:. doesn't provide @types/node (pb83aa), requested by ts-node.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed

running yarn explain peer-requirements pb83aa gives:

Package actual@workspace:. is requested to provide @types/node by its descendants

actual@workspace:.
└─ ts-node@npm:10.9.2 [0d005] (via *)

✘ Package actual@workspace:. does not provide @types/node.

pikl commented on 2025-02-24 18:40 (UTC)

@POGMAN - sorry I must have missed this message but seen your orphan request. Happy adding you as a co-maintainer since I've proved I haven't kept up this up to date recently.

POGMAN commented on 2025-02-12 11:06 (UTC) (edited on 2025-02-14 16:10 (UTC) by POGMAN)

Since I am not sure that this package is still maintained I made a fork/mirror on github that prepare the PKGBUILD for the upcoming merge of Actual's repositories (actual-server into actual): https://github.com/pogman-code/actual-aur

I tested it against master and works well, also it works with nodejs/linux (no need for *-lts versions anymore it seems)

@pikl, I can help co-maintain or if don't plan to continue I can maintain it :)

feinedsquirrel commented on 2024-12-14 08:35 (UTC)

instead of having to create a new patch when the load-config.js file changes, consider replacing the patch line in the prepare() function with something like this:

sed -i 's/^let[[:space:]]defaultDataDir .*$/let defaultDataDir \= \x27\/var\/lib\/actual\x27;/' src/load-config.js

There are probably better ways to formulate this line, but this is just something I was able to hack together that worked. I am no expert at sed.

feinedsquirrel commented on 2024-05-28 14:29 (UTC) (edited on 2024-05-28 14:34 (UTC) by feinedsquirrel)

Ah, thanks for the greater detail.

I'm happy to stick with the nodejs-lts-*. And just as a data point, I was using linux-lts already. :shrug: I did just try using nodejs v21 and it also failed there. So to summarize, nodejs v21 and v22 both on linux-lts failed for me. It's working great on nodejs-lts-iron and linux-lts.

I emphasize "for me" because I'm not an expert on nodejs nor arch-nspawn, so again, just an fyi. Probably something silly I messed up. :) I appreciate your effort on maintaining this package for us!

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 to v6.8.9-arch1 or use linux-lts.