-
Notifications
You must be signed in to change notification settings - Fork 273
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
Running garden self-update on Windows 10 leaves garden non-functional #2614
Comments
Hi @ITHedgeHog—thanks for reporting this! We'll have a look and post an update here once the fix is ready. |
Just adding, same behaviour on Windows 11. |
Hi, same issue here, after installing garden from scratch in Windows 10. |
We encountered this with a fresh install today, on both Windows 10 and Windows 11. Non-functional garden due to the above error. Closed the terminal, reopened and reinstalled and it then worked. |
Reopening and reinstalling didn't work for me. Running as admin did work though. So it looks like:
Attaching relevant parts of my error.log:
So at this moment it is impossible for me to run garden in my windows desktop (running as admin obviously causes other problems). Thanks! |
@mcanaleta could you try the latest edge release, please? This issue should be fixed in #2905. We haven't released that change yet, it will be released in |
I've just tried that @vvagaytsev I get the following: Verbose logging output shows this: |
Hi, I had to do multiple tests because I'm getting different errors, and it all depends on how you install, how you upgrade, and status and permissions of the .garden folders. So what I figured out:
So it looks like it is a bug in the install/upgrade code. Thanks! |
@ITHedgeHog we fixed some Windows compatibility issues in 0.12.42, could try it, please? @mcanaleta 0.12.42 also contains some fixes to consider all Garden working directories as safe Git repos. Please try it out. |
@vvagaytsev Still no joy I'm afraid on self update |
I've had to reinstall via the script again |
@ITHedgeHog ok, I see. Git has had more strict repo ownership control since 2.36.0. This can cause errors like this: We addressed that issue by checking the git status of each working directory where git commands are executed. If there is an error like Can you the Could you share the safe directories output and the Garden logs, please? There might be something wrong with access to the |
Just re install it from the start and it will start working. |
Enough users are affected by this to justify high priority |
This issue might be fixed once #4047 has been merged. |
@stefreak just spoke with @ITHedgeHog this morning and he's still running into this issue. I'll jump into Core Weekly planning on Monday to continue discussion |
We should strongly consider working around this if #4047 cannot be merged quickly. this one is super important for all windows users. |
Bug
Current Behavior
If I issue the command garden self-update in an administrative or user session of PowerShell, I end up with Garden non-functional until I reinstall via the PowerShell script
Expected behavior
I expect to be able to issue a command such as garden deploy without failure
Reproducible example
error.log
Workaround
Suggested solution(s)
Additional context
Your environment
garden version
The text was updated successfully, but these errors were encountered: