Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Npm Fehler / ioBroker startet nicht

    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

    Npm Fehler / ioBroker startet nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @ChrisNett last edited by

      @christian-sandkaulen

      Keine Ahnung wie oder wer die iobroker.json anlegt.
      Versuch mal

      iobroker setup first
      
      ChrisNett 1 Reply Last reply Reply Quote 0
      • ChrisNett
        ChrisNett @Thomas Braun last edited by

        danke, scheinbar war es das er fährt hoch

        pi@PI4:/opt/iobroker $ iobroker setup first
        creating conf/iobroker.json
        Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
        pi@PI4:/opt/iobroker $ ^C
        pi@PI4:/opt/iobroker $ iobroker start
        pi@PI4:/opt/iobroker $ ^C
        pi@PI4:/opt/iobroker $ iobroker list instances
        
        + system.adapter.admin.1                  : admin                 : PI4                                      -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        + system.adapter.alexa2.1                 : alexa2                : PI4                                      -  enabled
          system.adapter.backitup.0               : backitup              : PI4                                      -  enabled
        + system.adapter.broadlink2.0             : broadlink2            : PI4                                      -  enabled
        + system.adapter.cloud.0                  : cloud                 : PI4                                      -  enabled
          system.adapter.coronavirus-statistics.0 : coronavirus-statistics: PI4                                      -  enabled
        + system.adapter.denon.0                  : denon                 : PI4                                      -  enabled
          system.adapter.devices.0                : devices               : PI4                                      - disabled
          system.adapter.discovery.0              : discovery             : PI4                                      - disabled
        + system.adapter.dwd.0                    : dwd                   : PI4                                      -  enabled
          system.adapter.echarts.0                : echarts               : PI4                                      -  enabled
          system.adapter.fahrplan.0               : fahrplan              : PI4                                      -  enabled
          system.adapter.fb-checkpresence.0       : fb-checkpresence      : PI4                                      -  enabled
        + system.adapter.feiertage.0              : feiertage             : PI4                                      -  enabled
          system.adapter.flot.0                   : flot                  : PI4                                      - disabled
        + system.adapter.history.0                : history               : PI4                                      -  enabled
        + system.adapter.hmip.0                   : hmip                  : PI4                                      -  enabled
          system.adapter.ical.0                   : ical                  : PI4                                      -  enabled
          system.adapter.ical.1                   : ical                  : PI4                                      -  enabled
          system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: PI4                                      - disabled
          system.adapter.icons-icons8.0           : icons-icons8          : PI4                                      - disabled
          system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : PI4                                      - disabled
          system.adapter.info.0                   : info                  : PI4                                      -  enabled
          system.adapter.iot.0                    : iot                   : PI4                                      -  enabled
        + system.adapter.javascript.0             : javascript            : PI4                                      -  enabled
        + system.adapter.klf200.0                 : klf200                : PI4                                      -  enabled
          system.adapter.logparser.0              : logparser             : PI4                                      - disabled
        + system.adapter.mihome-vacuum.0          : mihome-vacuum         : PI4                                      -  enabled, port: 54321
        + system.adapter.mihome-vacuum.1          : mihome-vacuum         : PI4                                      -  enabled, port: 54321
        + system.adapter.mihome-vacuum.2          : mihome-vacuum         : PI4                                      -  enabled, port: 54321
          system.adapter.mqtt.0                   : mqtt                  : PI4                                      - disabled, port: 1893, bind: 0.0.0.0
          system.adapter.onvif.0                  : onvif                 : PI4                                      - disabled
          system.adapter.parcel.0                 : parcel                : PI4                                      -  enabled
          system.adapter.parser.0                 : parser                : PI4                                      - disabled
        + system.adapter.pegelalarm.0             : pegelalarm            : PI4                                      -  enabled
          system.adapter.pi-hole.0                : pi-hole               : PI4                                      -  enabled
        + system.adapter.ping.0                   : ping                  : PI4                                      -  enabled
        + system.adapter.pollenflug.0             : pollenflug            : PI4                                      -  enabled
          system.adapter.pvforecast.0             : pvforecast            : PI4                                      -  enabled
        + system.adapter.rpi2.0                   : rpi2                  : PI4                                      -  enabled
        + system.adapter.samsung.0                : samsung               : PI4                                      -  enabled
        + system.adapter.shelly.0                 : shelly                : PI4                                      -  enabled, port: 1882, bind: 0.0.0.0
        + system.adapter.simple-api.0             : simple-api            : PI4                                      -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
        + system.adapter.sonoff.0                 : sonoff                : PI4                                      -  enabled, port: 1883, bind: 0.0.0.0
          system.adapter.sourceanalytix.0         : sourceanalytix        : PI4                                      - disabled
          system.adapter.tankerkoenig.0           : tankerkoenig          : PI4                                      -  enabled
        + system.adapter.telegram.0               : telegram              : PI4                                      -  enabled, port: 8443, bind: 0.0.0.0
          system.adapter.text2command.0           : text2command          : PI4                                      -  enabled
        + system.adapter.tr-064.0                 : tr-064                : PI4                                      -  enabled
          system.adapter.trashschedule.0          : trashschedule         : PI4                                      -  enabled
          system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : PI4                                      - disabled
          system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : PI4                                      - disabled
          system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : PI4                                      - disabled
          system.adapter.vis-icontwo.0            : vis-icontwo           : PI4                                      - disabled
        + system.adapter.vis-inventwo.0           : vis-inventwo          : PI4                                      -  enabled
          system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : PI4                                      - disabled
          system.adapter.vis-material-webfont.0   : vis-material-webfont  : PI4                                      - disabled
          system.adapter.vis-materialdesign.0     : vis-materialdesign    : PI4                                      - disabled
          system.adapter.vis-metro.0              : vis-metro             : PI4                                      - disabled
          system.adapter.vis.0                    : vis                   : PI4                                      -  enabled
        + system.adapter.weatherunderground.0     : weatherunderground    : PI4                                      -  enabled
          system.adapter.web-speedy.0             : web-speedy            : PI4                                      - disabled
          system.adapter.web.0                    : web                   : PI4                                      -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          system.adapter.worx.0                   : worx                  : PI4                                      -  enabled
        + system.adapter.zigbee.0                 : zigbee                : PI4                                      -  enabled, port: /dev/ttyUSB0
        
        + instance is alive
        pi@PI4:/opt/iobroker $
        pi@PI4:/opt/iobroker $
        
        
        ChrisNett 1 Reply Last reply Reply Quote 0
        • ChrisNett
          ChrisNett @ChrisNett last edited by

          aa5886e2-1541-47de-88c7-d3e1398cfda7-image.png

          kommt jetzt muss ich da noch was machen?

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

            @christian-sandkaulen

            Das heißt, du warst noch gar nicht auf jsonl?
            Dann ist es jetzt wohl so weit.

            iobroker status
            

            sagt?

            iobroker update -i
            
            ChrisNett 1 Reply Last reply Reply Quote 0
            • ChrisNett
              ChrisNett @Thomas Braun last edited by ChrisNett

              @thomas-braun sagte in Npm Fehler / ioBroker startet nicht:

              pi@PI4:/opt/iobroker $ iobroker status
              iobroker is running on this host.
              
              
              Objects type: jsonl
              States  type: jsonl
              
              
              pi@PI4:/opt/iobroker $ iobroker update -i
              Used repository: Stable (default)
              Adapter    "admin"        : 5.3.8    , installed 5.3.8
              Adapter    "alexa2"       : 3.11.2   , installed 3.11.2
              Adapter    "backitup"     : 2.4.6    , installed 2.4.6
              Adapter    "broadlink2"   : 2.1.5    , installed 2.1.5
              Adapter    "cloud"        : 4.1.1    , installed 4.1.1
              Adapter    "coronavirus-statistics": 0.8.7, installed 0.8.7
              Adapter    "denon"        : 1.13.3   , installed 1.13.3
              Adapter    "devices"      : 1.0.10   , installed 1.0.10
              Adapter    "discovery"    : 3.0.3    , installed 3.0.3
              Adapter    "dwd"          : 2.8.3    , installed 2.8.3
              Adapter    "echarts"      : 1.0.3    , installed 1.0.3
              Adapter    "fahrplan"     : 1.2.0    , installed 1.2.0
              Adapter    "fb-checkpresence": 1.1.14, installed 1.1.14
              Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
              Adapter    "flot"         : 1.10.7   , installed 1.10.7
              Adapter    "history"      : 1.11.1   , installed 1.11.1
              Adapter    "hmip"         : 1.15.4   , installed 1.15.4
              Adapter    "hs100"        : 2.0.6    , installed 2.0.6
              Adapter    "ical"         : 1.12.1   , installed 1.12.1
              Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
              Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
              Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
              Adapter    "info"         : 1.9.18   , installed 1.9.18
              Adapter    "iot"          : 1.11.4   , installed 1.11.4
              Adapter    "javascript"   : 5.2.21   , installed 5.2.21
              Controller "js-controller": 4.0.21   , installed 4.0.21
              Adapter    "klf200"       : 1.0.1    , installed 1.0.1
              Adapter    "km200"        : 2.0.3    , installed 2.0.3
              Adapter    "landroid"     : 1.0.3    , installed 1.0.3
              Adapter    "logparser"    : 1.1.0    , installed 1.1.0
              Adapter    "mihome"       : 1.4.0    , installed 1.4.0
              Adapter    "mihome-vacuum": 3.3.1    , installed 3.3.1
              Adapter    "moma"         : 1.2.9    , installed 1.2.9
              Adapter    "mqtt"         : 2.7.4    , installed 2.7.4
              Adapter    "onvif"        : 0.4.4    , installed 0.4.4
              Adapter    "parcel"       : 0.0.15   , installed 0.0.15
              Adapter    "parser"       : 1.1.4    , installed 1.1.4
              Adapter    "pegelalarm"   : 1.2.5    , installed 1.2.5
              Adapter    "pi-hole"      : 1.3.4    , installed 1.3.4
              Adapter    "ping"         : 1.5.3    , installed 1.5.3
              Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
              Adapter    "radar2"       : 2.0.3    , installed 2.0.3
              Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
              Adapter    "samsung"      : 0.2.9    , installed 0.2.9
              Adapter    "seq"          : 0.2.10   , installed 0.2.10
              Adapter    "shelly"       : 5.3.2    , installed 5.3.2
              Adapter    "simple-api"   : 2.6.4    , installed 2.6.4
              Adapter    "socketio"     : 4.2.0    , installed 4.2.0
              Adapter    "sonoff"       : 2.5.0    , installed 2.5.0
              Adapter    "spotify-premium": 1.0.0  , installed 1.1.3
              Adapter    "tankerkoenig" : 2.1.1    , installed 2.1.1
              Adapter    "telegram"     : 1.12.2   , installed 1.12.2
              Adapter    "text2command" : 2.2.1    , installed 2.2.1
              Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
              Adapter    "trashschedule": 1.4.5    , installed 1.4.5
              Adapter    "unifi"        : 0.5.10   , installed 0.5.10
              Adapter    "upnp"         : 1.0.21   , installed 1.0.21
              Adapter    "vis"          : 1.4.5    , installed 1.4.5
              Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
              Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
              Adapter    "vis-hqwidgets": 1.1.9    , installed 1.1.9
              Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.1
              Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
              Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
              Adapter    "weatherunderground": 3.4.1, installed 3.4.1
              Adapter    "web"          : 4.2.3    , installed 4.2.3
              Adapter    "wifilight"    : 1.1.0    , installed 1.1.0
              Adapter    "worx"         : 1.5.5    , installed 1.5.5
              Adapter    "ws"           : 1.2.0    , installed 1.3.0
              Adapter    "zigbee"       : 1.6.16   , installed 1.6.16
              pi@PI4:/opt/iobroker $
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @ChrisNett last edited by

                @christian-sandkaulen

                Gut. Sollte laufen.

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

                  @thomas-braun

                  danke, die Visualisierung ist nur weg, kann ich dir irgendwie aus dem backup wieder herstellen?

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

                    @christian-sandkaulen

                    Ich hab keine Vis laufen. Ich kann dir nicht sagen ob und wie die gebackupt wird.

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

                      @christian-sandkaulen sagte in Npm Fehler / ioBroker startet nicht:

                      kann ich dir irgendwie aus dem backup wieder herstellen?

                      irgendwo müsste die vis-views.json liegen. Da sind alle Views drin

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

                        @homoran sagte in Npm Fehler / ioBroker startet nicht:

                        @christian-sandkaulen sagte in Npm Fehler / ioBroker startet nicht:

                        kann ich dir irgendwie aus dem backup wieder herstellen?

                        irgendwo müsste die vis-views.json liegen. Da sind alle Views drin

                        danke die habe ich gefunden aber wie spiele ich das wieder ein? Import? View

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

                          @christian-sandkaulen sagte in Npm Fehler / ioBroker startet nicht:

                          danke die habe ich gefunden aber wie spiele ich das wieder ein? Import? View

                          Austauschen!
                          Da sind alle Views und Projekte drin

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

                            @homoran sagte in Npm Fehler / ioBroker startet nicht:

                            @christian-sandkaulen sagte in Npm Fehler / ioBroker startet nicht:

                            danke die habe ich gefunden aber wie spiele ich das wieder ein? Import? View

                            Austauschen!
                            Da sind alle Views und Projekte drin

                            okay als nicht linux user was ist der einfachtse weg? FTP oder geht das auch per ssh?

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

                              @christian-sandkaulen sagte in Npm Fehler / ioBroker startet nicht:

                              okay als nicht linux user was ist der einfachtse weg? FTP oder geht das auch per ssh?

                              Als Nicht Linux User kann ich dir nicht sagen, wie es mit SSH geht.
                              Dazu könnte @Thomas-Braun etwas sagen.

                              Ich mache es mit filezilla, aber als user, der auch in der Gruppe iobroker ist, auf keinen Fall als root

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

                                @homoran

                                also nicht der "pi" std user?

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

                                  @christian-sandkaulen sagte in Npm Fehler / ioBroker startet nicht:

                                  also nicht der "pi" std user?

                                  bei mir ist der user pi in der Gruppe iobroker drin
                                  Aber warte doch mal auf die Antwort von Thomas

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

                                    @homoran sagte in Npm Fehler / ioBroker startet nicht:

                                    @christian-sandkaulen sagte in Npm Fehler / ioBroker startet nicht:

                                    also nicht der "pi" std user?

                                    bei mir ist der user pi in der Gruppe iobroker drin
                                    Aber warte doch mal auf die Antwort von Thomas

                                    @thomasBraun
                                    könntest du mir helfen?

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

                                      @christian-sandkaulen

                                      Wo liegt die Datei denn nun?

                                      cp /pfad/zur/quelle /pfad/zum/ziel
                                      

                                      Vorausgesetzt dein Standarduser ist in der Gruppe 'iobroker' drin.
                                      Sonst:

                                      sudo -u iobroker cp /pfad/zur/quelle /pfad/zum/ziel
                                      
                                      ChrisNett 1 Reply Last reply Reply Quote 0
                                      • ChrisNett
                                        ChrisNett @Thomas Braun last edited by

                                        @thomas-braun sagte in Npm Fehler / ioBroker startet nicht:

                                        @christian-sandkaulen

                                        Wo liegt die Datei denn nun?

                                        cp /pfad/zur/quelle /pfad/zum/ziel
                                        

                                        Vorausgesetzt dein Standarduser ist in der Gruppe 'iobroker' drin.
                                        Sonst:

                                        sudo -u iobroker cp /pfad/zur/quelle /pfad/zum/ziel
                                        

                                        ähm vom Windows PC zum pi ?

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

                                          @christian-sandkaulen
                                          Machs mit Filezilla... 😄

                                          Ich würde mir vermutlich eine SMB-Freigabe auf dem Windows einrichten und die in den Raspberry mounten und dann von dort wegkopieren.

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

                                            @thomas-braun
                                            🙂 in welchem verzeichnis liegt die datei ? /home/pi... und dann ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            435
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            npm err
                                            4
                                            45
                                            2078
                                            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