-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Stuck on "Initializing the connection to the local database..." Fresh Docker install #2893
Comments
Can you test out edge.actualbudget.org? There was a change recently that may help your issue. |
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. |
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. |
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 |
@newtonfav Only if your issue is different than this. |
same, just that I'm not running on docker |
@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. |
Is there a guide on how i can run using https instead of http on local server? |
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 . |
I'm having the same problem, running on docker, behind traefik proxy, with HTTPS. 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 |
I wanted to give actual budget a try but I am facing the same issue on a fresh docker start ... |
As I can see there is no changes. Logs: Tried: Opera, Chrome, Edge config.json: Still stuck on: "Initializing the connection to the local database…" |
FYI, I made it work by using https. It seems it's required. |
I suspect this issue is caused by the uBlock extension: uBlockOrigin/uBlock-issues#3527 |
Just did a test disabling ublock and in private mode but got the same issue. |
In my case it happens if uBlock is installed at all, the disable button in the extension seems to make no difference. |
This should fix it: #4375 |
It does not |
I'm still having the same problem even with the edge build
|
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? |
same 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 |
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. |
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 |
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. |
updated release via docker - same problem |
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? |
On my end (running v25.3.1) this is fixed by now |
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
The text was updated successfully, but these errors were encountered: