Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. JsonConfig] Cannot parse json5 config!

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    JsonConfig] Cannot parse json5 config!

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stoffel67 last edited by

      bekomme obigen Fehler aktuell beim DS18B20 Adapter,
      ich vermute seit update des ADMIN adapters…
      was kann das sein?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @stoffel67 last edited by

        @stoffel67 sagte in JsonConfig] Cannot parse json5 config!:

        was kann das sein?

        Mehr Kontext...
        In welcher Umgebung mit welchen Versionen bist du da unterwegs?

        iob diag
        

        anschauen.

        S 1 Reply Last reply Reply Quote 0
        • S
          stoffel67 @Thomas Braun last edited by

          @thomas-braun
          hier der diag output diag.txt
          shelly adapter sind aktuell auf glwichen Port shelly.1 läuft normal nicht

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @stoffel67 last edited by Thomas Braun

            @stoffel67

            Bring das ganze Ding zunächst mal auf einen aktuellen Stand...

            Pending OS-Updates: 233

            Und schalt den Desktop aus.

            S 1 Reply Last reply Reply Quote 0
            • S
              stoffel67 @Thomas Braun last edited by stoffel67

              @thomas-braun
              so system upgedatet😌

              pi@raspip:~ $ sudo apt update
              OK:1 http://deb.debian.org/debian bookworm InRelease
              OK:2 http://deb.debian.org/debian-security bookworm-security InRelease
              OK:3 http://deb.debian.org/debian bookworm-updates InRelease
              OK:4 https://deb.nodesource.com/node_18.x nodistro InRelease
              OK:5 http://archive.raspberrypi.com/debian bookworm InRelease
              Paketlisten werden gelesen... Fertig
              Abh�ngigkeitsbaum wird aufgebaut... Fertig
              Statusinformationen werden eingelesen... Fertig
              Alle Pakete sind aktuell.
              

              System neu gestartet .... läuft wieder , aber der Adapter-Fehler kommt immer noch
              bekomme jetzt zusätzlich:

              host.raspip
              2024-06-27 12:52:43.569	error	Cannot download and install adapter "js2fs@0.1.5". To retry it disable/enable the adapter or restart host. Also check the error messages in the log!
              host.raspip
              2024-06-27 12:52:42.499	error	iobroker npm-install: host.raspip Unknown packetName js2fs. Please install packages from outside the repository using npm!
              host.raspip
              2024-06-27 12:52:38.746	error	iobroker npm-install: host.raspip Unknown packetName js2fs. Please install packages from outside the repository using npm!
              host.raspip
              2024-06-27 12:52:35.033	error	iobroker npm-install: host.raspip Unknown packetName js2fs. Please install packages from outside the repository using npm!
              host.raspip
              2024-06-27 12:52:31.318	error	iobroker npm-install: host.raspip Unknown packetName js2fs. Please install packages from outside the repository using npm!
              
              
              Homoran Thomas Braun 3 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @stoffel67 last edited by Homoran

                @stoffel67 sagte in JsonConfig] Cannot parse json5 config!:

                Please install packages from outside the repository using npm!

                und was hast du gemacht?

                was sagt iob update?

                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @stoffel67 last edited by

                  @stoffel67

                  Ist der Desktop-Mist aus? Hat auf einem Server nix zu suchen.

                  sudo systemctl set-default multi-user.target
                  

                  Und bring nodejs auf die empfohlene Version 20

                  iobroker nodejs-update 20
                  

                  Wo kommt der js2fs her?

                  cd /opt/iobroker 
                  npm ls js2fs
                  
                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Thomas Braun last edited by

                    @thomas-braun sagte in JsonConfig] Cannot parse json5 config!:

                    Wo kommt der js2fs her?

                    ich tippe auf ein npm modul für js

                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active last edited by Thomas Braun

                      @homoran

                      Das muss aber eine ganz alte Altlast sein.

                      https://forum.iobroker.net/topic/9331/gelöst-js2fs-und-javascript-blockly

                      https://github.com/soef/iobroker.js2fs

                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @stoffel67 last edited by

                        @stoffel67

                        Da hängt der

                        + system.adapter.js2fs.0                  : js2fs                 : raspip                                   -  enabled
                        

                        schief. Den würde ich komplett rauswerfen, wenn du nicht weißt wofür du den brauchst.

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Thomas Braun last edited by

                          @thomas-braun sagte in JsonConfig] Cannot parse json5 config!:

                          @stoffel67

                          Da hängt der

                          + system.adapter.js2fs.0                  : js2fs                 : raspip                                   -  enabled
                          

                          schief. Den würde ich komplett rauswerfen, wenn du nicht weißt wofür du den brauchst.

                          kenn ich gar nicht.

                          der ist in keinem Repo.
                          Daher passt die Meldung

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Homoran last edited by

                            @homoran

                            https://github.com/soef/iobroker.js2fs

                            soef macht ja seit Jahren nix mehr. Und die Funktion des Adapters ist auch nicht mehr notwendig, du kannst ja mittlerweile ein Spiegelverzeichnis mit den Skripten haben.
                            Also raus mit dem uralten Code. Macht nur Ärger in aktuellen Setups.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              stoffel67 @Thomas Braun last edited by

                              @thomas-braun

                              pi@raspip:~ $ npm ls js2fs
                              pi@ /home/pi
                              `-- (empty)
                              

                              also schmeiß ich den Adapter raus.... ich hatte mal ein javascript was auf die lokal Platte geschrieben hat...

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @stoffel67 last edited by

                                @stoffel67 sagte in JsonConfig] Cannot parse json5 config!:

                                pi@raspip:~ $ npm ls js2fs

                                Du stehst im falschen Verzeichnis...

                                Aber ja, raus mit dem alten Kram.

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  stoffel67 @Thomas Braun last edited by stoffel67

                                  @thomas-braun

                                  pi@raspip:~ $ cd /opt/iobroker/
                                  pi@raspip:/opt/iobroker $ npm ls js2fs
                                  iobroker.inst@3.0.0 /opt/iobroker
                                  `-- (empty)
                                  
                                  

                                  wie oben gesagt, beim DS18B20-Adaüter kommt nach wie vor der Fehler :[JsonConfig] Cannot parse json5 config!
                                  und er bleibt dann in der Config-Seite hängen..

                                  Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @stoffel67 last edited by

                                    @stoffel67 sagte in JsonConfig] Cannot parse json5 config!:

                                    Glückwunsch, du hast wohl ein Issue gefunden.
                                    Trags im GitHub ein, damit es gefixt werden kann.

                                    1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @stoffel67 last edited by

                                      @stoffel67 sagte in JsonConfig] Cannot parse json5 config!:

                                      beim DS18B20-Adaüter kommt nach wie vor der Fehler :[JsonConfig] Cannot parse json5 config!

                                      zeigen!

                                      Thomas Braun S 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Homoran last edited by

                                        @homoran

                                        Stimmt, das Popup kommt bei mir auch im Admin, wenn man in die Einstellungen des Adapters gehen möchte.
                                        Also ein Bug.

                                        1 Reply Last reply Reply Quote 1
                                        • S
                                          stoffel67 @Homoran last edited by

                                          @homoran
                                          DS18B20.jpg

                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @stoffel67 last edited by

                                            @stoffel67

                                            also "nur" ein popup, so wie @Thomas-Braun es beschreibt.
                                            im debug-log gibt es keine weiteren Informationen?

                                            S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            539
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            49
                                            2035
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo