NullReferenceException at uMod.Agent.Configuration.PackageInfo.InstallFixed
Object reference not set to an instance of an object. (uMod.Agent)
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at uMod.Agent.Configuration.PackageInfo.Install(Boolean developBranch, PackageLockInfo& packageLock, String destinationDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /builds/umod/tools/agent/src/uMod.Agent/Configuration/Manifest.cs:line 493
   at uMod.Agent.Configuration.PackageInfo.Install(Boolean developBranch, PackageLockInfo& packageLock, String destinationDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /builds/umod/tools/agent/src/uMod.Agent/Configuration/Manifest.cs:line 493
   at uMod.Agent.Utility.PackageManager.UpdateOrInstall(Boolean developBranch, IEnumerable`1 packages, String destinationDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /builds/umod/tools/agent/src/uMod.Agent/Utility/PackageManager.cs:line 513
   at uMod.Agent.Utility.PackageManager.UpdateOrInstall(Boolean developBranch, IEnumerable`1 packages, String destinationDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /builds/umod/tools/agent/src/uMod.Agent/Utility/PackageManager.cs:line 513
   at uMod.Agent.Commands.Apps.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Apps.cs:line 99
   at uMod.Agent.Commands.Apps.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Apps.cs:line 99
   at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 279
   at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 279
   at uMod.Agent.Commands.Install.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Install.cs:line 963
   at uMod.Agent.Commands.Install.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Install.cs:line 963
   at uMod.Agent.Commands.Update.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Update.cs:line 194
   at uMod.Agent.Commands.Update.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Update.cs:line 194
   at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 279
   at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 279
   at uMod.Agent.Service.HandleCommand(Command command) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 215
   at uMod.Agent.Service.HandleCommand(Command command) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 215
   at uMod.Agent.Service.HandleCommand(IEnumerable`1 args) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 277
   at uMod.Agent.Service.HandleCommand(IEnumerable`1 args) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 277
   at uMod.Program.Main(String[] args) in /builds/umod/tools/agent/src/uMod/Program.cs:line 72
   at uMod.Program.Main(String[] args) in /builds/umod/tools/agent/src/uMod/Program.cs:line 72​

Version: 1.2.303-develop

Can confirm same issue!

By the way, now ive been using this for a while and i understand this is in heavy dev, but Oxide is way more flexiable than this.
Latest update forced Nuget Package Manager, Imagine having to do this on 50-100 Dedicated servers.
Oxide is a single download.

Umod updated to the latest version and now not updating valheim.
Not via "umod update -P" and not even with "umod update -P --force"
Always starts the old version of the game server and not the new one.

I'm not even able to update at this point in time.
I receive following exception every time I try to install or update the valheim server:

Object reference not set to an instance of an object. (uMod.Agent)
   at uMod.Agent.Configuration.PackageInfo.Install(Boolean developBranch, PackageLockInfo& packageLock, String destinationDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /builds/umod/tools/agent/src/uMod.Agent/Configuration/Manifest.cs:line 493
   at uMod.Agent.Utility.PackageManager.UpdateOrInstall(Boolean developBranch, IEnumerable`1 packages, String destinationDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /builds/umod/tools/agent/src/uMod.Agent/Utility/PackageManager.cs:line 513
   at uMod.Agent.Commands.Apps.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Apps.cs:line 99
   at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 279
   at uMod.Agent.Commands.Install.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Install.cs:line 963
   at uMod.Agent.Commands.Update.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Update.cs:line 194
   at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 279
   at uMod.Agent.Service.HandleCommand(Command command) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 215
   at uMod.Agent.Service.HandleCommand(IEnumerable`1 args) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 277
   at uMod.Program.Main(String[] args) in /builds/umod/tools/agent/src/uMod/Program.cs:line 72

yeah, umod it is completely not stable at all.
I'm having problems all the time there is a new update.
I'll start using LGSM again, it works like a charm with no bugs or problems.

RustyRoot

yeah, umod it is completely not stable at all.
I'm having problems all the time there is a new update.
I'll start using LGSM again, it works like a charm with no bugs or problems.

uMod is pre-release, and we've noted that it may not be "stable" during this process.

In addition, Valheim is also early access, so Your mileage may vary.

how do I update the umod agent?

Using umod update -APf gives a lot of errors

Object reference not set to an instance of an object. (uMod.Agent)
at uMod.Agent.Configuration.PackageInfo.Install(Boolean developBranch, PackageLockInfo& packageLock, String destinati
onDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /b
uilds/umod/tools/agent/src/uMod.Agent/Configuration/Manifest.cs:line 493
at uMod.Agent.Utility.PackageManager.UpdateOrInstall(Boolean developBranch, IEnumerable`1 packages, String destinatio
nDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /bu
ilds/umod/tools/agent/src/uMod.Agent/Utility/PackageManager.cs:line 411
at uMod.Agent.Commands.Apps.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Apps.cs:line 99
at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 279
at uMod.Agent.Commands.Install.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Install.cs:line 344
at uMod.Agent.Commands.Update.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Update.cs:line 194
at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 279
at uMod.Agent.Service.HandleCommand(Command command) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 215
at uMod.Agent.Service.HandleCommand(IEnumerable`1 args) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 27
7
at uMod.Program.Main(String[] args) in /builds/umod/tools/agent/src/uMod/Program.cs:line 72
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at uMod.Agent.Configuration.PackageInfo.Install(Boolean developBranch, PackageLockInfo& packageLock, String destinati
onDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /b
uilds/umod/tools/agent/src/uMod.Agent/Configuration/Manifest.cs:line 493
at uMod.Agent.Utility.PackageManager.UpdateOrInstall(Boolean developBranch, IEnumerable`1 packages, String destinatio
nDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /bu
ilds/umod/tools/agent/src/uMod.Agent/Utility/PackageManager.cs:line 411
at uMod.Agent.Commands.Apps.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Apps.cs:line 99
at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 279
at uMod.Agent.Commands.Install.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Install.cs:line 344
at uMod.Agent.Commands.Update.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Update.cs:line 194
at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 279
at uMod.Agent.Service.HandleCommand(Command command) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 215
at uMod.Agent.Service.HandleCommand(IEnumerable`1 args) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 27
7
at uMod.Program.Main(String[] args) in /builds/umod/tools/agent/src/uMod/Program.cs:line 72
00hVKvYoVuGkTbX.jpg Wulf
uMod is pre-release, and we've noted that it may not be "stable" during this process.

yeah, i know.
thats why currently it is not safe at all using umod.
The best way is using LGSM that offers all the features users need and not bugs everytime there is an update.
When umod finally is stable, LGSM will add it to their functions and we can finally be happy xD

RustyRoot

yeah, i know.
thats why currently it is not safe at all using umod.
The best way is using LGSM that offers all the features users need and not bugs everytime there is an update.
When umod finally is stable, LGSM will add it to their functions and we can finally be happy xD

And that's entirely up to you, we don't require the agent for game install.

Done.
When you finally solve the problems, let us know.

Any news on resolving this?

ekCVeTvOLHiFkfJ.jpg markmozza

Any news on resolving this?

The error doesn't appear to affect the usage of the agent, but Calytic is looking into the errors.

That I am.

ALo0JJeEZ8zNr2T.jpg Wulf
The error doesn't appear to affect the usage of the agent, but Calytic is looking into the errors.

Not so sure about that, my server won't run at all, just an instant crash. Even after a fresh install, the version number it gives me is Valhiem (0.0.0) .

Update

Valheim server up to date (6315977). Use --force to update from the depot anyway
Valheim already up to date (0.0.0)


Another Update:
Only get that error when using --force. But I've tried since and on fresh server and the above happens without --force, instant crash same way.

The NRE when installing the standalone database app in PackageInfo.Install should be fixed on Windows.

Locked automatically