Closed Nuklon closed 1 year ago
Hi there @Nuklon!
Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.
We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.
Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:
Heyo π I might be misunderstanding something here, but I'm unsure what the issue is. We cannot connect to a non-running database. π Could you give me some exact steps to what you're doing here, and what you expect to happen? π
Iirc Umbraco used to wait until it was available? Now it just crashes on startup. I'd like Umbraco to wait.
Wait how? I'm still not sure what the issue is here π How would you test this?
Wait how? I'm still not sure what the issue is here π How would you test this?
The issue is that Umbraco crashes on startup. Just check if the connection works? If it doesn't, try again for a couple of minutes or something?
Ah okay, so if I'm understanding correctly here, the scenario you would like to work is the following:
It's more like this:
So now I have to restart Umbraco. Instead, it could check if the connection works. If it doesn't, wait until it becomes available. I'm pretty sure it used to work like that before, but perhaps I'm misremembering.
Thanks for the clarification, I will need to investigate if this ever worked, and then take it up with the team on how to go about this π As it is potato holiday in Denmarkπ₯ there will be a little wait time π
Coming back, it seems like you could set the connect timeout in your connection string, for example Connect Timeout=300
, hope that helps π€
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
12.2
Bug summary
I don't know when this started, but it at least happens in 12.2. Umbraco doesn't wait for MSSQL to start: The process was terminated due to an unhandled exception.
Specifics
No response
Steps to reproduce
Start Umbraco while not having MSSQL running
Expected result / actual result
Crash