Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. Neato Botvac adapter - further development

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.4k

Neato Botvac adapter - further development

Geplant Angeheftet Gesperrt Verschoben ioBroker general
68 Beiträge 12 Kommentatoren 11.4k Aufrufe 10 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • C csp

    @thomas-braun Installation works fine on my end as well. But as soon as I want to log in, it doesn't work.
    What do I need to do exactly? Can you help?

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #19

    @csp
    No, I don't own that device, I just checked the adapter installation.

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    C 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @csp
      No, I don't own that device, I just checked the adapter installation.

      C Offline
      C Offline
      csp
      schrieb am zuletzt editiert von
      #20

      @thomas-braun but maybe how I can check nodejs with iob diag?

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • C csp

        @thomas-braun but maybe how I can check nodejs with iob diag?

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #21

        @csp sagte in Neato Botvac adapter - further development:

        iob diag

        Just run it in your terminal and copy the output in the forum.

        iob diag
        

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        C 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @csp sagte in Neato Botvac adapter - further development:

          iob diag

          Just run it in your terminal and copy the output in the forum.

          iob diag
          
          C Offline
          C Offline
          csp
          schrieb am zuletzt editiert von
          #22

          @thomas-braun I think I'm doing something wrong...

          root@iobroker:/opt/iobroker# iob diag 
          iobroker [command]
          
          Commands:
            iobroker setup                                               Setup ioBroker
            iobroker start [all|<adapter>.<instance>|<adapter>]          Starts the js-controller or a specified adapter instance or all instances of an adapter
            iobroker stop [<adapter>.<instance>|<adapter>]               stops the js-controller or a specified adapter instance or all instances of an adapter
            iobroker restart [<adapter>.<instance>|<adapter>]            Restarts js-controller or a specified adapter instance or all instances of an adapter  [aliases: r]
            iobroker debug <adapter>[.<instance>]                        Starts a Node.js debugging session for the adapter instance
            iobroker info                                                Shows the host info
            iobroker logs [<adapter>]                                    Monitor log
            iobroker add <adapter> [desiredNumber]                       Add instance of adapter  [aliases: a]
            iobroker install <adapter>                                   Installs a specified adapter  [aliases: i]
            iobroker rebuild [<module>]                                  Rebuild all native modules or path
            iobroker url <url> [<name>]                                  Install adapter from specified url, e.g. GitHub
            iobroker del <adapter>                                       Remove adapter and all instances from this host  [aliases: delete]
            iobroker del <adapter>.<instance>                            Remove adapter instance  [aliases: delete]
            iobroker update [<repositoryUrl>]                            Update repository and list adapters
            iobroker upgrade                                             Upgrade management
            iobroker upload [all|<adapter>]                              Upload management  [aliases: u]
            iobroker object                                              Object management  [aliases: o]
            iobroker state                                               State management  [aliases: s]
            iobroker message <adapter>[.instance] <command> [<message>]  Send message to adapter instance/s
            iobroker list <type> [<filter>]                              List all entries, like objects
            iobroker chmod <mode> <file>                                 Change file rights
            iobroker chown <user> <group> <file>                         Change file ownership
            iobroker touch <file>                                        Touch file
            iobroker rm <file>                                           Remove file
            iobroker file                                                File management
            iobroker user                                                User commands
            iobroker group                                               group management
            iobroker host <hostname>                                     Set host to given hostname
            iobroker set <adapter>.<instance>                            Change settings of adapter config
            iobroker license <license.file or license.text>              Update license by given file
            iobroker cert                                                Certificate management
            iobroker clean <yes>                                         Clears all objects and states
            iobroker backup                                              Create backup
            iobroker restore <backup name or path>                       Restore a specified backup
            iobroker validate <backup name or path>                      Validate a specified backup
            iobroker status [all|<adapter>.<instance>]                   Status of ioBroker or adapter instance  [aliases: isrun]
            iobroker repo [<name>]                                       Show repo information
            iobroker uuid                                                Show uuid of the installation  [aliases: id]
            iobroker unsetup                                             Reset license, installation secret and language
            iobroker fix                                                 Execute the installation fixer script, this updates your ioBroker installation
            iobroker multihost                                           Multihost management
            iobroker compact                                             compact group management
            iobroker plugin                                              Plugin management
            iobroker vendor <passphrase> [<vendor.json>]                 Update the vendor information using given passphrase
            iobroker version [<adapter>]                                 Show version of js-controller or specified adapter  [aliases: v]
          
          Options:
            --help  Show help  [boolean]
          root@iobroker:/opt/iobroker# 
          
          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • C csp

            @thomas-braun I think I'm doing something wrong...

            root@iobroker:/opt/iobroker# iob diag 
            iobroker [command]
            
            Commands:
              iobroker setup                                               Setup ioBroker
              iobroker start [all|<adapter>.<instance>|<adapter>]          Starts the js-controller or a specified adapter instance or all instances of an adapter
              iobroker stop [<adapter>.<instance>|<adapter>]               stops the js-controller or a specified adapter instance or all instances of an adapter
              iobroker restart [<adapter>.<instance>|<adapter>]            Restarts js-controller or a specified adapter instance or all instances of an adapter  [aliases: r]
              iobroker debug <adapter>[.<instance>]                        Starts a Node.js debugging session for the adapter instance
              iobroker info                                                Shows the host info
              iobroker logs [<adapter>]                                    Monitor log
              iobroker add <adapter> [desiredNumber]                       Add instance of adapter  [aliases: a]
              iobroker install <adapter>                                   Installs a specified adapter  [aliases: i]
              iobroker rebuild [<module>]                                  Rebuild all native modules or path
              iobroker url <url> [<name>]                                  Install adapter from specified url, e.g. GitHub
              iobroker del <adapter>                                       Remove adapter and all instances from this host  [aliases: delete]
              iobroker del <adapter>.<instance>                            Remove adapter instance  [aliases: delete]
              iobroker update [<repositoryUrl>]                            Update repository and list adapters
              iobroker upgrade                                             Upgrade management
              iobroker upload [all|<adapter>]                              Upload management  [aliases: u]
              iobroker object                                              Object management  [aliases: o]
              iobroker state                                               State management  [aliases: s]
              iobroker message <adapter>[.instance] <command> [<message>]  Send message to adapter instance/s
              iobroker list <type> [<filter>]                              List all entries, like objects
              iobroker chmod <mode> <file>                                 Change file rights
              iobroker chown <user> <group> <file>                         Change file ownership
              iobroker touch <file>                                        Touch file
              iobroker rm <file>                                           Remove file
              iobroker file                                                File management
              iobroker user                                                User commands
              iobroker group                                               group management
              iobroker host <hostname>                                     Set host to given hostname
              iobroker set <adapter>.<instance>                            Change settings of adapter config
              iobroker license <license.file or license.text>              Update license by given file
              iobroker cert                                                Certificate management
              iobroker clean <yes>                                         Clears all objects and states
              iobroker backup                                              Create backup
              iobroker restore <backup name or path>                       Restore a specified backup
              iobroker validate <backup name or path>                      Validate a specified backup
              iobroker status [all|<adapter>.<instance>]                   Status of ioBroker or adapter instance  [aliases: isrun]
              iobroker repo [<name>]                                       Show repo information
              iobroker uuid                                                Show uuid of the installation  [aliases: id]
              iobroker unsetup                                             Reset license, installation secret and language
              iobroker fix                                                 Execute the installation fixer script, this updates your ioBroker installation
              iobroker multihost                                           Multihost management
              iobroker compact                                             compact group management
              iobroker plugin                                              Plugin management
              iobroker vendor <passphrase> [<vendor.json>]                 Update the vendor information using given passphrase
              iobroker version [<adapter>]                                 Show version of js-controller or specified adapter  [aliases: v]
            
            Options:
              --help  Show help  [boolean]
            root@iobroker:/opt/iobroker# 
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #23

            @csp

            iob stop
            iob fix
            iob start
            iob diag
            

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            C 2 Antworten Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @csp

              iob stop
              iob fix
              iob start
              iob diag
              
              C Offline
              C Offline
              csp
              schrieb am zuletzt editiert von
              #24

              @thomas-braun

              
              

              ======================= SUMMARY =======================
              v.2023-04-16

              Operatingsystem: Debian GNU/Linux 11 (bullseye)
              Kernel: 4.4.180+
              Installation: Docker
              Timezone: Etc/UTC
              User-ID: 0
              X-Server: false

              Pending OS-Updates: 121
              Pending iob updates: 0

              Nodejs-Installation: /usr/bin/nodejs v12.22.7
              /usr/local/bin/node v18.17.1
              /usr/local/bin/npm 9.6.7
              /usr/local/bin/npx 9.6.7

              Recommended versions are nodejs 18.x.y and npm 9.x.y
              *** nodejs is NOT correctly installed ***

              MEMORY:
              total used free shared buff/cache available
              Mem: 9.8G 3.7G 407M 558M 5.6G 5.2G
              Swap: 7.9G 419M 7.5G
              Total: 17G 4.2G 7.9G

              Active iob-Instances: 34
              Active repo(s): default, beta

              ioBroker Core: js-controller 5.0.12
              admin 6.9.1

              ioBroker Status: iobroker is running on this host.

              Objects type: jsonl
              States type: jsonl

              Status admin and web instance:

              • system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin
              • system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin

              Objects: 20245
              States: 3

              Size of iob-Database:

              25M /opt/iobroker/iobroker-data/objects.jsonl
              13M /opt/iobroker/iobroker-data/objects.json.migrated
              13M /opt/iobroker/iobroker-data/objects.json.bak.migrated
              61M /opt/iobroker/iobroker-data/states.jsonl
              1.9M /opt/iobroker/iobroker-data/states.json.migrated
              1.9M /opt/iobroker/iobroker-data/states.json.bak.migrated

              =================== END OF SUMMARY ====================

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @csp

                iob stop
                iob fix
                iob start
                iob diag
                
                C Offline
                C Offline
                csp
                schrieb am zuletzt editiert von
                #25

                @thomas-braun here you go:

                
                

                ======================= SUMMARY =======================
                v.2023-04-16

                Operatingsystem: Debian GNU/Linux 11 (bullseye)
                Kernel: 4.4.180+
                Installation: Docker
                Timezone: Etc/UTC
                User-ID: 0
                X-Server: false

                Pending OS-Updates: 121
                Pending iob updates: 0

                Nodejs-Installation: /usr/bin/nodejs v12.22.7
                /usr/local/bin/node v18.17.1
                /usr/local/bin/npm 9.6.7
                /usr/local/bin/npx 9.6.7

                Recommended versions are nodejs 18.x.y and npm 9.x.y
                *** nodejs is NOT correctly installed ***

                MEMORY:
                total used free shared buff/cache available
                Mem: 9.8G 3.7G 407M 558M 5.6G 5.2G
                Swap: 7.9G 419M 7.5G
                Total: 17G 4.2G 7.9G

                Active iob-Instances: 34
                Active repo(s): default, beta

                ioBroker Core: js-controller 5.0.12
                admin 6.9.1

                ioBroker Status: iobroker is running on this host.

                Objects type: jsonl
                States type: jsonl

                Status admin and web instance:

                • system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin
                • system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin

                Objects: 20245
                States: 3

                Size of iob-Database:

                25M /opt/iobroker/iobroker-data/objects.jsonl
                13M /opt/iobroker/iobroker-data/objects.json.migrated
                13M /opt/iobroker/iobroker-data/objects.json.bak.migrated
                61M /opt/iobroker/iobroker-data/states.jsonl
                1.9M /opt/iobroker/iobroker-data/states.json.migrated
                1.9M /opt/iobroker/iobroker-data/states.json.bak.migrated

                =================== END OF SUMMARY ====================

                1 Antwort Letzte Antwort
                0
                • C csp

                  @thomas-braun

                  
                  

                  ======================= SUMMARY =======================
                  v.2023-04-16

                  Operatingsystem: Debian GNU/Linux 11 (bullseye)
                  Kernel: 4.4.180+
                  Installation: Docker
                  Timezone: Etc/UTC
                  User-ID: 0
                  X-Server: false

                  Pending OS-Updates: 121
                  Pending iob updates: 0

                  Nodejs-Installation: /usr/bin/nodejs v12.22.7
                  /usr/local/bin/node v18.17.1
                  /usr/local/bin/npm 9.6.7
                  /usr/local/bin/npx 9.6.7

                  Recommended versions are nodejs 18.x.y and npm 9.x.y
                  *** nodejs is NOT correctly installed ***

                  MEMORY:
                  total used free shared buff/cache available
                  Mem: 9.8G 3.7G 407M 558M 5.6G 5.2G
                  Swap: 7.9G 419M 7.5G
                  Total: 17G 4.2G 7.9G

                  Active iob-Instances: 34
                  Active repo(s): default, beta

                  ioBroker Core: js-controller 5.0.12
                  admin 6.9.1

                  ioBroker Status: iobroker is running on this host.

                  Objects type: jsonl
                  States type: jsonl

                  Status admin and web instance:

                  • system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  • system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin

                  Objects: 20245
                  States: 3

                  Size of iob-Database:

                  25M /opt/iobroker/iobroker-data/objects.jsonl
                  13M /opt/iobroker/iobroker-data/objects.json.migrated
                  13M /opt/iobroker/iobroker-data/objects.json.bak.migrated
                  61M /opt/iobroker/iobroker-data/states.jsonl
                  1.9M /opt/iobroker/iobroker-data/states.json.migrated
                  1.9M /opt/iobroker/iobroker-data/states.json.bak.migrated

                  =================== END OF SUMMARY ====================

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #26

                  @csp sagte in Neato Botvac adapter - further development:

                  *** nodejs is NOT correctly installed ***

                  No need to read any further...
                  The correct installation of nodejs as runtime environment ist crucial.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  C 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @csp sagte in Neato Botvac adapter - further development:

                    *** nodejs is NOT correctly installed ***

                    No need to read any further...
                    The correct installation of nodejs as runtime environment ist crucial.

                    C Offline
                    C Offline
                    csp
                    schrieb am zuletzt editiert von
                    #27

                    @thomas-braun you are faster than I can correct my double post. :-)
                    Yes, saw that as well. Need to see how I fix it.

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • C csp

                      @thomas-braun you are faster than I can correct my double post. :-)
                      Yes, saw that as well. Need to see how I fix it.

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von Thomas Braun
                      #28

                      @csp

                      This is a Docker?

                      Use the latest Version of Buanet Docker.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      C 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @csp

                        This is a Docker?

                        Use the latest Version of Buanet Docker.

                        C Offline
                        C Offline
                        csp
                        schrieb am zuletzt editiert von
                        #29

                        @thomas-braun yes, Docker. Will most likely use Portainer to recreate and pull latest image.

                        C 1 Antwort Letzte Antwort
                        0
                        • C csp

                          @thomas-braun yes, Docker. Will most likely use Portainer to recreate and pull latest image.

                          C Offline
                          C Offline
                          csp
                          schrieb am zuletzt editiert von
                          #30

                          Did everything and node.js seems fine now. So at least this is fixed.
                          BUT: My original problem with the adapter persists. Deleted and re-installed and same issue...
                          Tried npm install --production in adapter directory. - Also not helping...
                          I'm lost :-/

                          root@iobroker:/opt/iobroker/node_modules/iobroker.botvac# npm install --production
                          npm WARN config production Use `--omit=dev` instead.
                          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                          npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                          
                          added 53 packages in 35s
                          

                          result:

                          host.iobroker
                          2023-09-01 19:33:28.292	info	iobroker npm-rebuild: Rebuilding native modules ...
                          host.iobroker
                          2023-09-01 19:33:26.133	info	iobroker rebuild
                          host.iobroker
                          2023-09-01 19:33:26.133	warn	adapter "botvac" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
                          host.iobroker
                          2023-09-01 19:33:26.132	info	system.adapter.botvac.0 will be rebuilt
                          host.iobroker
                          2023-09-01 19:33:26.131	info	Adapter system.adapter.botvac.0 needs rebuild and will be restarted afterwards.
                          host.iobroker
                          2023-09-01 19:33:26.131	error	instance system.adapter.botvac.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                          host.iobroker
                          2023-09-01 19:33:26.131	error	Caught by controller[0]: Node.js v18.17.1
                          host.iobroker
                          2023-09-01 19:33:26.131	error	Caught by controller[0]: }
                          host.iobroker
                          2023-09-01 19:33:26.131	error	Caught by controller[0]: ]
                          host.iobroker
                          2023-09-01 19:33:26.130	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.botvac/main.js'
                          host.iobroker
                          2023-09-01 19:33:26.130	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.botvac/lib/utils.js',
                          host.iobroker
                          2023-09-01 19:33:26.130	error	Caught by controller[0]: requireStack: [
                          host.iobroker
                          2023-09-01 19:33:26.130	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                          host.iobroker
                          2023-09-01 19:33:26.130	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) {
                          host.iobroker
                          2023-09-01 19:33:26.130	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12)
                          host.iobroker
                          2023-09-01 19:33:26.130	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32)
                          host.iobroker
                          2023-09-01 19:33:26.130	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                          host.iobroker
                          2023-09-01 19:33:26.130	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
                          host.iobroker
                          2023-09-01 19:33:26.130	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.botvac/lib/utils.js:46:25)
                          host.iobroker
                          2023-09-01 19:33:26.130	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:121:18)
                          host.iobroker
                          2023-09-01 19:33:26.129	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
                          host.iobroker
                          2023-09-01 19:33:26.129	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:922:27)
                          host.iobroker
                          2023-09-01 19:33:26.129	error	Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
                          host.iobroker
                          2023-09-01 19:33:26.129	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.botvac/main.js
                          host.iobroker
                          2023-09-01 19:33:26.129	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.botvac/lib/utils.js
                          host.iobroker
                          2023-09-01 19:33:26.129	error	Caught by controller[0]: Require stack:
                          host.iobroker
                          2023-09-01 19:33:26.129	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js'
                          host.iobroker
                          2023-09-01 19:33:26.129	error	Caught by controller[0]: ^
                          host.iobroker
                          2023-09-01 19:33:26.129	error	Caught by controller[0]: throw err;
                          host.iobroker
                          2023-09-01 19:33:26.128	error	Caught by controller[0]: node:internal/modules/cjs/loader:1080
                          host.iobroker
                          2023-09-01 19:33:25.447	info	instance system.adapter.botvac.0 started with pid 816
                          
                          P 1 Antwort Letzte Antwort
                          0
                          • C csp

                            Did everything and node.js seems fine now. So at least this is fixed.
                            BUT: My original problem with the adapter persists. Deleted and re-installed and same issue...
                            Tried npm install --production in adapter directory. - Also not helping...
                            I'm lost :-/

                            root@iobroker:/opt/iobroker/node_modules/iobroker.botvac# npm install --production
                            npm WARN config production Use `--omit=dev` instead.
                            npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                            npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                            
                            added 53 packages in 35s
                            

                            result:

                            host.iobroker
                            2023-09-01 19:33:28.292	info	iobroker npm-rebuild: Rebuilding native modules ...
                            host.iobroker
                            2023-09-01 19:33:26.133	info	iobroker rebuild
                            host.iobroker
                            2023-09-01 19:33:26.133	warn	adapter "botvac" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
                            host.iobroker
                            2023-09-01 19:33:26.132	info	system.adapter.botvac.0 will be rebuilt
                            host.iobroker
                            2023-09-01 19:33:26.131	info	Adapter system.adapter.botvac.0 needs rebuild and will be restarted afterwards.
                            host.iobroker
                            2023-09-01 19:33:26.131	error	instance system.adapter.botvac.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                            host.iobroker
                            2023-09-01 19:33:26.131	error	Caught by controller[0]: Node.js v18.17.1
                            host.iobroker
                            2023-09-01 19:33:26.131	error	Caught by controller[0]: }
                            host.iobroker
                            2023-09-01 19:33:26.131	error	Caught by controller[0]: ]
                            host.iobroker
                            2023-09-01 19:33:26.130	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.botvac/main.js'
                            host.iobroker
                            2023-09-01 19:33:26.130	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.botvac/lib/utils.js',
                            host.iobroker
                            2023-09-01 19:33:26.130	error	Caught by controller[0]: requireStack: [
                            host.iobroker
                            2023-09-01 19:33:26.130	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                            host.iobroker
                            2023-09-01 19:33:26.130	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) {
                            host.iobroker
                            2023-09-01 19:33:26.130	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12)
                            host.iobroker
                            2023-09-01 19:33:26.130	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32)
                            host.iobroker
                            2023-09-01 19:33:26.130	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                            host.iobroker
                            2023-09-01 19:33:26.130	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
                            host.iobroker
                            2023-09-01 19:33:26.130	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.botvac/lib/utils.js:46:25)
                            host.iobroker
                            2023-09-01 19:33:26.130	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:121:18)
                            host.iobroker
                            2023-09-01 19:33:26.129	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
                            host.iobroker
                            2023-09-01 19:33:26.129	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:922:27)
                            host.iobroker
                            2023-09-01 19:33:26.129	error	Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
                            host.iobroker
                            2023-09-01 19:33:26.129	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.botvac/main.js
                            host.iobroker
                            2023-09-01 19:33:26.129	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.botvac/lib/utils.js
                            host.iobroker
                            2023-09-01 19:33:26.129	error	Caught by controller[0]: Require stack:
                            host.iobroker
                            2023-09-01 19:33:26.129	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js'
                            host.iobroker
                            2023-09-01 19:33:26.129	error	Caught by controller[0]: ^
                            host.iobroker
                            2023-09-01 19:33:26.129	error	Caught by controller[0]: throw err;
                            host.iobroker
                            2023-09-01 19:33:26.128	error	Caught by controller[0]: node:internal/modules/cjs/loader:1080
                            host.iobroker
                            2023-09-01 19:33:25.447	info	instance system.adapter.botvac.0 started with pid 816
                            
                            P Offline
                            P Offline
                            PeterVoronov
                            schrieb am zuletzt editiert von
                            #31

                            @csp
                            May be it has sence to downgrade the node version? To v16, i.e. version 7 of docker image ?

                            C 1 Antwort Letzte Antwort
                            0
                            • P PeterVoronov

                              @csp
                              May be it has sence to downgrade the node version? To v16, i.e. version 7 of docker image ?

                              C Offline
                              C Offline
                              csp
                              schrieb am zuletzt editiert von
                              #32

                              @petervoronov : Just tried that as well. - Same story, same error.
                              Now I try to restore my system. Need to see what backups I have...

                              C 1 Antwort Letzte Antwort
                              0
                              • C csp

                                @petervoronov : Just tried that as well. - Same story, same error.
                                Now I try to restore my system. Need to see what backups I have...

                                C Offline
                                C Offline
                                csp
                                schrieb am zuletzt editiert von
                                #33

                                I'm so glad to have automatic backup enabled on my server... Went back 2 months and it works again. I only moved my most recent objects.jsonl back to the folder. I'm not sure what happened in-between.
                                Just did diag and it looks good. (Will update adapters one by one...)

                                ======================= SUMMARY =======================
                                                     v.2023-04-16
                                
                                
                                Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                                Kernel:                 4.4.180+
                                Installation:           Docker
                                Timezone:               Etc/UTC
                                User-ID:                0
                                X-Server:               false
                                
                                
                                Pending OS-Updates:     0
                                Pending iob updates:    13
                                
                                Nodejs-Installation:    /usr/bin/nodejs         v18.17.1
                                                        /usr/bin/node           v18.17.1
                                                        /usr/bin/npm            9.6.7
                                                        /usr/bin/npx            9.6.7
                                
                                Recommended versions are nodejs 18.x.y and npm 9.x.y
                                Your nodejs installation is correct
                                
                                MEMORY: 
                                               total        used        free      shared  buff/cache   available
                                Mem:            9.8G        3.5G        555M        565M        5.8G        5.5G
                                Swap:           7.9G        434M        7.5G
                                Total:           17G        3.9G        8.1G
                                
                                Active iob-Instances:   35
                                Active repo(s): default, beta
                                
                                ioBroker Core:          js-controller           4.0.24
                                                        admin                   6.5.9
                                
                                ioBroker Status:        iobroker is running on this host.
                                
                                
                                Objects type: jsonl
                                States  type: jsonl
                                
                                Status admin and web instance:
                                + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                
                                Objects:                16657
                                States:                 14206
                                
                                Size of iob-Database:
                                
                                26M     /opt/iobroker/iobroker-data/objects.jsonl
                                13M     /opt/iobroker/iobroker-data/objects.json.migrated
                                13M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                                24M     /opt/iobroker/iobroker-data/states.jsonl
                                1.9M    /opt/iobroker/iobroker-data/states.json.migrated
                                1.9M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                                
                                
                                
                                =================== END OF SUMMARY ====================
                                
                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • C csp

                                  I'm so glad to have automatic backup enabled on my server... Went back 2 months and it works again. I only moved my most recent objects.jsonl back to the folder. I'm not sure what happened in-between.
                                  Just did diag and it looks good. (Will update adapters one by one...)

                                  ======================= SUMMARY =======================
                                                       v.2023-04-16
                                  
                                  
                                  Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                                  Kernel:                 4.4.180+
                                  Installation:           Docker
                                  Timezone:               Etc/UTC
                                  User-ID:                0
                                  X-Server:               false
                                  
                                  
                                  Pending OS-Updates:     0
                                  Pending iob updates:    13
                                  
                                  Nodejs-Installation:    /usr/bin/nodejs         v18.17.1
                                                          /usr/bin/node           v18.17.1
                                                          /usr/bin/npm            9.6.7
                                                          /usr/bin/npx            9.6.7
                                  
                                  Recommended versions are nodejs 18.x.y and npm 9.x.y
                                  Your nodejs installation is correct
                                  
                                  MEMORY: 
                                                 total        used        free      shared  buff/cache   available
                                  Mem:            9.8G        3.5G        555M        565M        5.8G        5.5G
                                  Swap:           7.9G        434M        7.5G
                                  Total:           17G        3.9G        8.1G
                                  
                                  Active iob-Instances:   35
                                  Active repo(s): default, beta
                                  
                                  ioBroker Core:          js-controller           4.0.24
                                                          admin                   6.5.9
                                  
                                  ioBroker Status:        iobroker is running on this host.
                                  
                                  
                                  Objects type: jsonl
                                  States  type: jsonl
                                  
                                  Status admin and web instance:
                                  + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                  + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                  
                                  Objects:                16657
                                  States:                 14206
                                  
                                  Size of iob-Database:
                                  
                                  26M     /opt/iobroker/iobroker-data/objects.jsonl
                                  13M     /opt/iobroker/iobroker-data/objects.json.migrated
                                  13M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                                  24M     /opt/iobroker/iobroker-data/states.jsonl
                                  1.9M    /opt/iobroker/iobroker-data/states.json.migrated
                                  1.9M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                                  
                                  
                                  
                                  =================== END OF SUMMARY ====================
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #34

                                  @csp

                                  Please setup the time zone and do not mix the repos:

                                  Active repo(s): default, beta
                                  

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  C 2 Antworten Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @csp

                                    Please setup the time zone and do not mix the repos:

                                    Active repo(s): default, beta
                                    
                                    C Offline
                                    C Offline
                                    csp
                                    schrieb am zuletzt editiert von csp
                                    #35

                                    @thomas-braun fixed and thanks for the help.
                                    Will now update adapters. I'm curious if js adapter will cause again the issue.
                                    Edit: All adapters updated. No problem.
                                    Now final step: js controller 4.0.24 -> 5.0.12 - let's see :-)

                                    1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @csp

                                      Please setup the time zone and do not mix the repos:

                                      Active repo(s): default, beta
                                      
                                      C Offline
                                      C Offline
                                      csp
                                      schrieb am zuletzt editiert von
                                      #36

                                      @thomas-braun so now I found the issue.
                                      js controller update is causing issue.
                                      Maybe the way I'm doing it is not correct.
                                      Here is what I did:
                                      iobroker console:

                                      pkill -u iobroker
                                      iobroker update
                                      iobroker upgrade self
                                      

                                      -> js controller gets upgraded, but now I have the old problem.
                                      What am I'm doing wrong?

                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • C csp

                                        @thomas-braun so now I found the issue.
                                        js controller update is causing issue.
                                        Maybe the way I'm doing it is not correct.
                                        Here is what I did:
                                        iobroker console:

                                        pkill -u iobroker
                                        iobroker update
                                        iobroker upgrade self
                                        

                                        -> js controller gets upgraded, but now I have the old problem.
                                        What am I'm doing wrong?

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #37

                                        @csp sagte in Neato Botvac adapter - further development:

                                        What am I'm doing wrong?

                                        Nothing. It seems as if the adapter needs to be adjusted to the current js-controller.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        C 1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @csp sagte in Neato Botvac adapter - further development:

                                          What am I'm doing wrong?

                                          Nothing. It seems as if the adapter needs to be adjusted to the current js-controller.

                                          C Offline
                                          C Offline
                                          csp
                                          schrieb am zuletzt editiert von
                                          #38

                                          @PeterVoronov -> maybe something you could take a look...
                                          Until then I'll stay on 4.0.24

                                          P 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          824

                                          Online

                                          32.5k

                                          Benutzer

                                          81.6k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe