Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Einstellungsmenü nicht aufrufbar

    This topic has been deleted. Only users with topic management privileges can see it.
    • Great SUN
      Great SUN @Marko1974 last edited by

      @marko1974 Im Zweifel einfach kill -9 auf den Prozess, wenn er wieder hoch kommt, dann ist irgendwo ein monitor, der darauf schaut, dass der am laufen bleibt, dann musste den mit killen 😉

      Marko1974 1 Reply Last reply Reply Quote 0
      • Marko1974
        Marko1974 @Great SUN last edited by

        @great-sun ja aber sowas kann ich nicht "mal eben"

        Marko1974 1 Reply Last reply Reply Quote 0
        • Marko1974
          Marko1974 @Marko1974 last edited by Marko1974

          @Great-SUN grummel

          [23:48:57] openhabian@openhab:~$ node node_modules/iobroker.js-controller/controller.js --logs
          internal/modules/cjs/loader.js:905
            throw err;
            ^
          
          [23:51:59] openhabian@openhab:/opt/iobroker$ node node_modules/iobroker.js-controller/controller.js --logs
          2022-04-24 23:52:15.503  - info: host.openhab iobroker.js-controller version 4.0.21 js-controller starting
          2022-04-24 23:52:15.524  - info: host.openhab Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
          2022-04-24 23:52:15.526  - info: host.openhab hostname: openhab, node: v14.19.1
          2022-04-24 23:52:15.529  - info: host.openhab ip addresses: 192.168.178.72 fe80::3251:b8ad:60b6:6025
          2022-04-24 23:52:17.704  - error: host.openhab-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
          
          

          jetzt hatte ich den frontail.service beseitigt und den port wieder auf 9001 geändert.
          iob läuft auf dem port - das tat er vorher nicht - trotzdem gehts nicht und die DB ist lahm

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

            @marko1974 sagte in Einstellungsmenü nicht aufrufbar:

            trotzdem gehts nicht und die DB ist lahm

            zeig doch mal ls -lt /opt/iobroker/iobroker-data

            1 Reply Last reply Reply Quote 0
            • Marko1974
              Marko1974 last edited by Marko1974

              @fastfoot

              [23:57:30] openhabian@openhab:/opt/iobroker/log$ ls -lt /opt/iobroker/iobroker-data
              insgesamt 47436
              drwxrwxr-x+  2 iobroker iobroker     4096 Apr 25 00:00 objects.jsonl.lock
              drwxrwxr-x+  2 iobroker iobroker     4096 Apr 25 00:00 states.jsonl.lock
              -rw-rw-r--+  1 iobroker iobroker 11184907 Apr 25 00:00 objects.jsonl
              -rw-rw-r--+  1 iobroker iobroker 14367073 Apr 24 23:59 states.jsonl
              -rwxrwxrwx+  1 iobroker iobroker     4779 Apr 24 23:46 iobroker.json
              -rw-rwxr--+  1 iobroker iobroker        3 Apr 24 23:45 notifications.json
              drwxrwxr-x+  2 iobroker iobroker     4096 Apr 24 20:45 backitup
              drwxrwxrwx+  2 iobroker iobroker    12288 Apr 24 20:27 backup-objects
              drwxrwxr-x+ 51 iobroker iobroker     4096 Apr 22 22:25 files
              drwxrwxr-x+  6 iobroker iobroker     4096 Apr 21 01:18 node-red
              drwxrwxr-x+  3 iobroker iobroker     4096 Mär  7 00:42 eusec.0
              -rw-rwxr--+  1 iobroker iobroker  1269405 Mär  3 17:02 states.json.migrated
              -rw-rwxr--+  1 iobroker iobroker  8102145 Mär  3 17:02 objects.json.migrated
              -rw-rwxr--+  1 iobroker iobroker  8102149 Mär  3 17:02 objects.json.bak.migrated
              -rw-rwxr--+  1 iobroker iobroker  1269376 Mär  3 17:00 states.json.bak.migrated
              -rw-rwxr--+  1 iobroker iobroker  4194304 Feb 27 13:55 objects.json.broken
              drwxrwxr-x+  2 iobroker iobroker     4096 Nov 16 12:41 history
              drwxrwxr-x+  3 iobroker iobroker     4096 Nov  9 00:23 tmp
              drwxrwxr-x+  5 iobroker iobroker     4096 Jun  6  2021 ham_0
              drwxrwxr-x+  2 iobroker iobroker     4096 Jun  6  2021 yahka.2.hapdata
              drwxrwxr-x+  2 iobroker iobroker     4096 Jun  5  2021 yahka.1.hapdata
              drwxrwxr-x+  2 iobroker iobroker     4096 Jun  1  2021 yahka.0.hapdata
              
              
              F 2 Replies Last reply Reply Quote 0
              • F
                fastfoot @Marko1974 last edited by

                @marko1974 nee leider nicht. Die Annahme war dass deine states.jsonl evtl. riesig ist und daher alles langsam ist. dann wäre ein upgrade des js-controller angeraten gewesen.

                logs siehst du übrigens auch mit

                • iob logs --watch
                  oder
                • tail -f log/*curr*

                aber in /opt/iobroker ausführen!

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

                  @fastfoot weiss nix mehr 😧

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

                    @marko1974 zeig trotzdem mal noch cat /opt/iobroker/iobroker-data/iobroker.json

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

                      @fastfoot

                      [00:11:38] openhabian@openhab:/opt/iobroker/log$ cat /opt/iobroker/iobroker-data/iobroker.json
                      {
                        "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": false
                        },
                        "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": "../../iobroker-data/",
                          "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": "../../iobroker-data/",
                          "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": ""
                            }
                          }
                        },
                        "plugins": {},
                        "dataDir": "../../iobroker-data/"
                      
                      
                      F Great SUN 2 Replies Last reply Reply Quote 0
                      • F
                        fastfoot @Marko1974 last edited by

                        @marko1974 'leider' auch ok. tippe evtl noch auf defekte sd-karte, aber da befinde ich mich voll auf Glatteis
                        '

                        1 Reply Last reply Reply Quote 0
                        • Great SUN
                          Great SUN @Marko1974 last edited by

                          @marko1974 ich hab hier zwei andere threads, die evtl. noch weiterhelfen könnten:

                          https://forum.iobroker.net/post/794880
                          https://forum.iobroker.net/post/794610

                          Da geht es genau um dasselbe Problem.

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

                            @great-sun sagte in Einstellungsmenü nicht aufrufbar:

                            @marko1974 ich hab hier zwei andere threads, die evtl. noch weiterhelfen könnten:

                            https://forum.iobroker.net/post/794880
                            https://forum.iobroker.net/post/794610

                            Da geht es genau um dasselbe Problem.

                            das Problem im zweiten Link haben wir gerade geprüft 🙂

                            Great SUN 1 Reply Last reply Reply Quote 0
                            • Marko1974
                              Marko1974 last edited by Marko1974

                              @fastfoot ist aber auch irgendwie anders 🙂

                              [00:22:20] openhabian@openhab:/opt/iobroker/log$ iob status
                              iobroker is running on this host.
                              
                              
                              Objects type: jsonl
                              States  type: jsonl
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • Great SUN
                                Great SUN @fastfoot last edited by

                                @fastfoot Ich such gerade nach einem anti-theft 10,5" Wallmount für ein Tablet 😉
                                Hab nicht so genau hingeschaut 😉

                                Sorry

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

                                  @great-sun alles gut 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • Marko1974
                                    Marko1974 last edited by

                                    @fastfoot eben...alles gut....
                                    Ich dachte ich könnte es irgendwie beheben....ist ja nett von euch, dass ihr alle helfen mögt.

                                    Kommt Zeit, kommt rat

                                    F Great SUN 2 Replies Last reply Reply Quote 0
                                    • F
                                      fastfoot @Marko1974 last edited by

                                      @marko1974 ja wenn der iobroker ansonsten läuft. einstellungen kannst du fast alle auf der Konsole vornehmen, aber das Problem wird wohl nicht von selbst weggehen. ich weiss nicht was iob fix so alles treibt aber das frisst kein Brot und hilft evtl. trotzdem. vorher iob stop. sonst fällt mir da auch nix mehr ein

                                      1 Reply Last reply Reply Quote 0
                                      • Great SUN
                                        Great SUN @Marko1974 last edited by

                                        @marko1974 Helfen tun wir uns alle untereinander, denn jeder geht den ein oder anderen Weg und nicht alle laufen gemeinsam 😉
                                        So kommt es immer Mal vor, dass einer wo war, wo ein anderer nicht war und so kann der eine dann dem anderen helfen 😉

                                        Eine Hand und so...

                                        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

                                        760
                                        Online

                                        32.0k
                                        Users

                                        80.4k
                                        Topics

                                        1.3m
                                        Posts

                                        5
                                        52
                                        1981
                                        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