[GH-ISSUE #2017] [Bug]: Actual fails to start after upgrading to v23.12.0 #26578

Closed
opened 2026-04-18 02:50:25 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @parkel42 on GitHub (Dec 3, 2023).
Original GitHub issue: https://github.com/actualbudget/actual/issues/2017

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

I'm running Actual using yarn run, and the following error occurs after upgrading to v23.12.0.

Works properly when downgraded to v23.11.0.

What error did you receive?

Dec 03 18:59:22 debian systemd[1]: Started actual-server.service - Actual Server.
Subject: A start job for unit actual-server.service has finished successfully
Defined-By: systemd
Support: https://www.debian.org/support

A start job for unit actual-server.service has finished successfully.

The job identifier is 294811.
Dec 03 18:59:22 debian env[533711]: yarn run v1.22.19
Dec 03 18:59:22 debian env[533711]: warning Skipping preferred cache folder "/.cache/yarn" because it is not writable.
Dec 03 18:59:22 debian env[533711]: warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-997".
Dec 03 18:59:22 debian env[533711]: $ node app
Dec 03 18:59:22 debian env[533711]: warning Cannot find a suitable global folder. Tried these: "/usr/local, /.yarn"
Dec 03 18:59:23 debian env[533723]: Checking if there are any migrations to run for direction "up"...
Dec 03 18:59:23 debian env[533723]: file:///var/www/nginx/actual-server/src/migrations.js:21
Dec 03 18:59:23 debian env[533723]:             throw err;
Dec 03 18:59:23 debian env[533723]:             ^
Dec 03 18:59:23 debian env[533723]: [Error: EACCES: permission denied, open '.migrate'] {
Dec 03 18:59:23 debian env[533723]:   errno: -13,
Dec 03 18:59:23 debian env[533723]:   code: 'EACCES',
Dec 03 18:59:23 debian env[533723]:   syscall: 'open',
Dec 03 18:59:23 debian env[533723]:   path: '.migrate'
Dec 03 18:59:23 debian env[533723]: }
Dec 03 18:59:23 debian env[533723]: Node.js v18.17.1
Dec 03 18:59:23 debian env[533711]: error Command failed with exit code 1.
Dec 03 18:59:23 debian env[533711]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Dec 03 18:59:23 debian systemd[1]: actual-server.service: Main process exited, code=exited, status=1/FAILURE

Where are you hosting Actual?

Locally via Yarn

What browsers are you seeing the problem on?

No response

Operating System

Linux

Originally created by @parkel42 on GitHub (Dec 3, 2023). Original GitHub issue: https://github.com/actualbudget/actual/issues/2017 ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? I'm running Actual using `yarn run`, and the following error occurs after upgrading to v23.12.0. Works properly when downgraded to v23.11.0. ### What error did you receive? ``` Dec 03 18:59:22 debian systemd[1]: Started actual-server.service - Actual Server. Subject: A start job for unit actual-server.service has finished successfully Defined-By: systemd Support: https://www.debian.org/support A start job for unit actual-server.service has finished successfully. The job identifier is 294811. Dec 03 18:59:22 debian env[533711]: yarn run v1.22.19 Dec 03 18:59:22 debian env[533711]: warning Skipping preferred cache folder "/.cache/yarn" because it is not writable. Dec 03 18:59:22 debian env[533711]: warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-997". Dec 03 18:59:22 debian env[533711]: $ node app Dec 03 18:59:22 debian env[533711]: warning Cannot find a suitable global folder. Tried these: "/usr/local, /.yarn" Dec 03 18:59:23 debian env[533723]: Checking if there are any migrations to run for direction "up"... Dec 03 18:59:23 debian env[533723]: file:///var/www/nginx/actual-server/src/migrations.js:21 Dec 03 18:59:23 debian env[533723]: throw err; Dec 03 18:59:23 debian env[533723]: ^ Dec 03 18:59:23 debian env[533723]: [Error: EACCES: permission denied, open '.migrate'] { Dec 03 18:59:23 debian env[533723]: errno: -13, Dec 03 18:59:23 debian env[533723]: code: 'EACCES', Dec 03 18:59:23 debian env[533723]: syscall: 'open', Dec 03 18:59:23 debian env[533723]: path: '.migrate' Dec 03 18:59:23 debian env[533723]: } Dec 03 18:59:23 debian env[533723]: Node.js v18.17.1 Dec 03 18:59:23 debian env[533711]: error Command failed with exit code 1. Dec 03 18:59:23 debian env[533711]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Dec 03 18:59:23 debian systemd[1]: actual-server.service: Main process exited, code=exited, status=1/FAILURE ``` ### Where are you hosting Actual? Locally via Yarn ### What browsers are you seeing the problem on? _No response_ ### Operating System Linux
GiteaMirror added the bug label 2026-04-18 02:50:25 -05:00
Author
Owner

@MatissJanis commented on GitHub (Dec 3, 2023):

Duplicate of https://github.com/actualbudget/actual/issues/2011

<!-- gh-comment-id:1837515479 --> @MatissJanis commented on GitHub (Dec 3, 2023): Duplicate of https://github.com/actualbudget/actual/issues/2011
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#26578