Closed goliafrs closed 1 year ago
I am getting this error trying to bring up the server using docker. I am using latest image strangeloopgames/eco-game-server:latest. I don't use mods.
strangeloopgames/eco-game-server:latest
OS Ubuntu 22.04.2 LTS on headless machine.
docker-compose.yml
version: "3.9" services: eco: image: strangeloopgames/eco-game-server:latest container_name: eco restart: unless-stopped ports: - 3000:3000/udp - 3001:3001/tcp volumes: - $HOME/games/eco/Storage:/app/Storage - $HOME/games/eco/Configs:/app/Configs
Logs with error:
eco | [02:03:35] ]Anonymous app login.[ eco | [02:03:36] Eco Server 0.9.7.9 beta release-451 eco | [02:03:36] Starting PerformancePlugin ... eco | [02:03:36] Starting PerformancePlugin ... Finished in 0.021 sec eco | [02:03:36] Starting ProfilingPlugin ... eco | [02:03:36] Starting ProfilingPlugin ... Finished in 0.000 sec eco | [02:03:36] Starting MaintenancePlugin ... eco | [02:03:36] Starting MaintenancePlugin ... Finished in 0.038 sec eco | [02:03:36] Server Initialization ... eco | [02:03:36] Starting FeaturesPlugin ... eco | [02:03:36] Starting FeaturesPlugin ... Finished in 0.012 sec eco | [02:03:36] Starting BalancePlugin ... eco | [02:03:36] Starting BalancePlugin ... Finished in 0.013 sec eco | [02:03:36] Starting NetworkManager ... eco | [02:03:36] Starting NetworkManager ... Finished in 0.072 sec eco | [02:03:36] Starting DifficultySettings ... eco | [02:03:36] Starting DifficultySettings ... Finished in 0.032 sec eco | [02:03:36] Starting ModKitPlugin ... eco | [02:03:37] Starting ModKitPlugin ... Finished in 1.188 sec eco | [02:03:37] Server Initialization ... Finished in 1.327 sec eco | [02:03:37] Failed to start the server. Exception was Exception: WeavingException eco | Message:Can't resolve reference to assembly Eco.Core for Eco.Core.PropertyHandling.INotifyPropertyChangedInvoker, Eco.Core eco | Source:StrangeLoopGames.PropertyChanged.Fody eco | eco | Fody.WeavingException: Can't resolve reference to assembly Eco.Core for Eco.Core.PropertyHandling.INotifyPropertyChangedInvoker, Eco.Core eco | at CecilUtils.MakeTypeReference(String assemblyQualifiedName, ModuleDefinition module) in C:\slg\PropertyChanged\PropertyChanged.Fody\CecilUtils.cs:line 26 eco | at ModuleWeaver.get_PropertyChangedInvoker() in C:\slg\PropertyChanged\PropertyChanged.Fody\Config\AddPropertyChangedInvokerConfig.cs:line 38 eco | at ModuleWeaver.ProcessPropertyChangedInvoker() in C:\slg\PropertyChanged\PropertyChanged.Fody\PropertyChangedInvokerProcessing.cs:line 20 eco | at ModuleWeaver.Execute() in C:\slg\PropertyChanged\PropertyChanged.Fody\ModuleWeaver.cs:line 24 eco | at Eco.ModKit.Internal.Weaving.RuntimeWeaver.ExecuteWeavers(XElement xWeavers) eco | at Eco.ModKit.Internal.Weaving.RuntimeWeaver.Weave(Stream assemblyStream, Stream symbolsStream, String configPath) eco | at Eco.ModKit.RoslynCompiler.Weave(Stream assemblyStream, Stream symbolsStream) eco | at Eco.ModKit.RoslynCompiler.Compile(AssemblyLoadContext assemblyContext) eco | at Eco.ModKit.RoslynCompiler..ctor(AssemblyLoadContext assemblyContext, String modsDirectory, String modsAssemblyPath) eco | at Eco.ModKit.RoslynCompiler..ctor(String modsDirectory, String modsAssemblyPath) eco | at Eco.ModKit.ModKitPlugin..ctor() eco | at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) eco | Outer Exceptions: eco | Exception has been thrown by the target of an invocation. eco | [02:03:37] Shutdown finished eco | [02:03:37] Errors report: eco | Failed to start the server. Exception was Exception: WeavingException eco | Message:Can't resolve reference to assembly Eco.Core for Eco.Core.PropertyHandling.INotifyPropertyChangedInvoker, Eco.Core eco | Source:StrangeLoopGames.PropertyChanged.Fody eco | eco | Fody.WeavingException: Can't resolve reference to assembly Eco.Core for Eco.Core.PropertyHandling.INotifyPropertyChangedInvoker, Eco.Core eco | at CecilUtils.MakeTypeReference(String assemblyQualifiedName, ModuleDefinition module) in C:\slg\PropertyChanged\PropertyChanged.Fody\CecilUtils.cs:line 26 eco | at ModuleWeaver.get_PropertyChangedInvoker() in C:\slg\PropertyChanged\PropertyChanged.Fody\Config\AddPropertyChangedInvokerConfig.cs:line 38 eco | at ModuleWeaver.ProcessPropertyChangedInvoker() in C:\slg\PropertyChanged\PropertyChanged.Fody\PropertyChangedInvokerProcessing.cs:line 20 eco | at ModuleWeaver.Execute() in C:\slg\PropertyChanged\PropertyChanged.Fody\ModuleWeaver.cs:line 24 eco | at Eco.ModKit.Internal.Weaving.RuntimeWeaver.ExecuteWeavers(XElement xWeavers) eco | at Eco.ModKit.Internal.Weaving.RuntimeWeaver.Weave(Stream assemblyStream, Stream symbolsStream, String configPath) eco | at Eco.ModKit.RoslynCompiler.Weave(Stream assemblyStream, Stream symbolsStream) eco | at Eco.ModKit.RoslynCompiler.Compile(AssemblyLoadContext assemblyContext) eco | at Eco.ModKit.RoslynCompiler..ctor(AssemblyLoadContext assemblyContext, String modsDirectory, String modsAssemblyPath) eco | at Eco.ModKit.RoslynCompiler..ctor(String modsDirectory, String modsAssemblyPath) eco | at Eco.ModKit.ModKitPlugin..ctor() eco | at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) eco | Outer Exceptions: eco | Exception has been thrown by the target of an invocation.: 1 eco exited with code 232
The issue was resolved in 0.9.7.10 beta release-474.
I am getting this error trying to bring up the server using docker. I am using latest image
strangeloopgames/eco-game-server:latest
. I don't use mods.OS Ubuntu 22.04.2 LTS on headless machine.
docker-compose.yml
Logs with error: