mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-05 22:52:20 -05:00
Closed
opened 2026-04-10 18:32:09 -05:00 by GiteaMirror
·
20 comments
No Branch/Tag Specified
master
claude/hide-default-categories-1cwBZ
matiss/crdt-source-loading
youngcw/unlock-duplicates
matiss/crdt-protobuf
release/26.5.0
claude/update-issue-template-ykMNn
claude/fix-issue-7667-DPXi3
cursor/formula-feedback-improvements-4223
cursor/resolve-pr-7449-ee11
claude/fix-typescript-build-error-JPtZ5
jfdoming/api-tokens-part-3
jfdoming/api-tokens-part-2
jfdoming/api-tokens-part-1
claude/speed-up-vrt-workflow-ZAyI5
claude/crdt-version-auto-publish-Ph1BH
copilot/add-repository-configs-to-packages
worktree-compressed-drifting-ritchie
worktree-mellow-strolling-dawn
matiss/browser-api
claude/api-consumer-verification-kfz1K
feature/enable-banking
cursor/transaction-table-rewrite-f077
pr-7454
claude/fix-issue-7410-LLLQ4
release/v100.0.0
revert-7350-trim-deps
revert-7220-sankey-report
revert-7242-fix/split-parent-update-corruption
revert-7281-generate-icons
claude/electron-to-tauri-migration-LjBN8
worktree-remotion
release/vv26.4.0-pre
claude/browser-compatible-api-QbhHh
claude/improve-cli-transactions-waTUY
claude/publish-react-native-ios-j8qoT
js-proxy
claude/fix-flaky-ci-job-5gDdz
react-query-rules
react-query-useSchedules
claude/nightly-theme-validation-scan-DzOGD
claude/debug-simplefin-error-ZuKzB
matiss/desktop-client-subpath-imports
claude/fix-simplefin-ssrf-T31gX
claude/release-notes-validation-X7rvR
add-claude-github-actions-1772738270730
cursor/sync-performance-notification-9899
react-query-prefs
matiss/chunked-sync-and-progress-ux
v26.2.1
copilot/sub-pr-6880
fix-react-query-clear-on-close-budget
copilot/sub-pr-6140
feat/auto-note
feat/scoped-bank-sync
cursor/desktop-transactions-react-table-1d0c
fix-exhaustive-deps-App
copilot/fix-find-replace-bug
release/v26.2.0-pre
matiss/browser-tests
mobile-fix-drag-and-drop-across-groups
budget-table-v2
PayeeAutocomplete2
pglite
bugfix/plugins/fix-plugins-sw
feat/plugins/plugins-core-package
prerelease
matiss/unicode-minus-fix
cursor/fix-actual-github-issue-6206-gemini-3-pro-preview-9c37
TransactionFormPage
cursor/implement-mortgage-and-loan-account-type-78ca
tests-update-fill-with-pressSequentially
mobile/link-modal
deps/25.11
cursor/fix-update-vrt-apply-ci-job-dispatch-b324
sync-server-plugins
cursor/propose-patch-for-github-issue-5680-2a18
fix/compiler-preserve-inner-dollar-escapes
cursor/analyze-actual-budget-issue-and-propose-fix-5b70
coderabbitai/docstrings/0c070e5
cursor/add-wip-prefix-and-comment-to-prs-d78d
jfdoming/08-21-auto-focus-on-navigate-in-all-browsers
show-totals-on-mobile-budget-banners
allow-child-transactions-make-transfer
mobile-calculator-keyboard
payee-geolocation
enhance/restore_scroll_position
dm-fix-second-click-on-mobile-new-transaction-2
scrollToLocationBudget
alert-autofix-38
tsconfig-composite
mobile-fix-uncategorized-transactions-on-tracking-budgets
server-budget-handlers
fix-sql-injection-in-cleanup-template
non-chrome-draggable-workaround
mobile-budget-page-swipe-navigation
ts-db-all
stable
dark-theme-with-brand-colors
fix-mobile-delete-group
ts-db-select
UnderKoen/reconcile-context-menu
master-before-server-merge
v25.2.1
ts-runQuery
rename-redux-hooks
UnderKoen/3557-persist-state-in-history
remove-redux-CLOSE_BUDGET
fix-exhaustive-deps-errors-FinancesApp
redux-toolkit-createSlice-backup
accounts-function-component
ts-useSplitsExpanded
loot-core-server-package
useTransactios-in-TransactionEdit
react-aria-input
move-redux-to-desktop-client
QueryState-type
fix-themes-applied-late
mobile-vrts
revert-3295-spendingCardFix
react-aria-button-4
split-payee-on-mobile
twk3/pin-apis-crdt
notes-tag-autocomplete
ts-LoadBackup
dnd-kit
package-upgrades
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
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#8337
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.