-
Notifications
You must be signed in to change notification settings - Fork 15
v2 of the Azure Stack #6
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
Conversation
I'm learning remix (and Azure) and trying out your v2 template. Thanks for creating this! In the .devcontainer/docker-compose.yaml there is a default password:
For me (on Windows/WSL2), if I Removing the quotes from the pg password ('$AzureR0cks!') fixed the issue for me. |
I haven't had problems with wsl2 (it's my primary Dev environment, but I haven't tried connecting from an external DB tool (I just is vscode). I'll double check the yaml encoding |
When I try to run the v2 container on Windows 10 with the latest VS Code, the container fails at some point in the process of building this container with the relevant error output below as well as the entire log file. I have only run into this issue on Windows. On MacOS I am able to build the container, but there is only text showing up when I open the app in the browser that says "Upgrade Required" after executing "npm run dev". I have not tried Linux yet.
|
It looks like a line endings problem @mex20 - the shell scripts that are run are being converted to CRLF and that causes problems when Docker executes them in Linux. I'll add a gitattributes to hopefully fix that. For MacOS, are you on a M1 or M2 chipset? |
Thanks for the quick issue identification @aaronpowell! I was having a tough time figuring out why the 'CURRENT_USER in....; do" code was leaking into the arguments. For the 'Upgrade Required" issue on MacOS, I was not running it on an M1 or M2 chipset Mac. I was running it on an Intel Mac, Model A1707. When I attempt to run on an M1 chipset Mac, I get an Unhandled 'install-azd' error. seen below. I am also attaching the full log for you. Error
|
Is the "Upgrade Required" error in the browser? I don't have a MacOS device so I'm not able to test that scenario myself. For the M1 issue, that's reported here: Azure/azure-dev#952 I'll follow their guidance to rectify. |
Yes the "Upgrade Required" error happens in the browser. I can provide assistance with testing on MacOS on this. What would be helpful for me to test/gather for you on the Intel MacOS device? Also thank you very much for the link to the issue with a short term workaround! It appears to be working on my M1 Mac with the "--platform=amd64" precluding the FROM image in the Dockerfile. I am seeing the "Upgrade Required" issue on the M1 Mac as well. I am still digging into it, and will report back when I have some more concrete details that will help. |
After some digging around, I was able to find out some more information about this MacOS "Require Upgrade issue. The "Upgrade Required" page does not seem to be coming from the Remix stack as I am not seeing any incoming requests from the browser in the dev container console. I can see the Remix stack receiving a request from the browser when I go to I have figured out what my several issues were caused by and I am now fully able to run the azure-remix-stack example app! I had corrupted my clone from running Thank you so much for your quick responses @aaronpowell! Here are the steps I took to get to this issue:
Workarounds: Dev container serving port 8002 on MacOS when clicking "Open in Browser" button in VS Code
|
I have been trying to deploy v2 using the It also looks like this is kind of a known issue in the devcontainers/features repo: devcontainers/features#177 |
@mex20 what's the version output by |
|
Can you try the
That should avoid the browser being launched, instead give you a URL to follow and the auth code to give the login screen. |
Thanks @aaronpowell that was the trick to getting |
I've been meaning to merge this for a while, figured it's about time! |
Major overhaul of the Azure Stack: