mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 19:52:56 -05:00
[Bug]: Stuck on "Initializing the connection to the local database..." Fresh Docker install #1155
Closed
opened 2026-02-28 19:33:57 -06:00 by GiteaMirror
·
33 comments
No Branch/Tag Specified
master
claude/fix-simplefin-batch-sync-O8LcD
matiss/modal-and-server-refactor
claude/fix-simplefin-ssrf-T31gX
claude/release-notes-validation-X7rvR
ai/custom-theme-dual-prefs
matiss/fix-6804
add-claude-github-actions-1772738270730
react-query-rules
react-query-useSchedules
matiss/separate-lint-format
dependabot/npm_and_yarn/ajv-6.14.0
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.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
No Label
bug
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#1155
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 @davemcmath on GitHub (Jun 17, 2024).
Verified issue does not already exist?
What happened?
A bug happened!
Fresh docker install with
docker run --pull=always --restart=unless-stopped -d -p 5006:5006 -v /dockerdata/actual_data/:/data --name my_actual_budget docker.io/actualbudget/actual-server:latest
with a data folder provisioned and UI fails to load and is stuck on "Initializing the connection to the local database..."
Where are you hosting Actual?
Docker
What browsers are you seeing the problem on?
Chrome, Safari
Operating System
Other
@youngcw commented on GitHub (Jun 17, 2024):
Can you test out edge.actualbudget.org? There was a change recently that may help your issue.
@davemcmath commented on GitHub (Jun 18, 2024):
I wasn't sure if you meant go to that URL, or try with the edge release version, so I did both. When I go to that URL it works fine with my browsers, Chrome and Safari.
Then tried Docker on latest edge release.
So I deleted all my data files and tried with
docker run --pull=always --restart=unless-stopped -d -p 5006:5006 -v /dockerdata/actual_data/:/data --name my_actual_budget docker.io/actualbudget/actual-server:edge
It still sits there with this.....
Ran without the -d
user@hostname:/dockerdata$ docker run --pull=always --restart=unless-stopped -p 5006:5006 -v /dockerdata/actual_data/:/data --name my_actual_budget docker.io/actualbudget/actual-server:edge
edge: Pulling from actualbudget/actual-server
Digest: sha256:5d49b87080d446be6e1f9e8fc8feffed3eb20db22f41cf1f7bfb98d6b479a598
Status: Image is up to date for actualbudget/actual-server:edge
Checking if there are any migrations to run for direction "up"...
Migrations: DONE
Listening on :::5006...
That's all I get from the logs. Is there anyway to get more verbose logs from the docker image?
@ddz99 commented on GitHub (Jun 19, 2024):
I have the same bug. It's specifically a bug with Safari. running on MacOS Sonoma 14.0.
Works fine on Opera on my machine.
@davemcmath commented on GitHub (Jun 20, 2024):
I tried with Chrome on MacOS and couldn't get it working there either.
To clarify I wasn't using HTTPS as it was on my internal network.
Now I have just reconfigured to use HTTPS and it now works fine with Chrome and Safari and jumps immediately to the set a password page.
If HTTP is meant to work out of the box I still think there is a bug somewhere here.
@newtonfav commented on GitHub (Jun 27, 2024):
I'm having same issue, stuck at "Initializing the connection to the local database..." I'm running the repo on my PC locally. should i open a new issue for this @youngcw
@youngcw commented on GitHub (Jun 27, 2024):
@newtonfav Only if your issue is different than this.
@newtonfav commented on GitHub (Jun 27, 2024):
same, just that I'm not running on docker
@youngcw commented on GitHub (Jun 27, 2024):
@davemcmath If you are on anything apple make sure you are using https, and probably a non self-signed cert. Apple browsers are really picky about certs, and Actual doesn't work properly without https.
@newtonfav commented on GitHub (Jun 28, 2024):
Is there a guide on how i can run using https instead of http on local server?
@nyakojiru commented on GitHub (Oct 7, 2024):
I'm on the same train. Can't use it on iOS with http. There should be optional parameters to be able to use Actual with http in development mode. I don't want to expose the service to the internet .
@hrv231 commented on GitHub (Oct 15, 2024):
I'm having the same problem, running on docker, behind traefik proxy, with HTTPS.
I'm using it with a purchased domain and let's encrypt certificate.
I generally use Firefox, so when I open the link that takes me to Actual, at first shows the Initializing the connection to the local database... , then I refresh the page and quickly it takes me to the enter your password.
I believe there is a bug for sure.
Edit: added more details
@tibuski commented on GitHub (Feb 12, 2025):
I wanted to give actual budget a try but I am facing the same issue on a fresh docker start ...
@Ralle001 commented on GitHub (Feb 12, 2025):
As I can see there is no changes.
Logs:
Checking if there are any migrations to run for direction "up"...Migrations: DONEListening on :::5006...Tried: Opera, Chrome, Edge
config.json:
{}Still stuck on: "Initializing the connection to the local database…"
@tibuski commented on GitHub (Feb 12, 2025):
FYI, I made it work by using https. It seems it's required.
@bo0tzz commented on GitHub (Feb 12, 2025):
I suspect this issue is caused by the uBlock extension: https://github.com/uBlockOrigin/uBlock-issues/issues/3527
@tibuski commented on GitHub (Feb 12, 2025):
Just did a test disabling ublock and in private mode but got the same issue.
@bo0tzz commented on GitHub (Feb 12, 2025):
In my case it happens if uBlock is installed at all, the disable button in the extension seems to make no difference.
@MikesGlitch commented on GitHub (Feb 13, 2025):
This should fix it: https://github.com/actualbudget/actual/pull/4375
@fdfytr commented on GitHub (Feb 15, 2025):
It does not
Same error on Firefox linux
Tried to clean cache, redownloading latest image without resolving
@youngcw commented on GitHub (Feb 15, 2025):
@fdfytr you have to test out the PR or edge build. Latest won't have the fix until the next release.
@bibberp commented on GitHub (Feb 26, 2025):
I'm still having the same problem even with the edge build
@MikesGlitch commented on GitHub (Feb 26, 2025):
Can you open devtools with F12/CTRL Shift I, and copy/paste the contents in here.
There's a chance you're cached on the old code - can you also try in incognito?
@bibberp commented on GitHub (Feb 27, 2025):
192.168.1.220/:1 The Cross-Origin-Opener-Policy header has been ignored, because the URL's origin was untrustworthy. It was defined either in the final response or a redirect. Please deliver the response using the HTTPS protocol. You can also use the 'localhost' origin instead. See https://www.w3.org/TR/powerful-features/#potentially-trustworthy-origin and https://html.spec.whatwg.org/#the-cross-origin-opener-policy-header.Understand this errorAI i18n.ts:60 Unknown locale en-US, falling back to ensame for incognito -- seems like it really wants https? I thought that it supported local http connections?
tried on MacBook with safari and win10 with chrome
@MikesGlitch commented on GitHub (Feb 27, 2025):
It does if it comes from localhost. localhost is treated as a secure context. There's some info here: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts#when_is_a_context_considered_secure
You should have seen these two messages in your console:
If you didn't it suggests you're not on the latest edge version - you may want to do another docker pull.
@bibberp commented on GitHub (Feb 27, 2025):
Thanks for your help!
So I want to make sure I understand right.. if I have it running on a separate computer in my home than what I'm accessing it on, I can't access it via http? (From my phone for example)
Just repulled the edge version, so unless something wild is happening I believe I have the most most current it could be
@MikesGlitch commented on GitHub (Feb 28, 2025):
Yeah, it's primarily for this reason: https://actualbudget.org/docs/troubleshooting/shared-array-buffer/
Browsers are smart enough to know localhost or 127.0.0.1 is a secure context but anything else needs a certificate.
@fdfytr commented on GitHub (Mar 8, 2025):
updated release via docker - same problem
linux firefox spinning
android tablet and mac has no issues
@MikesGlitch commented on GitHub (Mar 8, 2025):
Are you using the latest edge docker image? If so are you using https? And is it localhost or is it something else like 192.x.x.x?
@bo0tzz commented on GitHub (Mar 8, 2025):
On my end (running v25.3.1) this is fixed by now
@madamson747 commented on GitHub (Mar 10, 2025):
Switching to the edge version has resolved this problem for me too. I'm currently running on Ubuntu Server 24.04.2 and accessing via a Brave browser.
Previously I had tried to connect while running the latest build (Chrome, Safari and Brave) and all didn't work.
@fdfytr commented on GitHub (Mar 12, 2025):
i am using actual-server:latest with assumption bug was fixed in the latest release
192.xxx with default https on in the browser - tried to put address for exclusion didnt help
changed tag to edge and it is working
thank you
@anatoly314 commented on GitHub (Mar 26, 2025):
Trying to install actualbudjet using k3s and hit the same issue. When I use nodeport to redirect, it doesn't work. When I use portforward using kubectl or k9s it works. Now trying to setup reverse proxy as a sidecar but still unsuccessfully. Maybe someone can point to where I can see more detailed logs than in console? I have added:
but don't see nothing helpful.
P.S. forget to mention I have this issue on m1 mac both Chrome and Firefox
@dasm commented on GitHub (Mar 27, 2025):
Unfortunately, it doesn't work for me. I had this issue few times before
v25.3.1but simple refresh usually fixed it. Now, I'm stuck every time I try to open the budget.It's interesting, because the fix should be included in the
v25.3.1based on release notes for v25.3.0When I moved to
edgeit's working with no issue.