Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Plötzliche adapter fehler

    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

    Plötzliche adapter fehler

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Billy 0 @Thomas Braun last edited by

      @thomas-braun

      
      pi@raspberrypi:~ $ iobroker del iobroker.fronius
      Delete adapter "fronius"
      host.raspberrypi Counted 1 instances of fronius
      host.raspberrypi Counted 1 meta of fronius
      host.raspberrypi Counted 1 adapter for fronius
      host.raspberrypi Counted 4 channels of fronius
      host.raspberrypi Counted 27 states of fronius
      host.raspberrypi Counted 14 states of system.adapter.fronius
      host.raspberrypi Counted 27 states (io.fronius.*) from states
      host.raspberrypi Counted 14 states (system.adapter.fronius.*) from states
      host.raspberrypi file fronius.admin deleted
      host.raspberrypi object fronius deleted
      host.raspberrypi object fronius.admin deleted
      host.raspberrypi Deleting 48 object(s).
      host.raspberrypi Deleting 41 state(s).
      Error deleting adapter fronius from disk: SyntaxError: /opt/iobroker/node_modules/iobroker.fronius/io-package.json: Unexpected token ( in JSON at position 931
      You might have to delete it yourself!
      pi@raspberrypi:~ $ iobroker restart
      pi@raspberrypi:~ $ iobroker add iobroker.fronius
      host.raspberrypi install adapter fronius
      host.raspberrypi error: reading io-package.json SyntaxError: /opt/iobroker/node_modules/iobroker.fronius/io-package.json: Unexpected token ( in JSON at position 931
      Uncaught Rejection: TypeError: Cannot read property 'common' of undefined
          at Install.installAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:728:25)
          at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:842:29)
          at processImmediate (internal/timers.js:463:21)
      pi@raspberrypi:~ $
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Billy 0 last edited by

        @billy-0 sagte in Plötzliche adapter fehler:

        Error deleting adapter fronius from disk: SyntaxError: /opt/iobroker/node_modules/iobroker.fronius/io-package.json: Unexpected token ( in JSON at position 931 You might have to delete it yourself!

        Dann mach das mal.

        B 1 Reply Last reply Reply Quote 0
        • B
          Billy 0 @Thomas Braun last edited by

          @thomas-braun
          Im broker werden mir gar keine adapter mehr zum installieren angezeigt.

          Keine ahnung wie ich das lösche, sorry

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

            @billy-0

            iobroker stop
            iobroker del iobroker.fronius
            iobroker rm /opt/iobroker/node_modules/iobroker.fronius/io-package.json
            iobroker restart 
            iobroker add iobroker.fronius
            
            B 1 Reply Last reply Reply Quote 0
            • B
              Billy 0 @Billy 0 last edited by

              Halt kommando zurück, adapter werden angezeigt, aber installieren kommt derselbe fehler

              1 Reply Last reply Reply Quote 0
              • B
                Billy 0 @Thomas Braun last edited by

                @thomas-braun

                pi@raspberrypi:~ $ iobroker stop
                pi@raspberrypi:~ $ iobroker del iobroker.fronius
                Delete adapter "fronius"
                host.raspberrypi object fronius deleted
                host.raspberrypi object fronius.admin deleted
                Error deleting adapter fronius from disk: SyntaxError: /opt/iobroker/node_modules/iobroker.fronius/io-package.json: Unexpected token ( in JSON at position 931
                You might have to delete it yourself!
                pi@raspberrypi:~ $ iobroker rm /opt/iobroker/node_modules/iobroker.fronius/io-package.json
                Error: Not exists
                    at Object.maybeCallbackWithError (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2252:17)
                    at ObjectsInMemoryServerClass._rm (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1391:30)
                    at processTicksAndRejections (internal/process/task_queues.js:97:5)
                pi@raspberrypi:~ $
                
                
                Thomas Braun B 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Billy 0 last edited by Thomas Braun

                  @billy-0 sagte in Plötzliche adapter fehler:

                  Dann

                  sudo -u iobroker rm /opt/iobroker/node_modules/iobroker.fronius/io-package.json
                  
                  B 1 Reply Last reply Reply Quote 0
                  • B
                    Billy 0 @Billy 0 last edited by

                    pi@raspberrypi:~ $ iobroker restart
                    pi@raspberrypi:~ $ iobroker add iobroker.fronius
                    host.raspberrypi install adapter fronius
                    host.raspberrypi error: reading io-package.json SyntaxError: /opt/iobroker/node_modules/iobroker.fronius/io-package.json: Unexpected token ( in JSON at position 931
                    Uncaught Rejection: TypeError: Cannot read property 'common' of undefined
                        at Install.installAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:728:25)
                        at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:842:29)
                        at processImmediate (internal/timers.js:463:21)
                    pi@raspberrypi:~ 
                    
                    B 1 Reply Last reply Reply Quote 0
                    • B
                      Billy 0 @Billy 0 last edited by

                      Ok es installiert

                      1 Reply Last reply Reply Quote 0
                      • B
                        Billy 0 @Thomas Braun last edited by

                        @thomas-braun danke dir, das hat geholfen.
                        Kannst du mir sagen wie sowas passieren kann oder wie ich abhilfe schaffe?

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

                          @billy-0 Nein, so genau weiß ich das nicht.
                          Kann aber sein, dass die Syntaxprüfung in aktuellen Versionen des js-controllers, von nodeJS und/oder des javaskript-Adapters da genauer prüfen und Dinge, die in früheren Versionen okay waren jetzt angemeckert werden.

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            Billy 0 @Thomas Braun last edited by

                            @thomas-braun Ok danke dir für deine schnelle Hilfe, die anderen beiden adapter versuche ich mal alleine 😉

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

                              @billy-0
                              Ich vermute da ähnliches.

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              868
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              2
                              34
                              729
                              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