-
Notifications
You must be signed in to change notification settings - Fork 111
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
localDevEnv.ps1: Error when running: ALTER DATABASE [CRONUS] SET ONLINE #103
Comments
Does the working script also work if you remove -multitenant:$false? |
Yes. |
Could you share the output from running the second script (the working one) for me to compare? |
|
Thanks - will investigate and get back |
The big difference here is that the working one is using hyperv isolation and then share the output? |
|
Great, thank - and once more (added some debug info) |
|
Getting closer - could you add another override: -myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1", I guess this is what they call remote debugging... |
Those 10 retries take a long time.
|
Removed the 10 retries and removed the attempt to determine collation. (Thanks a million for the help) |
|
Could you try to add this as well "https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/navinstall.ps1" |
|
OK, so I removed the collation thingy - but now it crashes on restore DB |
I don't think that took 5 minutes.
|
Could you remove navinstall and setupdatabase from the myscripts and add "https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/start.ps1" instead? |
I found these four errors in the event logs (of the host).
Do you try to use my entered authentication? Because the password I supply to New-BcContainer differs from my user account's. |
I create a user inside the container - but it doesn't get to that. |
Still running that one. The entries were created on the previous try (also the ones before that). Notice how the container-id matches to the script output. |
Apparently stuck at this step.
|
Could you try to re-add navinstall to myscripts |
Stuck again.
|
Looks like it crashed during reportbuilder copy - i removed that now |
|
Then we are back at database collation failing. |
Yeah, sure. |
If you could retry with this parameters, I should know whether it is possible to fix this.
|
If you run the script as administrator - will it then complete successfully? |
Running as admin doesn't produce an error. The web client is still not available. I used a new incognito browser window, so there shouldn't be any cookies saved. A simple curl to http://runtest4/BC also times out.
|
I can see that all the failing samples were also running as non administrator - just to make sure that running as administrator doesn't actually fix everything - could you try to remove the myscripts totally and re-run as admin (but still without hyperv) |
|
Thanks - will try to collect all the learnings and get back |
Could you remove the -myscripts and use this instead: -useGenericImage "$(Get-BestGenericImageName)-dev" and then use a new name (not used before for the container) - like testforfk :-) Thanks |
New error message. Webserver is not available, publishing apps works.
|
As admin: there is no error message in the console, but I can still see that error in the event log. The container behaves the same. |
can you download http://runtest6:8080/ALLanguage.vsix from the container? |
No, timed out. |
and with -isolation hyperv - webclient works and download as well? |
Yes, both.
|
@achim-t - can we maybe setup a Teams call to investigate the WebClient issue. If possible, please email me at freddyk at microsoft dot com and give me a few suggested timeslots (30 min should be enough) I can pick between to do some investigations, thanks (excluding thursday and friday this week as I am OOF) |
I sent an email from my work account. |
Facing the same issue with localDevEnv.ps1
|
@rafastrozyk - if you modify the .github\AL-Go-Settings.json and add a property called:
then you should be able to retry and succeed. |
Thanks, a step forward. Yet another error:
|
Ok, I was expecting the latest preview containerhelper to use the preview generic image - that didn't happen. |
If you add this property to the .github\AL-Go-Settings.json
then it should select the preview. in 1-2 weeks from now - you can remove these two properties again as things will be out of preview. Sorry for the inconvenience. |
It worked, thanks a lot! |
I have another partner with the same problem, where the web client isn't accessible. |
Shipped in v1.5 (and ContainerHelper 3.0.10) |
@achim-t - thanks for all the help on this |
My pleasure. I can confirm it is working now. |
'Collect changes from freddydk/*@main'
Scenario 1, Step 10
F5 in VS Code:
I can create other BC containers, this script works fine:
The text was updated successfully, but these errors were encountered: