Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. master / slave fehler

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    master / slave fehler

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rasen1992 @Homoran last edited by

      @Homoran
      Master

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

        @rasen1992 sagte in master / slave fehler:

        Habe den slave umbenannt in pislave trotzdem bleibt er inaktiv...

        Wie hast du das gemacht?

        und wieso heisst jetzt der Master
        @rasen1992 sagte in master / slave fehler:

        raspberrypinew:

        oder ist das der slave?

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

          @rasen1992 sagte in master / slave fehler:

          Cannot find module '/home/pi/node_modules/iobroker.js-controller/controller.js'

          wo bist du denn da?

          R 1 Reply Last reply Reply Quote 0
          • R
            rasen1992 @Homoran last edited by

            @Homoran

            192.168.0.15 = master habe ich über raspi-config auf raspberrypinew umbenannt
            iobroker host this ausgeführt

            192.168.0.40 = pislave auch via raspi-config

            1 Reply Last reply Reply Quote 0
            • R
              rasen1992 @Homoran last edited by

              @Homoran oh mist war mein fehler... ordner wechseln

              
              pi@raspberrypinew:~ $ cd /opt/iobroker
              pi@raspberrypinew:/opt/iobroker $ node node_modules/iobroker.js-controller/controller.js --logs
              2020-10-20 21:48:53.201  - info: host.raspberrypinew iobroker.js-controller version 3.1.6 js-controller starting
              2020-10-20 21:48:53.208  - info: host.raspberrypinew Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker
              2020-10-20 21:48:53.209  - info: host.raspberrypinew hostname: raspberrypinew, node: v12.19.0
              2020-10-20 21:48:53.211  - info: host.raspberrypinew ip addresses: 192.168.0.15 fe80::71bf:50d2:1925:ea77
              
              
              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @rasen1992 last edited by

                @rasen1992 jetzt hast du mich abgehängt, muss aber auch weg, vielleicht hat @Thomas-Braun noch Zeit

                R 2 Replies Last reply Reply Quote 0
                • R
                  rasen1992 @Homoran last edited by

                  @Homoran ok danke trotzdem,

                  kann ich das ganze evtl sonst rückgängig machen ?

                  1 Reply Last reply Reply Quote 0
                  • R
                    rasen1992 @Homoran last edited by rasen1992

                    @Homoran

                    
                    pi@raspberrypi:~ $ iobroker list hosts
                    raspberrypi         system.host.raspberrypi (version: 3.1.6, hostname: raspberry                          pi   ,  dead, uptime: 56800)
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @rasen1992 last edited by

                      @rasen1992
                      Ich dachte das Ding heißt nun raspberrypinew?
                      Kann dir da nicht mehr folgen...

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        rasen1992 @Thomas Braun last edited by rasen1992

                        @Thomas-Braun habs wieder geändert dachte evtl. findert er so den host wieder. .. (raspberrypi ist ja der standard name )

                        also ist der master

                        
                        pi@raspberrypi:/opt/iobroker $ iobroker list hosts
                        raspberrypi         system.host.raspberrypi (version: 3.1.6, hostname: raspberrypi   ,  dead, uptime: 56800)
                        pi@raspberrypi:/opt/iobroker $ iobroker start
                        pi@raspberrypi:/opt/iobroker $ iobroker status
                        iobroker is not running on this host.
                        
                        No iobroker host is running.
                        
                        Objects type: file
                        States  type: file
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @rasen1992 last edited by Thomas Braun

                          @rasen1992
                          Dann lass den slave jetzt mal außer Acht.

                          iobroker list adapters
                          
                          R 1 Reply Last reply Reply Quote 0
                          • R
                            rasen1992 @Thomas Braun last edited by

                            @Thomas-Braun
                            oke

                            
                            pi@raspberrypi:~ $ iobroker list adapters
                            system.adapter.admin                   : admin          - v4.0.10
                            system.adapter.alexa2                  : alexa2         - v3.3.1
                            system.adapter.backitup                : backitup       - v1.6.7
                            system.adapter.broadlink2              : broadlink2     - v2.0.3
                            system.adapter.cloud                   : cloud          - v3.0.4
                            system.adapter.daswetter               : daswetter      - v3.0.1
                            system.adapter.deconz                  : deconz         - v1.3.10
                            system.adapter.discovery               : discovery      - v2.3.7
                            system.adapter.feiertage               : feiertage      - v1.0.19
                            system.adapter.firetv                  : firetv         - v0.0.27
                            system.adapter.ical                    : ical           - v1.7.4
                            system.adapter.icons-icons8            : icons-icons8   - v0.0.1
                            system.adapter.icons-mfd-png           : icons-mfd-png  - v1.0.2
                            system.adapter.icons-mfd-svg           : icons-mfd-svg  - v1.0.2
                            system.adapter.icons-open-icon-library-png: icons-open-icon-library-png - v0.1.3
                            system.adapter.icons-ultimate-png      : icons-ultimate-png - v1.0.1
                            system.adapter.info                    : info           - v1.7.2
                            system.adapter.iot                     : iot            - v1.5.3
                            system.adapter.javascript              : javascript     - v4.6.17
                            system.adapter.kodi                    : kodi           - v2.0.4
                            system.adapter.material                : material       - v0.13.9
                            system.adapter.mihome-vacuum           : mihome-vacuum  - v2.2.4
                            system.adapter.nello                   : nello          - v2.0.6
                            system.adapter.node-red                : node-red       - v1.17.2
                            system.adapter.ping                    : ping           - v1.4.8
                            system.adapter.radar2                  : radar2         - v2.0.1
                            system.adapter.scenes                  : scenes         - v1.1.0
                            system.adapter.shelly                  : shelly         - v4.0.1
                            system.adapter.simple-api              : simple-api     - v2.4.6
                            system.adapter.socketio                : socketio       - v3.0.13
                            system.adapter.telegram                : telegram       - v1.5.9
                            system.adapter.text2command            : text2command   - v2.0.5
                            system.adapter.viessmann               : viessmann      - v1.3.0
                            system.adapter.vis                     : vis            - v1.2.12
                            system.adapter.vis-bars                : vis-bars       - v0.1.4
                            system.adapter.vis-colorpicker         : vis-colorpicker - v1.2.0
                            system.adapter.vis-fancyswitch         : vis-fancyswitch - v1.1.0
                            system.adapter.vis-google-fonts        : vis-google-fonts - v1.0.0
                            system.adapter.vis-hqwidgets           : vis-hqwidgets  - v1.1.4
                            system.adapter.vis-jqui-mfd            : vis-jqui-mfd   - v1.0.12
                            system.adapter.vis-materialdesign      : vis-materialdesign - v0.2.80
                            system.adapter.vis-timeandweather      : vis-timeandweather - v1.1.7
                            system.adapter.vis-weather             : vis-weather    - v2.5.2
                            system.adapter.web                     : web            - v3.0.12
                            system.adapter.zigbee                  : zigbee         - v1.2.1
                            system.adapter.terminal                : terminal       - v0.1.2
                            system.adapter.mqtt                    : mqtt           - v2.1.4
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @rasen1992 last edited by

                              @rasen1992

                              iobroker list instances
                              
                              R 1 Reply Last reply Reply Quote 0
                              • R
                                rasen1992 @Thomas Braun last edited by

                                @Thomas-Braun

                                pi@raspberrypi:~ $ iobroker list instances
                                  system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                  system.adapter.alexa2.0                : alexa2                -  enabled
                                  system.adapter.backitup.0              : backitup              -  enabled
                                  system.adapter.broadlink2.0            : broadlink2            -  enabled
                                  system.adapter.cloud.0                 : cloud                 -  enabled
                                  system.adapter.daswetter.0             : daswetter             -  enabled
                                  system.adapter.deconz.0                : deconz                -  enabled, port: 80
                                  system.adapter.discovery.0             : discovery             - disabled
                                  system.adapter.feiertage.0             : feiertage             -  enabled
                                  system.adapter.firetv.0                : firetv                - disabled
                                  system.adapter.ical.0                  : ical                  -  enabled
                                  system.adapter.icons-icons8.0          : icons-icons8          - disabled
                                  system.adapter.icons-mfd-svg.0         : icons-mfd-svg         - disabled
                                  system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png - disabled
                                  system.adapter.icons-ultimate-png.0    : icons-ultimate-png    - disabled
                                  system.adapter.info.0                  : info                  - disabled
                                  system.adapter.iot.0                   : iot                   -  enabled
                                  system.adapter.javascript.0            : javascript            -  enabled
                                  system.adapter.material.0              : material              - disabled
                                  system.adapter.mihome-vacuum.0         : mihome-vacuum         -  enabled, port: 54321
                                  system.adapter.mqtt.0                  : mqtt                  -  enabled, port: 1883, bind: 0.0.0.0
                                  system.adapter.nello.0                 : nello                 -  enabled
                                  system.adapter.node-red.0              : node-red              - disabled, port: 1880, bind: 0.0.0.0
                                  system.adapter.ping.0                  : ping                  - disabled
                                  system.adapter.radar2.0                : radar2                -  enabled
                                  system.adapter.scenes.0                : scenes                -  enabled
                                  system.adapter.shelly.0                : shelly                -  enabled, port: 1882, bind: 0.0.0.0
                                  system.adapter.telegram.0              : telegram              -  enabled, port: 8443, bind: 0.0.0.0
                                  system.adapter.terminal.0              : terminal              -  enabled, port: 8088, bind: 192.168.0.15, run as: admin
                                  system.adapter.text2command.0          : text2command          -  enabled
                                  system.adapter.vis-colorpicker.0       : vis-colorpicker       - disabled
                                  system.adapter.vis-jqui-mfd.0          : vis-jqui-mfd          - disabled
                                  system.adapter.vis-materialdesign.0    : vis-materialdesign    - disabled
                                  system.adapter.vis-timeandweather.0    : vis-timeandweather    - disabled
                                  system.adapter.vis.0                   : vis                   -  enabled
                                  system.adapter.web.0                   : web                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                  system.adapter.zigbee.0                : zigbee                - disabled, port: /dev/ttyACM0
                                
                                + instance is alive
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @rasen1992 last edited by Thomas Braun

                                  @rasen1992

                                  iobroker start admin
                                  
                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    rasen1992 @Thomas Braun last edited by

                                    @Thomas-Braun

                                    
                                    pi@raspberrypi:~ $ iobroker start admin
                                    pi@raspberrypi:~ $ iobroker status admin
                                    Instance "admin.0" is not running
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @rasen1992 last edited by

                                      @rasen1992

                                      iobroker fix
                                      
                                      R 1 Reply Last reply Reply Quote 0
                                      • R
                                        rasen1992 @Thomas Braun last edited by rasen1992

                                        
                                        pi@raspberrypi:~ $ iobroker fix
                                        library: loaded
                                        Library version=2020-06-12
                                        
                                        ==========================================================================
                                        
                                            Welcome to the ioBroker installation fixer!
                                            Script version: 2020-06-15
                                        
                                            You might need to enter your password a couple of times.
                                        
                                        ==========================================================================
                                        
                                        
                                        ==========================================================================
                                            Installing prerequisites (1/3)
                                        ==========================================================================
                                        
                                        Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                                        Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                        Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
                                        Hit:4 http://phoscon.de/apt/deconz buster InRelease
                                        Reading package lists... Done
                                        N: Ignoring file 'deconz.listsudo' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                                        Installed gcc-c++
                                        
                                        ==========================================================================
                                            Checking ioBroker user and directory permissions (2/3)
                                        ==========================================================================
                                        
                                        Created /etc/sudoers.d/iobroker
                                        Fixing directory permissions...
                                        
                                        ==========================================================================
                                            Checking autostart (3/3)
                                        ==========================================================================
                                        
                                        Enabling autostart...
                                        Autostart enabled!
                                        
                                        ==========================================================================
                                        
                                            Your installation was fixed successfully
                                            Run iobroker start to start ioBroker again!
                                        
                                        ==========================================================================
                                        
                                        pi@raspberrypi:~ $ iobroker start
                                        pi@raspberrypi:~ $ iobroker status
                                        iobroker is not running on this host.
                                        
                                        No iobroker host is running.
                                        
                                        Objects type: file
                                        States  type: file
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @rasen1992 last edited by

                                          @rasen1992 sagte in master / slave fehler:

                                          'deconz.listsudo'

                                          Da hast du auch einen Fehler in den sourcen drin...

                                          iobroker host this
                                          
                                          R 1 Reply Last reply Reply Quote 0
                                          • R
                                            rasen1992 @Thomas Braun last edited by

                                            @Thomas-Braun
                                            was bedeutet der Fehler ??

                                            pi@raspberrypi:~ $ iobroker host this
                                            A host with the name "raspberrypi" already exists!
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            874
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            slave
                                            5
                                            79
                                            3453
                                            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