#Current Version / Beta broken?

1 messages Β· Page 1 of 1 (latest)

arctic cove
#

Updating here fails currently:

Already up to date.
Determining projects to restore...
All projects are up-to-date for restore.
/home/bonsi/SwarmUI/src/Core/Program.cs(4,7): error CS0246: The type or namespace name 'Hardware' could not be found (are you missing a using directive or an assembly reference?) [/home/bonsi/SwarmUI/src/SwarmUI.csproj]
/home/bonsi/SwarmUI/src/Utils/SystemStatusMonitor.cs(1,7): error CS0246: The type or namespace name 'Hardware' could not be found (are you missing a using directive or an assembly reference?) [/home/bonsi/SwarmUI/src/SwarmUI.csproj]
/home/bonsi/SwarmUI/src/WebAPI/AdminAPI.cs(4,7): error CS0246: The type or namespace name 'Hardware' could not be found (are you missing a using directive or an assembly reference?) [/home/bonsi/SwarmUI/src/SwarmUI.csproj]
/home/bonsi/SwarmUI/src/Utils/SystemStatusMonitor.cs(22,19): error CS0246: The type or namespace name 'HardwareInfo' could not be found (are you missing a using directive or an assembly reference?) [/home/bonsi/SwarmUI/src/SwarmUI.csproj]
Running on Ubuntu Server 24.04 LTS in a Proxmox-VM. Was running fine until today.

calm osprey
arctic cove
#

This is the output of the script, yeah.

calm osprey
#

well

#

uhm

#

wut

#

try nuking src/obj and src/bin folders then rerunning it? maybe there's a bad cache somewhere

arctic cove
#
bonsi@gpu:~/SwarmUI/src$ rm -rf bin
bonsi@gpu:~/SwarmUI/src$ cd ..
bonsi@gpu:~/SwarmUI$ ./update-linuxmac.sh 
Already up to date.
  Determining projects to restore...
/home/bonsi/.dotnet/sdk/8.0.402/NuGet.targets(174,5): error : Root element is missing. [/home/bonsi/SwarmUI/src/SwarmUI.csproj]

Build FAILED.

/home/bonsi/.dotnet/sdk/8.0.402/NuGet.targets(174,5): error : Root element is missing. [/home/bonsi/SwarmUI/src/SwarmUI.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:02.27
./update-linuxmac.sh: line 22: src/bin/last_build: No such file or directory
calm osprey
#

wh

#

that ... probably explains part of the problem

#

your dotnet install is corrupted somehow?

#

/home/bonsi/.dotnet/sdk/8.0.402/NuGet.targets that file is a core install file from dotnet and it has invalid data somehow

#

might need to delete /home/bonsi/.dotnet/ and reinstall

#

wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x dotnet-install.sh

./dotnet-install.sh --channel 8.0 --runtime aspnetcore
./dotnet-install.sh --channel 8.0
arctic cove
#

Ok, will try that πŸ™‚

#

Same error but with more text (Welcome to .NET 8.0 etc)

calm osprey
#

wh ??

#

the root element is missing one?

arctic cove
#

Yeah

calm osprey
#

oh

#

do you have a /home/bonsi/.nuget?

#

might need to nuke that

arctic cove
#

yeah

calm osprey
#

the actual corrupt file is possibly in that

arctic cove
#

huh.

remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 5 (delta 4), reused 5 (delta 4), pack-reused 0 (from 0)
Unpacking objects: 100% (5/5), 477 bytes | 159.00 KiB/s, done.
From https://github.com/mcmonkeyprojects/SwarmUI
   12e9b483..047fda1b  master     -> origin/master
Updating 12e9b483..047fda1b
Fast-forward
 src/Text2Image/T2IModel.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  Determining projects to restore...
  Restored /home/bonsi/SwarmUI/src/SwarmUI.csproj (in 4.27 sec).
  SwarmUI -> /home/bonsi/SwarmUI/src/bin/live_release/SwarmUI.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:09.46
``` That went well πŸ™‚
#

Thanks πŸ™‚

#

But i don't know how that happend..

calm osprey
#

i don't either lol

#

but glad we know the solution for if that ever hits anyone else