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

DWC not starting after update try

Scheduled Pinned Locked Moved
Firmware installation
3
23
866
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.
  • undefined
    Tinchus
    last edited by 1 Sept 2022, 18:51

    Hello. By mistake I tried to uprade the software . I have a duet3 in SBC mode, so I ran sudo apt update and then sudo apt upgrade

    This was the result of those commands:

    Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
    Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
    Hit:3 https://pkg.duet3d.com stable InRelease
    Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
    Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [392 kB]
    Fetched 13.5 MB in 16s (865 kB/s)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    8 packages can be upgraded. Run 'apt list --upgradable' to see them.
    pi@printer:~ $ sudo apt upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
    curl libcurl3-gnutls libcurl4 libjavascriptcoregtk-4.0-18 libsnmp-base
    libsnmp30 libwebkit2gtk-4.0-37 tzdata
    8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 19.5 MB of archives.
    After this operation, 17.4 kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    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]
    Fetched 19.5 MB in 6s (3,274 kB/s)
    Reading changelogs... Done
    Preconfiguring packages ...
    (Reading database ... 104506 files and directories currently installed.)
    Preparing to unpack .../0-tzdata_2021a-0+deb10u6_all.deb ...
    Unpacking tzdata (2021a-0+deb10u6) over (2021a-0+deb10u5) ...
    Preparing to unpack .../1-curl_7.64.0-4+deb10u3_armhf.deb ...
    Unpacking curl (7.64.0-4+deb10u3) over (7.64.0-4+deb10u2) ...
    Preparing to unpack .../2-libcurl4_7.64.0-4+deb10u3_armhf.deb ...
    Unpacking libcurl4:armhf (7.64.0-4+deb10u3) over (7.64.0-4+deb10u2) ...
    Preparing to unpack .../3-libcurl3-gnutls_7.64.0-4+deb10u3_armhf.deb ...
    Unpacking libcurl3-gnutls:armhf (7.64.0-4+deb10u3) over (7.64.0-4+deb10u2) ...
    Preparing to unpack .../4-libwebkit2gtk-4.0-37_2.36.7-1~deb10u1+rpi1_armhf.deb ...
    Unpacking libwebkit2gtk-4.0-37:armhf (2.36.7-1~deb10u1+rpi1) over (2.36.4-1~deb10u1+rpi1) ...
    Preparing to unpack .../5-libjavascriptcoregtk-4.0-18_2.36.7-1~deb10u1+rpi1_armhf.deb ...
    Unpacking libjavascriptcoregtk-4.0-18:armhf (2.36.7-1~deb10u1+rpi1) over (2.36.4-1~deb10u1+rpi1) ...
    Preparing to unpack .../6-libsnmp-base_5.7.3+dfsg-5+deb10u3_all.deb ...
    Unpacking libsnmp-base (5.7.3+dfsg-5+deb10u3) over (5.7.3+dfsg-5+deb10u2) ...
    Preparing to unpack .../7-libsnmp30_5.7.3+dfsg-5+deb10u3_armhf.deb ...
    Unpacking libsnmp30:armhf (5.7.3+dfsg-5+deb10u3) over (5.7.3+dfsg-5+deb10u2) ...
    Setting up libsnmp-base (5.7.3+dfsg-5+deb10u3) ...
    Setting up libjavascriptcoregtk-4.0-18:armhf (2.36.7-1~deb10u1+rpi1) ...
    Setting up libcurl3-gnutls:armhf (7.64.0-4+deb10u3) ...
    Setting up libsnmp30:armhf (5.7.3+dfsg-5+deb10u3) ...
    Setting up tzdata (2021a-0+deb10u6) ...

    Current default time zone: 'Europe/London'
    Local time is now: Thu Sep 1 19:40:08 BST 2022.
    Universal Time is now: Thu Sep 1 18:40:08 UTC 2022.
    Run 'dpkg-reconfigure tzdata' if you wish to change it.

    Setting up libwebkit2gtk-4.0-37:armhf (2.36.7-1~deb10u1+rpi1) ...
    Setting up libcurl4:armhf (7.64.0-4+deb10u3) ...
    Setting up curl (7.64.0-4+deb10u3) ...
    Processing triggers for man-db (2.8.5-2) ...
    Processing triggers for libc-bin (2.28-10+rpt2+rpi1+deb10u1) ...

    When I say by mistake is because the printer was already on version 3.4.1
    After this try of upgrade, DWC seems to not be starting and al I get is:

    0c29d70c-2544-4a8a-afbf-60f0be6e3917-image.png

    Can smeone guide me on how to fix this or how I can using the interface go back or do any kind of fixing on this?

    Thanks in advance

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 1 Sept 2022, 18:54

      Stable or unstable branch?

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 1 Sept 2022, 19:00 Reply Quote 0
      • undefined
        Tinchus @Phaedrux
        last edited by 1 Sept 2022, 19:00

        @phaedrux 3.4.1 stable

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 1 Sept 2022, 19:53

          Have you re-run sudo apt update and sudo apt upgrade again?

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 1 Reply Last reply 1 Sept 2022, 20:04 Reply Quote 0
          • undefined
            Tinchus @Phaedrux
            last edited by 1 Sept 2022, 20:04

            @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
            • undefined
              Phaedrux Moderator
              last edited by 1 Sept 2022, 22:09

              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

              undefined 1 Reply Last reply 2 Sept 2022, 12:54 Reply Quote 0
              • undefined
                Tinchus @Phaedrux
                last edited by 2 Sept 2022, 12:54

                @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
                • undefined
                  Phaedrux Moderator
                  last edited by 2 Sept 2022, 16:43

                  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
                  • undefined
                    Phaedrux Moderator
                    last edited by 2 Sept 2022, 18:08

                    Can you try sudo apt dist-upgrade ?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    undefined 2 Replies Last reply 4 Sept 2022, 18:05 Reply Quote 0
                    • undefined
                      Tinchus @Phaedrux
                      last edited by 4 Sept 2022, 18:05

                      @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
                      • undefined
                        Tinchus @Phaedrux
                        last edited by 4 Sept 2022, 18:08

                        @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?

                        undefined 1 Reply Last reply 5 Sept 2022, 08:41 Reply Quote 0
                        • undefined
                          chrishamm administrators @Tinchus
                          last edited by chrishamm 9 May 2022, 08:42 5 Sept 2022, 08:41

                          @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

                          undefined 2 Replies Last reply 6 Sept 2022, 13:13 Reply Quote 1
                          • undefined
                            Tinchus @chrishamm
                            last edited by 6 Sept 2022, 13:13

                            @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
                            • undefined
                              Tinchus @chrishamm
                              last edited by Tinchus 9 Jun 2022, 14:12 6 Sept 2022, 13:52

                              @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...

                              undefined 1 Reply Last reply 6 Sept 2022, 15:59 Reply Quote 0
                              • undefined
                                chrishamm administrators @Tinchus
                                last edited by 6 Sept 2022, 15:59

                                @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

                                undefined 1 Reply Last reply 9 Sept 2022, 13:29 Reply Quote 0
                                • undefined
                                  Tinchus @chrishamm
                                  last edited by 9 Sept 2022, 13:29

                                  @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?

                                  undefined 1 Reply Last reply 9 Sept 2022, 14:28 Reply Quote 0
                                  • undefined
                                    chrishamm administrators @Tinchus
                                    last edited by 9 Sept 2022, 14:28

                                    @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

                                    undefined 1 Reply Last reply 9 Sept 2022, 15:28 Reply Quote 0
                                    • undefined
                                      Tinchus @chrishamm
                                      last edited by Tinchus 9 Sept 2022, 15:30 9 Sept 2022, 15:28

                                      @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)

                                      undefined 1 Reply Last reply 9 Sept 2022, 16:11 Reply Quote 0
                                      • undefined
                                        chrishamm administrators @Tinchus
                                        last edited by 9 Sept 2022, 16:11

                                        @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

                                        undefined 2 Replies Last reply 9 Sept 2022, 19:54 Reply Quote 0
                                        • undefined
                                          Tinchus @chrishamm
                                          last edited by 9 Sept 2022, 19:54

                                          @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
                                          6 out of 23
                                          • First post
                                            6/23
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA