mirror of
https://github.com/actualbudget/actual.git
synced 2026-07-16 07:04:23 -05:00
Closed
opened 2026-04-26 03:17:53 -05:00 by GiteaMirror
·
20 comments
No Branch/Tag Specified
master
dependabot/npm_and_yarn/npm_and_yarn-cd62b4b37a
api-browser-custom-data-dir
tabedzki/feat/replacing-month-picker-with-day-picker
delay-initial-sync-until-loaded
jfdoming/mobile-app-build
cross-version-sync-compat
jfdoming/api-tokens-part-1
jfdoming/api-tokens-part-2
jfdoming/api-tokens-part-3
jfdoming/mobile-app-updates
claude/budget-version-migration-compat-151jlr
claude/worker-error-serialization-9iqtl7
claude/react-table-library-research-afx83z
claude/issue-8401-regression-test-9nw9l3
jfdoming/mobile-app-foundation-part-1
jfdoming/mobile-app-scaffold
release
ai-fix-cleanup-def-8290
claude/relaxed-shannon-jusywa
claude/fervent-keller-s6f2fq
claude/determined-feynman-st1y9z
claude/wizardly-einstein-vi2wce
claude/sweet-albattani-7nseio
feat/bank-sync-per-budget-file
claude/affectionate-cannon-y0kc82
claude/dependabot-findings-m9pgmb
claude/mac-app-ios-publish-zjs1lz
claude/vigilant-tesla-aiiyos
depot-migrate-secrets-1781296330308
claude/quirky-cerf-v5qck7
claude/animation-removal-alternative-2etfh1
claude/netlify-preview-comments-consolidate-9XPYa
osc/7391-error-boundaries-reports
claude/pensive-dijkstra-7DYui
claude/server-app-version-mismatch-HTCGv
claude/pr-8027-review-feedback-mELuO
claude/zealous-wozniak-e5pO0
claude/intelligent-heisenberg-BSHJq
claude/translation-download-refactor-jFRsO
claude/mobile-performance-ideas-G9PAO
claude/github-issue-7988-5A5ly
blacksmith-migration-ff70d2d
claude/great-mayer-KRvOk
claude/react-native-ios-compilation-fcJh5
claude/serene-goldberg-58xv0
claude/kind-euler-LVG3K
release-automation/edge-nightly
7710-bundle-migrations
claude/fix-docker-build-error-WMfed
claude/llm-compatible-release-notes-t20Nr
7710-tests-tdd
cursor/transaction-table-rewrite-f077
claude/plan-ci-secure-context-OtEe1
claude/fix-issue-7667-DPXi3
cursor/resolve-pr-7449-ee11
claude/fix-typescript-build-error-JPtZ5
copilot/add-repository-configs-to-packages
worktree-compressed-drifting-ritchie
claude/api-consumer-verification-kfz1K
pr-7454
claude/fix-issue-7410-LLLQ4
revert-7281-generate-icons
react-query-useSchedules
copilot/sub-pr-6140
package-upgrades
v26.7.0
v26.6.0
v26.5.2
v26.5.1
v26.5.0
v26.4.0
v26.3.0
v26.2.1
v26.2.0
v26.1.0
v25.12.0
v25.11.0
v25.10.0
v25.9.0
v25.8.0
v25.7.1
v25.7.0
v25.6.1
v25.6.0
v25.5.0
v25.4.0
v25.3.1
v25.3.0
v25.2.1
v25.2.0
v25.1.0
v24.12.0
v24.11.0
v24.10.1
v24.10.0
v24.9.0
v24.8.0
v24.7.0
v24.6.0
v24.5.0
v24.4.0
v24.3.0
v24.2.0
v24.1.0
v23.12.0
v23.11.0
v23.10.0
v23.9.0
v23.8.1
v23.8.0
v23.7.2
v23.7.1
v23.7.0
v23.6.0
v23.5.0
v23.4.2
v23.4.1
v23.4.0
v23.3.2
v23.3.0
v23.2.9
v23.2.5
v23.1.12
v22.12.9
Labels
Clear labels
AI generated
API
bank sync
budgeting
bug
can’t replicate
dependencies
docker
documentation
electron
experimental feature
feature
feedback
goal templates
good first issue
help wanted
importers
maintenance
needs info
needs testing
needs triage
needs votes
openid
payees
pull-request
regression
reports
responsive
rules
schedules
server
✨ merged
split transactions
tech debt
tech-support
theme
transaction import
transaction reconciliation
transactions
translations
upstream
user interface
✅ approved
wontfix
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/actual#43057
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pcuci on GitHub (Sep 7, 2024).
Original GitHub issue: https://github.com/actualbudget/actual/issues/3390
Verified issue does not already exist?
What happened?
App crashes randomly, console logs show a file read error:
I've detailed the symptoms in Discord: https://discordapp.com/channels/937901803608096828/1171096337111064626/1282059693145198772
Cannot reproduce the issue reliably, the crash/hang happens mostly when on the Budget page or the Reports page (but this could only be a coincidence)
Where are you hosting Actual?
Docker
What browsers are you seeing the problem on?
Desktop App (Electron)
Operating System
Windows 11
@pcuci commented on GitHub (Sep 7, 2024):
I should mention that my data file name is
Financesand notMy-Finances-15bd76d- so it's not clear what is trying to read that file and crash the appShouldn't there also be a
Financesfile as well? (I'm sync'ed against local docker compose'd actual-server)When I go through the motion to reconnect to the server, I see only my desired
Financesdata file:@pcuci commented on GitHub (Sep 7, 2024):
Ok, no. (I deleted the local file)
When I download from the server, the downloaded version is named
My-Finances-15bd76deven though in-app name isFinancesI guess this further confuses the bug? :-)
@MikesGlitch commented on GitHub (Sep 7, 2024):
This is a weird one. I wonder if anyone else is seeing this (please chime in if you are).
The folder name is the budget id - that's why it has the extra characters, they enforce uniqueness. "Finances" is the budget's display name so that's all as expected.
I've been running the windows app for months and have never seen this. The only thing I can think of is maybe some other program is looking at that metadata.json file - OneDrive maybe?
Does the app close or does it become unresponsive/unable to navigate?
Are you able to replicate this often? If so, it would be good if you could try out the Windows release here: https://github.com/actualbudget/actual/actions/runs/10758945924/artifacts/1905808658
I made a small tweak to something that was saving to that file quite a lot. Maybe it will fix it.
@pcuci commented on GitHub (Sep 8, 2024):
It hangs and most pages go blank, then I have to restart the desktop app.
Installed the new version, will monitor for errors.
I've also moved the data file outside the purview of OneDrive, and it's already behaving better. I.e.: restarting Actual asked me to pick from the remote sync'd list of data files.
Oops. Spoke too soon. On 2nd restart:
After a 3rd restart, same exact behaviour as before, new local
Unregisteredfile created.Strangely, however, when I reconnect to actual-server I do only see my
Financesdata file(?)Thanks!
@pcuci commented on GitHub (Sep 8, 2024):
Actually, no. The data file location change did not persist:
Also my yyyy-mm-dd setting reverts to the default mm/dd/yyyy
And SimpleFIN got unchecked, even though I see the green dots next to each connected account.
@pcuci commented on GitHub (Sep 8, 2024):
Ok, the behaviour is erratic, after yet another restart of the app, I now see the new location...
however, the date format reverted again:
Ok, restarted one more time, seems to have persisted(?):
@MikesGlitch commented on GitHub (Sep 8, 2024):
You're doing a lot of things at once and I'm having trouble following 😆
If you change your file directory through the settings page we don't automatically move your budget file or settings. We should improve this functionality as a part of #3371.
That means when you re-downloaded from the server, you did so without your settings, so the last two comments are expected.
If you want to change directory, first change the directory on the Settings page, then manually move your current budget folder to the new directory that you've specified as per the instructions (that nobody reads 🤣).
@pcuci commented on GitHub (Sep 8, 2024):
Ok.
I've shut down the docker compose'd server to attempt to reproduce this.
and the settings seem to have persisted on the client app.
Then, restarting the server.
Though the UI says I can

sign outfrom an offline server(?)Reconnecting
Then restarted the desktop app once more, and settings keep persisting as they should.
I'll monitor for stability, but so far so good.
Thanks for your help, @MikesGlitch!
@pcuci commented on GitHub (Sep 8, 2024):
Ok, it's back—this invalidates the OneDrive hypothesis :-(
Nothing I do can bring the app back, only a restart works.
And on reboot, same old story:
@MikesGlitch commented on GitHub (Sep 8, 2024):
Cool, thanks for reporting. I'll see if I can replicate this and get back to you.
@MikesGlitch commented on GitHub (Sep 8, 2024):
I have a theory. Are you installing via the .exe installer on the release page or are you using the Windows Store app?
If it's the .exe installer maybe your antivirus is mistreating it because it doesn't have a certificate. It could be scanning the files when they change and locking them while doing so. The Windows Store app has a certificate, so if you use that then it must be something else.
Another thing that might help, can you share your
metadata.jsonfile?@pcuci commented on GitHub (Sep 8, 2024):
Initially, I installed via the windows store, then via the link you shared.
Hm, which one is which?
What to investigate re: antivirus?
@pcuci commented on GitHub (Sep 8, 2024):
Uninstalled both, just to make sure nothing else is running, then installed only the latest fix you shared.
Same problems.
Perhaps for you to reproduce, I'm noticing that if I switch between months quickly (I have 3 or 4 at a time in the Budget view), it crashes quite reliably.
But you gotta be fast, clicking wildly :-)
@MikesGlitch commented on GitHub (Sep 8, 2024):
"Actual Budget" is the store app, "Actual 24.9.0" is the exe instlled app. You can uninstall the "Actual 24.9.0" now that we know that hasn't fixed it.
I've tried going mad with clicks and I can't break it 🙃
The next time it locks, can you try the steps here - it might help us figure out if it's another program causing it: https://www.thewindowsclub.com/how-to-tell-which-process-is-locking-a-file
If you have Microsoft Powertools installed there's a utility called "File Locksmith" that's a bit easier to use and could also identify the lock.
To make sure it's not antivirus you could try turning it completely off, including "realtime protection" and then see if you can replicate. We're fishing at this point - I'm running out of ideas.
Oh, could you also try running as "Administrator" - if another app is locking the file running as admin might give Actual precedence.
@pcuci commented on GitHub (Sep 9, 2024):
This confirms Actual is hijacking itself :-)
Following your lead, and a few pages of gpt-4o later, I used Process Monitor to observe the catch-22 race condition—most other tools I tried only search for active locks.
I believe a simple retry on a file system error trying to recreate this file might solve the issue?
@pcuci commented on GitHub (Sep 9, 2024):
Maybe here? Sorry, I'm new to Electron, don't know exactly how I could debug this locally.
95ed7aaf27/packages/loot-core/src/server/cloud-storage.ts (L225)@MikesGlitch commented on GitHub (Sep 9, 2024):
That code only runs when you import a budget for this first time, and the file should never be deleted/modified by anything outside of Actual.
That screenshot you posted shows MsSense.exe using the file - you can see where it creates the OPLOCK and then releases it after Actual trips up. MsSense is a part of Defender for Endpoint (enterprise MS Defender).
If you're up for debugging you just need to clone the code, install deps and run
yarn start:desktop. That should run the desktop app.I'm tempted to do nothing here, we're about to move the metadata.json file into the DB so the problem will disappear on its own. I'm guessing this only affects computers with that kind of security software installed.
Did you try running as admin? That might help you work around the issue until metadata.json is moved to the DB.
@pcuci commented on GitHub (Sep 9, 2024):
Crash persists
This might be related? https://github.com/actualbudget/actual/pull/3398
Ah, that'll probably do it :-), happy to wait for this refactor. Can't find an associated issue, do you have a link I could monitor?
Cheers!
@MikesGlitch commented on GitHub (Sep 9, 2024):
I don't think there is one but there's been work happening towards that end within the last few days - the PR's named "(synced-prefs)". I'll update this issue when It's done - hopefully by next release.
For further reading - it looks like we're not the only ones affected by this issue - there's some other suggestions too: https://techcommunity.microsoft.com/t5/microsoft-defender-for-endpoint/is-there-any-way-avoiding-files-locking-by-defender-for-endpoint/m-p/3937819
@MikesGlitch commented on GitHub (Sep 9, 2024):
I found out that we're not going to remove the metadata.json file entirely, so I've mitigated the issue with retries.
If you want to test it, you can get the download here: https://github.com/actualbudget/actual/actions/runs/10780875572/artifacts/1911159741
Otherwise it should be available in the next release. I've tested it myself by locking the file manually - should work a treat.
In future we'll need to think about debouncing the calls to the file system, but for now this should fix it.