宝塔1024及双11特惠活动,企业版1099元/年,送SSL证书,最高立减2万元!查看活动
当前位置:论坛首页 > Linux面板 > 求助

bt9.2forlinux中net程序的试用,重新启动后,就无法启动了

发表在 Linux面板3 天前 [复制链接] 0 37

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:9.2

系统版本:Debian12.7

问题描述:首次创建正常运行,启动后,就再也启动不起来了

相关截图(日志、错误):
正在生成...
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: “WarnForInvalidProjectsTask”任务意外失败。 [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: System.InvalidOperationException: 未设置必需的环境变量“HOME”。请尝试设置“DOTNET_CLI_HOME”或“HOME”并再次运行该操作 [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.NuGetEnvironment.GetValueOrThrowMissingEnvVarsDotnet(Func`1 getValue, String home, String dotnetHome) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.NuGetEnvironment.GetHome() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.NuGetEnvironment.<>c.<.cctor>b__20_0() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.CreateValue() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.NuGetEnvironment.GetFolderPath(SpecialFolder folder) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.NuGetEnvironment.GetFolderPath(NuGetFolderPath folder) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.PathUtility.CheckIfFileSystemIsCaseInsensitive() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.CreateValue() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.PathUtility.get_IsFileSystemCaseInsensitive() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.PathUtility.GetStringComparerBasedOnOS() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Build.Tasks.WarnForInvalidProjectsTask.Execute() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]

生成失败。请修复生成错误并重新运行。

我昨天晚上开始在本地测试,不管,有重装系统,又做了一遍,第一遍正常,只要重启系统,net项目的网站就再也启动不起来了。程序C#自己写的,暂时没有尝试过其他程序是否也是这样。我在创建的时候,选择了随机启动。
使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表