Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    DWC not starting after update try

    Scheduled Pinned Locked Moved
    Firmware installation
    3
    23
    899
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tinchusundefined
      Tinchus @Phaedrux
      last edited by

      @phaedrux said in DWC not starting after update try:

      sudo apt upgrade

      I just did but everything is already updated:

      sudo apt update
      Hit:1 http://archive.raspberrypi.org/debian buster InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:3 https://pkg.duet3d.com stable InRelease
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      All packages are up to date.

      Where can I see the logs on DWC to see if any error is reported and try to figure it out why is not starting? SSH connection to the raspberry is working perfectly

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        See here: https://github.com/Duet3D/DuetSoftwareFramework/wiki/SBC-Setup-Guide#failed-to-connect-to-duet-dcs-not-started

        Z-Bot CoreXY Build | Thingiverse Profile

        Tinchusundefined 1 Reply Last reply Reply Quote 0
        • Tinchusundefined
          Tinchus @Phaedrux
          last edited by

          @phaedrux that command gives me these results on ssh console:

          Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, Read Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Text.Json.Serialization.JsonConverter1.ReadCoreAsObject(Utf8JsonReader& reader, JsonSerializerOptions optio
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable1
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 json, JsonTypeInfo jsonTypeInfo) Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options) Sep 02 13:51:14 Printer DuetControlServer[30468]: at DuetAPI.ObjectModel.ModelObject.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties) in /home/chris Sep 02 13:51:14 Printer DuetControlServer[30468]: at DuetAPI.ObjectModel.ModelCollection1.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties, Int32 of
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at DuetAPI.ObjectModel.ObjectModel.InternalUpdateFromJson(String key, JsonElement jsonElement, Boolean ignoreSbcProper
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at DuetAPI.ObjectModel.ObjectModel.UpdateFromFirmwareJson(String key, JsonElement jsonElement, Int32 offset, Boolean l
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at DuetControlServer.Model.Updater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/U
          Sep 02 13:51:14 Printer DuetControlServer[30468]: [fatal] Update task faulted
          Sep 02 13:51:14 Printer DuetControlServer[30468]: System.ArgumentException: Requested value 'in' was not found.
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Enum.TryParseInt32Enum(RuntimeType enumType, ReadOnlySpan1 value, Int32 minInclusive, Int32 maxInclusive, B
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Enum.TryParse(Type enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& resul Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) Sep 02 13:51:14 Printer DuetControlServer[30468]: at DuetAPI.Utility.JsonLowerCaseStringEnumConverter.JsonLowerCaseStringEnumConverterInner1.Read(Utf8JsonReader& reade
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Text.Json.Serialization.JsonConverter1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOp Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, Read
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Text.Json.Serialization.JsonConverter1.ReadCoreAsObject(Utf8JsonReader& reader, JsonSerializerOptions optio Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable1 Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 json, JsonTypeInfo jsonTypeInfo)
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options)
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at DuetAPI.ObjectModel.ModelObject.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties) in /home/chris
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at DuetAPI.ObjectModel.ModelCollection`1.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties, Int32 of
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at DuetAPI.ObjectModel.ObjectModel.InternalUpdateFromJson(String key, JsonElement jsonElement, Boolean ignoreSbcProper
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at DuetAPI.ObjectModel.ObjectModel.UpdateFromFirmwareJson(String key, JsonElement jsonElement, Int32 offset, Boolean l
          Sep 02 13:51:14 Printer DuetControlServer[30468]: at DuetControlServer.Model.Updater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/U
          Sep 02 13:51:16 Printer DuetControlServer[30468]: [info] Application has shut down
          Sep 02 13:51:16 Printer systemd[1]: duetcontrolserver.service: Main process exited, code=exited, status=70/SOFTWARE
          Sep 02 13:51:16 Printer systemd[1]: duetcontrolserver.service: Failed with result 'exit-code'.
          Sep 02 13:51:16 Printer systemd[1]: duetcontrolserver.service: Service RestartSec=100ms expired, scheduling restart.
          Sep 02 13:51:16 Printer systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 6273.
          Sep 02 13:51:16 Printer systemd[1]: Stopped Duet Control Server.
          Sep 02 13:51:16 Printer systemd[1]: Starting Duet Control Server...
          Sep 02 13:51:18 Printer DuetControlServer[30533]: Duet Control Server v3.4.1
          Sep 02 13:51:18 Printer DuetControlServer[30533]: Written by Christian Hammacher for Duet3D
          Sep 02 13:51:18 Printer DuetControlServer[30533]: Licensed under the terms of the GNU Public License Version 3
          Sep 02 13:51:20 Printer DuetControlServer[30533]: [info] Settings loaded
          lines 963-1001/1001 (END)

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            Thanks. Will take a look at that. In the meantime, to try and get you back up and running, do you have another SD card you can use to load a fresh copy of DuetPi image? You can copy over your config files, etc to the new setup.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              Can you try sudo apt dist-upgrade ?

              Z-Bot CoreXY Build | Thingiverse Profile

              Tinchusundefined 2 Replies Last reply Reply Quote 0
              • Tinchusundefined
                Tinchus @Phaedrux
                last edited by

                @phaedrux said in DWC not starting after update try:

                sudo apt dist-upgrade

                sudo apt dist-upgrade
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                Calculating upgrade... Done
                0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

                1 Reply Last reply Reply Quote 0
                • Tinchusundefined
                  Tinchus @Phaedrux
                  last edited by

                  @phaedrux being a non expert here, the problem clearly appeared when the upgrade process upgraded these packages:

                  Get:1 http://mirror.fcix.net/raspbian/raspbian buster/main armhf tzdata all 2021a-0+deb10u6 [265 kB]
                  Get:2 http://mirror.fcix.net/raspbian/raspbian buster/main armhf curl armhf 7.64.0-4+deb10u3 [254 kB]
                  Get:3 http://mirror.fcix.net/raspbian/raspbian buster/main armhf libcurl4 armhf 7.64.0-4+deb10u3 [294 kB]
                  Get:4 http://mirror.fcix.net/raspbian/raspbian buster/main armhf libcurl3-gnutls armhf 7.64.0-4+deb10u3 [292 kB]
                  Get:5 http://mirror.fcix.net/raspbian/raspbian buster/main armhf libwebkit2gtk-4.0-37 armhf 2.36.7-1~deb10u1+rpi1 [12.1 MB]
                  Get:6 http://mirror.fcix.net/raspbian/raspbian buster/main armhf libjavascriptcoregtk-4.0-18 armhf 2.36.7-1~deb10u1+rpi1 [2,495 kB]
                  Get:7 http://mirror.fcix.net/raspbian/raspbian buster/main armhf libsnmp-base all 5.7.3+dfsg-5+deb10u3 [1,595 kB]
                  Get:8 http://mirror.fcix.net/raspbian/raspbian buster/main armhf libsnmp30 armhf 5.7.3+dfsg-5+deb10u3 [2,194 kB]

                  Is there any way to manually downgrade the version of them to the known version that works with the DWC and DCS?

                  chrishammundefined 1 Reply Last reply Reply Quote 0
                  • chrishammundefined
                    chrishamm administrators @Tinchus
                    last edited by chrishamm

                    @tinchus It looks like DSF is having problems with inches and I'm going to investigate why. Since DSF defaults to mm, you should be able to rename config.g temporarily, up/downgrade, and get DSF to function again. Is it possible that you switch to inches somewhere in your config files via G20?

                    You can move config.g to config.g.temp via mv /opt/dsf/sd/sys/config.g /opt/dsf/sd/sys/config.g.temp from a Linux console (e.g. SSH). After that you should be able to connect via DWC again.

                    Duet software engineer

                    Tinchusundefined 2 Replies Last reply Reply Quote 1
                    • Tinchusundefined
                      Tinchus @chrishamm
                      last edited by

                      @chrishamm inches? nop, im spanish speaker, I use mm from birth jajajajaja I just dont understand inches jajajajaja
                      No change to the config file was done, I just tried to upgrade.
                      Will try your instructions now and be back to you with the resuts

                      1 Reply Last reply Reply Quote 0
                      • Tinchusundefined
                        Tinchus @chrishamm
                        last edited by Tinchus

                        @chrishamm It didnt worked. I renamed the config.g as you instrected me. DWC still doent worked, I rebooted also with no sucess either.
                        I checked config.g, no change to the fie was done, I even manually inserted a G21 command to be sure it is in mms, and it didnt helped.
                        How can I downgrade from the ssh console to the previous version of the softwares that created this mess?
                        Right now there is nothing to upgrade, I tried the sudo upgrade method but it says everything is up to date.

                        Logs:

                        Sep 06 15:06:21 PU-LT-4590 DuetControlServer[1778]: [info] Application has shut down
                        Sep 06 15:06:21 PU-LT-4590 systemd[1]: duetcontrolserver.service: Main process exited, code=exited, status=70/SOFTWARE
                        Sep 06 15:06:21 PU-LT-4590 systemd[1]: duetcontrolserver.service: Failed with result 'exit-code'.
                        Sep 06 15:06:22 PU-LT-4590 systemd[1]: duetcontrolserver.service: Service RestartSec=100ms expired, scheduling restart.
                        Sep 06 15:06:22 PU-LT-4590 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 11.
                        Sep 06 15:06:22 PU-LT-4590 systemd[1]: Stopped Duet Control Server.
                        Sep 06 15:06:22 PU-LT-4590 systemd[1]: Starting Duet Control Server...
                        Sep 06 15:06:23 PU-LT-4590 DuetControlServer[1846]: Duet Control Server v3.4.1
                        Sep 06 15:06:23 PU-LT-4590 DuetControlServer[1846]: Written by Christian Hammacher for Duet3D
                        Sep 06 15:06:23 PU-LT-4590 DuetControlServer[1846]: Licensed under the terms of the GNU Public License Version 3
                        Sep 06 15:06:25 PU-LT-4590 DuetControlServer[1846]: [info] Settings loaded
                        Sep 06 15:06:26 PU-LT-4590 DuetControlServer[1846]: [info] Environment initialized
                        Sep 06 15:06:26 PU-LT-4590 DuetControlServer[1846]: [info] Connection to Duet established
                        Sep 06 15:06:26 PU-LT-4590 DuetControlServer[1846]: [info] IPC socket created at /run/dsf/dcs.sock
                        Sep 06 15:06:27 PU-LT-4590 systemd[1]: Started Duet Control Server.
                        Sep 06 15:06:29 PU-LT-4590 DuetControlServer[1846]: [fatal] Abnormal program termination
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: [fatal] Update task faulted
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: System.ArgumentException: Requested value 'in' was not found.
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Enum.TryParseInt32Enum(RuntimeType enumType, ReadOnlySpan1 value, Int32 minInclusive, Int32 maxInclusive, Boole
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Enum.TryParse(Type enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result) Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetAPI.Utility.JsonLowerCaseStringEnumConverter.JsonLowerCaseStringEnumConverterInner1.Read(Utf8JsonReader& reader, T
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.Serialization.JsonConverter1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOption Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStac
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.Serialization.JsonConverter1.ReadCoreAsObject(Utf8JsonReader& reader, JsonSerializerOptions options, Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable1 act Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 json, JsonTypeInfo jsonTypeInfo)
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options)
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetAPI.ObjectModel.ModelObject.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties) in /home/christian
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetAPI.ObjectModel.ModelCollection1.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties, Int32 offset Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetAPI.ObjectModel.ObjectModel.InternalUpdateFromJson(String key, JsonElement jsonElement, Boolean ignoreSbcProperties Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetAPI.ObjectModel.ObjectModel.UpdateFromFirmwareJson(String key, JsonElement jsonElement, Int32 offset, Boolean last) Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetControlServer.Model.Updater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/Updat Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: [fatal] Update task faulted Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: System.ArgumentException: Requested value 'in' was not found. Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Enum.TryParseInt32Enum(RuntimeType enumType, ReadOnlySpan1 value, Int32 minInclusive, Int32 maxInclusive, Boole Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Enum.TryParse(Type enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetAPI.Utility.JsonLowerCaseStringEnumConverter.JsonLowerCaseStringEnumConverterInner1.Read(Utf8JsonReader& reader, T Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.Serialization.JsonConverter1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOption
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStac Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.Serialization.JsonConverter1.ReadCoreAsObject(Utf8JsonReader& reader, JsonSerializerOptions options,
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable1 act
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 json, JsonTypeInfo jsonTypeInfo) Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options) Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetAPI.ObjectModel.ModelObject.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties) in /home/christian Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetAPI.ObjectModel.ModelCollection1.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties, Int32 offset
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetAPI.ObjectModel.ObjectModel.InternalUpdateFromJson(String key, JsonElement jsonElement, Boolean ignoreSbcProperties
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetAPI.ObjectModel.ObjectModel.UpdateFromFirmwareJson(String key, JsonElement jsonElement, Int32 offset, Boolean last)
                        Sep 06 15:06:30 PU-LT-4590 DuetControlServer[1846]: at DuetControlServer.Model.Updater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/Updat
                        Sep 06 15:06:34 PU-LT-4590 DuetControlServer[1846]: [info] Application has shut down
                        Sep 06 15:06:34 PU-LT-4590 systemd[1]: duetcontrolserver.service: Main process exited, code=exited, status=70/SOFTWARE
                        Sep 06 15:06:34 PU-LT-4590 systemd[1]: duetcontrolserver.service: Failed with result 'exit-code'.
                        Sep 06 15:06:34 PU-LT-4590 systemd[1]: duetcontrolserver.service: Service RestartSec=100ms expired, scheduling restart.
                        Sep 06 15:06:34 PU-LT-4590 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 12.
                        Sep 06 15:06:34 PU-LT-4590 systemd[1]: Stopped Duet Control Server.
                        Sep 06 15:06:34 PU-LT-4590 systemd[1]: Starting Duet Control Server...
                        Sep 06 15:06:35 PU-LT-4590 DuetControlServer[1920]: Duet Control Server v3.4.1
                        Sep 06 15:06:35 PU-LT-4590 DuetControlServer[1920]: Written by Christian Hammacher for Duet3D
                        Sep 06 15:06:35 PU-LT-4590 DuetControlServer[1920]: Licensed under the terms of the GNU Public License Version 3
                        Sep 06 15:06:37 PU-LT-4590 DuetControlServer[1920]: [info] Settings loaded
                        Sep 06 15:06:38 PU-LT-4590 DuetControlServer[1920]: [info] Environment initialized
                        Sep 06 15:06:38 PU-LT-4590 DuetControlServer[1920]: [info] Connection to Duet established
                        Sep 06 15:06:39 PU-LT-4590 DuetControlServer[1920]: [info] IPC socket created at /run/dsf/dcs.sock
                        Sep 06 15:06:39 PU-LT-4590 systemd[1]: Started Duet Control Server.
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: [fatal] Abnormal program termination
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: [fatal] Update task faulted
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: System.ArgumentException: Requested value 'in' was not found.
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Enum.TryParseInt32Enum(RuntimeType enumType, ReadOnlySpan1 value, Int32 minInclusive, Int32 maxInclusive, Boole
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Enum.TryParse(Type enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result) Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at DuetAPI.Utility.JsonLowerCaseStringEnumConverter.JsonLowerCaseStringEnumConverterInner1.Read(Utf8JsonReader& reader, T
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.Serialization.JsonConverter1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOption Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStac
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.Serialization.JsonConverter1.ReadCoreAsObject(Utf8JsonReader& reader, JsonSerializerOptions options, Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable1 act Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 json, JsonTypeInfo jsonTypeInfo)
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options)
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at DuetAPI.ObjectModel.ModelObject.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties) in /home/christian
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at DuetAPI.ObjectModel.ModelCollection1.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties, Int32 offset Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at DuetAPI.ObjectModel.ObjectModel.InternalUpdateFromJson(String key, JsonElement jsonElement, Boolean ignoreSbcProperties Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at DuetAPI.ObjectModel.ObjectModel.UpdateFromFirmwareJson(String key, JsonElement jsonElement, Int32 offset, Boolean last) Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at DuetControlServer.Model.Updater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/Updat Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: [fatal] Update task faulted Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: System.ArgumentException: Requested value 'in' was not found. Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Enum.TryParseInt32Enum(RuntimeType enumType, ReadOnlySpan1 value, Int32 minInclusive, Int32 maxInclusive, Boole Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Enum.TryParse(Type enumType, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at DuetAPI.Utility.JsonLowerCaseStringEnumConverter.JsonLowerCaseStringEnumConverterInner1.Read(Utf8JsonReader& reader, T Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.Serialization.JsonConverter1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOption
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStac Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.Serialization.JsonConverter1.ReadCoreAsObject(Utf8JsonReader& reader, JsonSerializerOptions options,
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable1 act
                        Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 json, JsonTypeInfo jsonTypeInfo) Sep 06 15:06:43 PU-LT-4590 DuetControlServer[1920]: at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options) Sep 06 15:06:44 PU-LT-4590 DuetControlServer[1920]: at DuetAPI.ObjectModel.ModelObject.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties) in /home/christian Sep 06 15:06:44 PU-LT-4590 DuetControlServer[1920]: at DuetAPI.ObjectModel.ModelCollection1.UpdateFromJson(JsonElement jsonElement, Boolean ignoreSbcProperties, Int32 offset
                        Sep 06 15:06:44 PU-LT-4590 DuetControlServer[1920]: at DuetAPI.ObjectModel.ObjectModel.InternalUpdateFromJson(String key, JsonElement jsonElement, Boolean ignoreSbcProperties
                        Sep 06 15:06:44 PU-LT-4590 DuetControlServer[1920]: at DuetAPI.ObjectModel.ObjectModel.UpdateFromFirmwareJson(String key, JsonElement jsonElement, Int32 offset, Boolean last)
                        Sep 06 15:06:44 PU-LT-4590 DuetControlServer[1920]: at DuetControlServer.Model.Updater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/Updat
                        Sep 06 15:06:46 PU-LT-4590 DuetControlServer[1920]: [info] Application has shut down
                        Sep 06 15:06:46 PU-LT-4590 systemd[1]: duetcontrolserver.service: Main process exited, code=exited, status=70/SOFTWARE
                        Sep 06 15:06:46 PU-LT-4590 systemd[1]: duetcontrolserver.service: Failed with result 'exit-code'.
                        Sep 06 15:06:46 PU-LT-4590 systemd[1]: duetcontrolserver.service: Service RestartSec=100ms expired, scheduling restart.
                        Sep 06 15:06:46 PU-LT-4590 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 13.
                        Sep 06 15:06:46 PU-LT-4590 systemd[1]: Stopped Duet Control Server.
                        Sep 06 15:06:46 PU-LT-4590 systemd[1]: Starting Duet Control Server...

                        chrishammundefined 1 Reply Last reply Reply Quote 0
                        • chrishammundefined
                          chrishamm administrators @Tinchus
                          last edited by

                          @Tinchus Then please try to restart your board and make sure config.g is not executed on start-up. From your log I can clearly see DSF tries to deserialize in [which DSF thinks should be inch] and there is no other reference to "in" in RRF so I strongly suspect there is G20 somewhere in your files (maybe by accident, I don't know):

                          DuetControlServer[1920]: System.ArgumentException: Requested value 'in' was not found.
                          

                          If it still fails to start after power-cycling/resetting the Duet, try to erase the firmware and flash RRF 3.4.1 manually as per these instructions and a USB cable: https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware#fallback-procedure-2

                          The bug that makes DCS crash in this particular case will be fixed in the next version.

                          Duet software engineer

                          Tinchusundefined 1 Reply Last reply Reply Quote 0
                          • Tinchusundefined
                            Tinchus @chrishamm
                            last edited by

                            @chrishamm Hello. Just in case: my setup is a SBC duet 3 with a raspi connected. So the software problem is on the raspberry. Can I just put a sd card with a backup I had. Version on that sdcard is 3.4.1, and firmware on the duet is already 3.4.1
                            Would that fix it?

                            Or: is there a y way I can reload everything through the ssh connection?

                            chrishammundefined 1 Reply Last reply Reply Quote 0
                            • chrishammundefined
                              chrishamm administrators @Tinchus
                              last edited by

                              @tinchus Can you connect a USB cable to the Duet and collect the output of M409 K"inputs" F"d99vn" from a serial console?

                              Duet software engineer

                              Tinchusundefined 1 Reply Last reply Reply Quote 0
                              • Tinchusundefined
                                Tinchus @chrishamm
                                last edited by Tinchus

                                @chrishamm Im not that skilled jajajajjaa. This duet3 is conected on SBC mode to a raspberry. If I connect directly to the USB port on the duet board, how do I access the interface? Everything on my setup is done for SBC mode. Do I need to disconnect all cables from the duet?
                                Right now I dont have personall access, but can find a way (is a printer I assembled at the school, that is why if I can do things remotly would help me a lot)

                                chrishammundefined 1 Reply Last reply Reply Quote 0
                                • chrishammundefined
                                  chrishamm administrators @Tinchus
                                  last edited by

                                  @tinchus I understand it is connected via SBC but I am still not convinced that you don't have G20 anywhere in your config/job files. Showing the output of that command should confirm the origin of this instruction. See https://docs.duet3d.com/en/User_manual/Troubleshooting/Terminal_Emulators

                                  Duet software engineer

                                  Tinchusundefined 2 Replies Last reply Reply Quote 0
                                  • Tinchusundefined
                                    Tinchus @chrishamm
                                    last edited by

                                    @chrishamm I have checked config.g and I can say there is no G20 command there or any "inch" command o mention. I have not checked the jobs folder. I can just erase all gcodes on the printer from that folder and see what happens?

                                    1 Reply Last reply Reply Quote 0
                                    • Tinchusundefined
                                      Tinchus @chrishamm
                                      last edited by

                                      @chrishamm I do have ssh connection to the printer, is there any way I can aluch that command from that ssh conection console in the printer?

                                      chrishammundefined 1 Reply Last reply Reply Quote 0
                                      • chrishammundefined
                                        chrishamm administrators @Tinchus
                                        last edited by

                                        @tinchus You can now try to upgrade your system using apt update/apt dist-upgrade. The version that we released today should fix your issue, and the upgrade command does not query the affected object model key.

                                        Duet software engineer

                                        Tinchusundefined 1 Reply Last reply Reply Quote 0
                                        • Tinchusundefined
                                          Tinchus @chrishamm
                                          last edited by

                                          @chrishamm Hello. The update fixed the issue. Sadly, I had scheduled the execution of your requested command for monday, so I cant provide you with the output of that command in order for you to fully diagnose the problem.
                                          But this update did the magic. THANKS!

                                          1 Reply Last reply Reply Quote 1
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA