Navigation

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

    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

    ioBroker startet nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fastfoot @fraso last edited by

      @fraso gar nicht, schau im Ordner backup-objects. Welche js-controller version hast du?

      F 1 Reply Last reply Reply Quote 0
      • F
        fastfoot @fraso last edited by

        @fraso evtl. hat sich die alte iobroker.json auch wieder durch das Restore eingeschlichen?

        F 1 Reply Last reply Reply Quote 0
        • F
          fraso @fastfoot last edited by

          @fastfoot

          hier die aktuelle iobroker.json

          ich habe die 60G Datei gelöscht und iobroker neu gestartet und jetzt aus dem Backup heute nacht wieder hergestellt. läuft gleich, dann sende ich die anderen Infos.

          {
            "system": {
              "memoryLimitMB": 0,
              "hostname": "",
              "statisticsInterval": 15000,
              "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated",
              "checkDiskInterval": 300000,
              "checkDiskIntervalComment": "Interval how often the disk size will be checked",
              "instanceStartInterval": 2000,
              "noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)",
              "compact": false,
              "compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in io-package.json",
              "allowShellCommands": false,
              "allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands",
              "memLimitWarn": 100,
              "memLimitWarnComment": "If the available RAM is below this threshold on adapter start, a warning will be logged.",
              "memLimitError": 50,
              "memLimitErrorComment": "If the available RAM is below this threshold on adapter start, an error will be logged."
            },
            "multihostService": {
              "enabled": false,
              "secure": true,
              "password": ""
            },
            "objects": {
              "type": "jsonl",
              "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
              "host": "127.0.0.1",
              "port": 9001,
              "noFileCache": false,
              "maxQueue": 1000,
              "connectTimeout": 2000,
              "writeFileInterval": 5000,
              "dataDir": "",
              "options": {
                "auth_pass": null,
                "retry_max_delay": 5000,
                "retry_max_count": 19,
                "db": 0,
                "family": 0
              },
              "backup": {
                "disabled": false,
                "files": 24,
                "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                "hours": 48,
                "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                "period": 120,
                "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                "path": "",
                "pathComment": "Absolute path to backup directory or empty to backup in data directory"
              }
            },
            "states": {
              "type": "jsonl",
              "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
              "host": "127.0.0.1",
              "port": 9000,
              "connectTimeout": 2000,
              "writeFileInterval": 30000,
              "dataDir": "",
              "options": {
                "auth_pass": null,
                "retry_max_delay": 5000,
                "retry_max_count": 19,
                "db": 0,
                "family": 0
              },
              "backup": {
                "disabled": false,
                "files": 24,
                "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                "hours": 48,
                "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                "period": 120,
                "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                "path": "",
                "pathComment": "Absolute path to backup directory or empty to backup in data directory"
              }
            },
            "log": {
              "level": "info",
              "maxDays": 3,
              "noStdout": true,
              "transport": {
                "file1": {
                  "type": "file",
                  "enabled": true,
                  "filename": "log/iobroker",
                  "fileext": ".log",
                  "maxsize": null,
                  "maxFiles": null,
                  "maxSize": null,
                  "level": ""
                },
                "syslog1": {
                  "type": "syslog",
                  "enabled": false,
                  "host": "localhost",
                  "hostComment": "The host running syslogd, defaults to localhost.",
                  "portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                  "protocol": "udp4",
                  "protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                  "pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                  "facilityComment": "Syslog facility to use (Default: local0).",
                  "localhost": "iobroker",
                  "localhostComment": "Host to indicate that log messages are coming from (Default: localhost).",
                  "sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).",
                  "app_nameComment": "The name of the application (Default: process.title).",
                  "eolComment": "The end of line character to be added to the end of the message (Default: Message without modifications).",
                  "level": "",
                  "facility": ""
                },
                "seq1": {
                  "type": "seq",
                  "enabled": false,
                  "serverUrl": "http://IP:PORT",
                  "serverUrlComment": "The http(s) URL including port of the seq server. If you use HTTPS a real certificate is needed; self signed certs are ot accepted.",
                  "apiKey": "",
                  "apiKeyComment": "The apiKey of the seq system",
                  "level": "",
                  "eol": ""
                }
              }
            },
            "plugins": {},
            "dataDir": "../../iobroker-data/"
          }
          
          F 1 Reply Last reply Reply Quote 0
          • F
            fraso @fastfoot last edited by

            @fastfoot

            Info zum System:

            e6iob@NUCioBroker:/opt/iobroker/iobroker-data$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            v14.19.0
            v14.19.0
            [sudo] Passwort für e6iob: 
            8.6.0
            nodejs:
              Installiert:           14.19.0-deb-1nodesource1
              Installationskandidat: 14.19.1-deb-1nodesource1
              Versionstabelle:
                 14.19.1-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_14.x bullseye/main amd64 Packages
             *** 14.19.0-deb-1nodesource1 100
                    100 /var/lib/dpkg/status
                 12.22.5~dfsg-2~11u1 500
                    500 http://deb.debian.org/debian bullseye/main amd64 Packages
                    500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
            e6iob@NUCioBroker:/opt/iobroker/iobroker-data$ 
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @fraso last edited by

              @fraso

              npm ist nicht die Version aus dem Paket.
              Und halt nodejs aktuell.

              F 1 Reply Last reply Reply Quote 0
              • F
                fastfoot @fraso last edited by

                @fraso die leeren jsonlOptions sind nicht da, so wie es sein soll. War nur so eine Idee. die js-controller version bekommst du unter Hosts angezeigt oder auf der Konsole mit iob -v

                F 1 Reply Last reply Reply Quote 0
                • F
                  fraso @fastfoot last edited by

                  @fastfoot sagte in ioBroker startet nicht mehr:

                  iob -v

                  e6iob@NUCioBroker:/opt/iobroker/iobroker-data$ iob -v
                  4.0.21
                  
                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fraso @Thomas Braun last edited by

                    @thomas-braun

                    Hi Thomas,
                    habe in Deiner Signatur geschaut aber dort nicht gefunden wie man die npm "korrigiert".

                    Gibt es hier eine korrekte Anleitung die ich abarbeiten kann ?

                    Danke.

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

                      @fraso

                      Installier das Update, dann wird npm gleich richtig mitinstalliert.
                      Und lass die Finger davon npm global an der Paketverwaltung vorbei ins System zu knüppeln.

                      F F 2 Replies Last reply Reply Quote 0
                      • apollon77
                        apollon77 @fraso last edited by apollon77

                        @fraso sagte in ioBroker startet nicht mehr:

                        Jemand eine Idee wieso das passiert? Die oben genannten Tips hatte ich umgesetzt.

                        Ja, Bitte js-controller 4.0.23 installieren (ggf states.jsonl einmalig löschen... kannst gern das states.json.migrated_save nach states.json umbenennen dasnn hast du den States stand.

                        EDIT: Da aber bei dir die defekte EInstellung nicht da war ist das komisch. Bitte nach dem contreoller Update beobachten das es nicht wieder sooo grioss wird - ggf melden

                        1 Reply Last reply Reply Quote 0
                        • F
                          fastfoot @fraso last edited by

                          @fraso da gibt es die 4.0.23 welche genau dieses Problem behebt(obwohl das manuelle Entfernen der jsonlOptions das eig. auch behoben haben sollte)

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

                            @thomas-braun

                            nur damit ich das nicht verschlimmert:

                            iobroker update
                            

                            das machen?

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

                              @fraso

                              Nein. Über die Paketverwaltung. Wie alle andere Updates des Betriebssystems auch.

                              sudo apt upgrade
                              sudo apt full-upgrade
                              

                              Falls das noch nie gemacht wurde...

                              1 Reply Last reply Reply Quote 0
                              • F
                                fastfoot @fraso last edited by

                                @fraso iob update && iob upgrade self für den js-controller
                                apt update && apt upgrade für node. zuvor iobroker natürlich stoppen. iob stop

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

                                  @thomas-braun sagte in ioBroker startet nicht mehr:

                                  Und lass die Finger davon npm global an der Paketverwaltung vorbei ins System zu knüppeln.

                                  npm selbst empfiehlt das aber wenn es zB ein minor update gibt. Gibt es da einen Grund für deine Empfehlung?

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • F
                                    fraso @fastfoot last edited by

                                    @fastfoot sagte in ioBroker startet nicht mehr:

                                    iob upgrade self

                                    sudo apt upgrade gemacht
                                    sudo apt full-upgrade gemacht
                                    iob update listet ed mir die "updateable"´s auf aber updated nicht
                                    iob upgrade self gemacht

                                    e6iob@NUCioBroker:/opt/iobroker/iobroker-data$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                                    /usr/bin/nodejs
                                    /usr/bin/node
                                    /usr/bin/npm
                                    v14.19.1
                                    v14.19.1
                                    6.14.16
                                    nodejs:
                                      Installiert:           14.19.1-deb-1nodesource1
                                      Installationskandidat: 14.19.1-deb-1nodesource1
                                      Versionstabelle:
                                     *** 14.19.1-deb-1nodesource1 500
                                            500 https://deb.nodesource.com/node_14.x bullseye/main amd64 Packages
                                            100 /var/lib/dpkg/status
                                         12.22.5~dfsg-2~11u1 500
                                            500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                            500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
                                    e6iob@NUCioBroker:/opt/iobroker/iobroker-data$ 
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @fastfoot last edited by

                                      @fastfoot sagte in ioBroker startet nicht mehr:

                                      npm selbst empfiehlt das aber wenn es zB ein minor update gibt. Gibt es da einen Grund für deine Empfehlung?

                                      Die empfehlen das auch für Major Upgrades.
                                      Hat in der Vergangenheit regelmäßig für Probleme gesorgt. Upstream wird npm ja auch immer mit einer bestimmten Version von nodejs zusammengepackt.

                                      F 1 Reply Last reply Reply Quote 1
                                      • F
                                        fraso @fastfoot last edited by fraso

                                        @fastfoot

                                        ... und wie kriege ich die 4.0.23 drauf?

                                        Controller "js-controller": 4.0.21   , installed 4.0.21
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @fraso last edited by

                                          @fraso
                                          4.0.23 ist über das Beta-Repo verfügbar.

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

                                            @thomas-braun

                                            Ist mir jetzt peinlich zu fragen - aber der Controller wird wie über das Beta-Repo gezogen? Das ist ja kein Adapter den ich updaten kann - oder?

                                            Thomas Braun F 2 Replies 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

                                            430
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            123
                                            12238
                                            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