Renovate fails with dotnet new error #36926
Replies: 3 comments
-
|
Hi there, The logs you provided are insufficient to help you. Please provide more logs, or more detailed logs, so we can help you. Be sure to include DEBUG logs, and don't excessively redact or truncate them. If you feel the logs are too large to paste here, please use a service like GitHub Gist and paste the link here. Read the Renovate docs, Troubleshooting to learn more about getting the correct logs. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
|
This might be funny: But where and how can I replicate this? |
Beta Was this translation helpful? Give feedback.
-
|
Hi there, Please help this Discussion progress by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running Renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
Gitlab
Please tell us more about your question or problem
Renovate PR fail with dotnet new not found - see the logs.
Our config:
Logs (if relevant)
[12:27:02.401] INFO (263): Installing tool dotnet@9.0.302...
[12:27:08.207] ERROR (263): Command failed with exit code 145: /opt/containerbase/tools/dotnet/dotnet new
The command could not be loaded, possibly because:
The application 'new' does not exist.
A compatible .NET SDK was not found.
Requested SDK version: 8.0.0
global.json file: /builds/*/pipeline/renovate/repos/gitlab//backend/global.json
Installed SDKs:
Install the [8.0.0] .NET SDK or update [/builds/backend/global.json] to match an installed SDK.
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
9.0.302 [/opt/containerbase/tools/dotnet/sdk]
[12:27:08.208] FATAL (263): Install tool dotnet failed in 5.8s.
Beta Was this translation helpful? Give feedback.
All reactions