Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (Gelöst, wechsel auf Debian)Neuinstallation schlägt fehl

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    (Gelöst, wechsel auf Debian)Neuinstallation schlägt fehl

    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User @Thomas Braun last edited by A Former User

      @Thomas-Braun Neues Problem: Alles lief super, nur als normaler user kann ich nichts installieren! Keine Rootrechte. Wie kommt das denn nun? Ich kann z.B.
      curl -sSL https://install.pi-hole.net | bash
      nicht ausführen. Kann ich mir dazu root-Rechte geben?

      Edith: Hab was gefunden su, damit ging es.

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

        @Boogie2005 Ist der User in den sudoers drin?

        groups
        

        (Eigentlich sollte der erste User aber bei der Installation direkt so angelegt werden).

        Mit su in einer root-shell frickelst du da bitte nichts rum!

        Root-Rechte holt man sich temporär mit

        sudo
        

        vor den Befehlen.

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @Thomas Braun last edited by

          @Thomas-Braun er ist, warum auch immer, in groups nicht drin, ich kann als user garnichts machen! Die Installation von pihole klappte auch nicht. 😞 langsam mache ich mir sorgen 😉

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

            @Boogie2005
            Du könntest aber bitte die kompletten Ein- und Ausgaben der Befehle posten, damit man sieht wo und wie du da unterwegs bist.

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Thomas Braun last edited by

              @Thomas-Braun habs gefunden: den user habe ich der Gruppe sudo hinzugefügt, nun kann ich installieren. piHole ist schon mal drauf. Nun kommt, hoffe ich 😉 ioBroker wieder drauf.

              Frage: sollte ioBroker starten, backitup installieren, und dann ein Backup vom 6.9.20 installieren. Das war das letzte Backup, das noch automatisch klappte???

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

                @Boogie2005 Gut, dann vergiss jetzt den su-Quark.
                sudo ist angesagt für administrative Dinge.

                Ich würde jetzt das letzte bekannte funktionierende Backup per backitup einspielen.

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @Thomas Braun last edited by

                  @Thomas-Braun Warum sollte das auch klappen:

                  Log Backitup Restore:
                  ======================
                  
                  [DEBUG] [iobroker] Start ioBroker Restore ...
                  [DEBUG] [iobroker] iobroker controller daemon is not running
                  [DEBUG] [iobroker] host.nucserver OK.
                  [DEBUG] [iobroker] <--- Last few GCs --->
                  [DEBUG] [iobroker] [3352:0x35394a0] 28559 ms: Mark-sweep 2042.0 (2044.6) -> 2042.0 (2044.6) MB, 416.1 / 0.0 ms (average mu = 0.308, current mu = 0.000) last resort GC in old space requested
                  [DEBUG] [iobroker] [3352:0x35394a0] 28974 ms: Mark-sweep 2042.0 (2044.6) -> 2042.0 (2044.6) MB, 415.0 / 0.0 ms (average mu = 0.178, current mu = 0.000) last resort GC in old space requested
                  [DEBUG] [iobroker] <--- JS stacktrace --->
                  [DEBUG] [iobroker] ==== JS stack trace =========================================
                  [DEBUG] [iobroker] Security context: 0x000e4a4408d1
                  [DEBUG] [iobroker] 0: builtin exit frame: parse(this=0x000e4a45ee79 ,0x31f0ce940119 ,0x000e4a45ee79 )
                  [DEBUG] [iobroker] 1: restoreAfterStop [0x25d4a007f5d1] [/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:627] [bytecode=0x2bc52e09e859 offset=168](this=0x3e1db4a59069 ,0x1ca1492...
                  [ERROR] [iobroker] FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
                  [ERROR] [iobroker] 1: 0xa093f0 node::Abort() [/usr/bin/node]
                  [ERROR] [iobroker] 2: 0xa097fc node::OnFatalError(char const*, char const*) [/usr/bin/node]
                  [ERROR] [iobroker] 3: 0xb8431e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
                  [ERROR] [iobroker] 4: 0xb84699 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
                  [ERROR] [iobroker] 5: 0xd31055 [/usr/bin/node]
                  [ERROR] [iobroker] 6: 0xd41968 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/bin/node]
                  [ERROR] [iobroker] 7: 0xd086ed v8::internal::Factory::NewFixedArrayWithFiller(v8::internal::RootIndex, int, v8::internal::Object, v8::internal::AllocationType) [/usr/bin/node]
                  [ERROR] [iobroker] 8: 0xd087e0 v8::internal::Handle v8::internal::Factory::NewFixedArrayWithMap(v8::internal::RootIndex, int, v8::internal::AllocationType) [/usr/bin/node]
                  [ERROR] [iobroker] 9: 0xf26c09 v8::internal::HashTable::New(v8::internal::Isolate*, int, v8::internal::AllocationType, v8::internal::MinimumCapacity) [/usr/bin/node]
                  [ERROR] [iobroker] 10: 0xf2f18e v8::internal::Dictionary::Add(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::PropertyDetails, int*) [/usr/bin/node]
                  [ERROR] [iobroker] 11: 0xf2f2f9 v8::internal::BaseNameDictionary::AddNoUpdateNextEnumerationIndex(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::PropertyDetails, int*) [/usr/bin/node]
                  [ERROR] [iobroker] 12: 0xf31813 v8::internal::BaseNameDictionary::Add(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::PropertyDetails, int*) [/usr/bin/node]
                  [ERROR] [iobroker] 13: 0xefad12 v8::internal::LookupIterator::ApplyTransitionToDataProperty(v8::internal::Handle) [/usr/bin/node]
                  [ERROR] [iobroker] 14: 0xf2bb71 v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handle, v8::internal::PropertyAttributes, v8::Maybe, v8::internal::StoreOrigin) [/usr/bin/node]
                  [ERROR] [iobroker] 15: 0xed7010 v8::internal::JSObject::DefineOwnPropertyIgnoreAttributes(v8::internal::LookupIterator*, v8::internal::Handle, v8::internal::PropertyAttributes, v8::Maybe, v8::internal::JSObject::AccessorInfoHandling) [/usr/bin/node]
                  [ERROR] [iobroker] 16: 0xed7249 v8::internal::JSObject::DefineOwnPropertyIgnoreAttributes(v8::internal::LookupIterator*, v8::internal::Handle, v8::internal::PropertyAttributes, v8::internal::JSObject::AccessorInfoHandling) [/usr/bin/node]
                  [ERROR] [iobroker] 17: 0xe20060 v8::internal::JsonParser::BuildJsonObject(v8::internal::JsonParser::JsonContinuation const&, std::vector > const&, v8::internal::Handle) [/usr/bin/node]
                  [ERROR] [iobroker] 18: 0xe20beb v8::internal::JsonParser::ParseJsonValue() [/usr/bin/node]
                  [ERROR] [iobroker] 19: 0xe21acf v8::internal::JsonParser::ParseJson() [/usr/bin/node]
                  [ERROR] [iobroker] 20: 0xc358b5 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [/usr/bin/node]
                  [ERROR] [iobroker] 21: 0x13cf199 [/usr/bin/node]
                  [DEBUG] [iobroker] ioBroker Restore completed successfully
                  [EXIT] null **** Restore completed successfully!! ****
                  
                  The log can be closed ...
                  

                  Ergebnis der Restore Funktion. Jetzt muss ich wohl einen neuen Thread auf machen??

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

                    @Boogie2005

                    JavaScript heap out of memory
                    

                    Wie viel RAM steht dem ioBroker zur Verfügung?

                    free -m
                    

                    nodeJS ist sauber installiert?

                    which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                    
                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @Thomas Braun last edited by

                      @Thomas-Braun

                                    total        used        free      shared  buff/cache   available
                      Mem:           7823         708        5559          43        1556        6805
                      Swap:          8035           0        8035
                      
                      georg@nucserver:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                      /usr/bin/nodejs
                      v12.18.4
                      /usr/bin/node
                      v12.18.4
                      /usr/bin/npm
                      6.14.6
                      nodejs:
                        Installiert:           12.18.4-1nodesource1
                        Installationskandidat: 12.18.4-1nodesource1
                        Versionstabelle:
                       *** 12.18.4-1nodesource1 500
                              500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                              100 /var/lib/dpkg/status
                           10.21.0~dfsg-1~deb10u1 500
                              500 http://deb.debian.org/debian buster/main amd64 Packages
                              500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
                      

                      Im IOBroker:

                      Datenträger verfügbar: 91.7 %, gesamte RAM-Nutzung: 831 MB / Frei: 92% = 7.163 MB [Host: nucserver - 12 Prozesse]
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Guest last edited by

                        @Boogie2005
                        Passt. Dann weiß ich auch nicht was da krumm läuft mit dem Backup. Wie groß ist denn die Datei?

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @Thomas Braun last edited by

                          @Thomas-Braun Hab jetzt alle Adapter per Hand neu eingerichtet. Ging schneller, als Fehlersuche. Sicherung klappt auch.
                          Nur der Ftritz detec findet meine Fritz Thermos nicht. Das muss ich noch klären...

                          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

                          958
                          Online

                          32.1k
                          Users

                          80.7k
                          Topics

                          1.3m
                          Posts

                          einrichtungsfehler 404 lizenz
                          6
                          140
                          5227
                          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