NEWS
Welche Dateien muss man umziehen auf einen neuen Raspberry
-
So mal kurzes Feedback. Es lief eigentlich sehr gut durch. Nur Node Red macht grad ziemlich Probleme das es immer wieder abstürzt wenn ich auf die Benutzer Ebene zugreifen will.
Hat da jemand eine Idee oder sollte ich lieber einen neuen Thread aufmachen?
-
@drsnuggles1982 Erste Idee wäre mal ins Log und mit F12 in die Browser Konsole zu schauen und das inklusive der Langfassung von
iob diag
hier zu Posten.
-
Hy, hier mal das log:
Denn Fatal Error sehe ich grad zum ersten mal. Was bedeutet das? JavaScript nutze ich aktuell gar nicht.
<--- JS stacktrace ---> FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory ----- Native stack trace ----- 2025-03-06 09:59:07.302 - warn: node-red.0 (726) 1: 0xb87744 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node-red] 2: 0xec89cc v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node-red] 2025-03-06 09:59:07.309 - warn: node-red.0 (726) 3: 0xec8b9c v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node-red] 2025-03-06 09:59:07.311 - warn: node-red.0 (726) 4: 0x10d082c [node-red] 2025-03-06 09:59:07.315 - warn: node-red.0 (726) 5: 0x10e6d04 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node-red] 2025-03-06 09:59:07.318 - warn: node-red.0 (726) 6: 0x1137af0 v8::internal::MinorGCJob::Task::RunInternal() [node-red] 2025-03-06 09:59:07.322 - warn: node-red.0 (726) 7: 0xd1a918 [node-red] 2025-03-06 09:59:07.325 - warn: node-red.0 (726) 8: 0xd1ddb4 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [node-red] 9: 0x1806c90 [node-red] 2025-03-06 09:59:07.330 - warn: node-red.0 (726) 10: 0x181a5d4 [node-red] 2025-03-06 09:59:07.336 - warn: node-red.0 (726) 11: 0x1807a4c uv_run [node-red] 2025-03-06 09:59:07.339 - warn: node-red.0 (726) 12: 0xbc55f0 node::SpinEventLoopInternal(node::Environment*) [node-red] 13: 0xcf0ecc [node-red] 2025-03-06 09:59:07.342 - warn: node-red.0 (726) 14: 0xcf1818 node::NodeMainInstance::Run() [node-red] 2025-03-06 09:59:07.344 - warn: node-red.0 (726) 15: 0xc65210 node::Start(int, char**) [node-red] 16: 0x7f80b17740 [/lib/aarch64-linux-gnu/libc.so.6] 17: 0x7f80b17818 __libc_start_main [/lib/aarch64-linux-gnu/libc.so.6] 18: 0xbc3910 [node-red] 2025-03-06 09:59:07.373 - info: node-red.0 (726) Node-RED exited with null 2025-03-06 09:59:12.375 - info: node-red.0 (726) Starting node-red: --max-old-space-size=128 /opt/iobroker/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js 2025-03-06 09:59:12.391 - info: node-red.0 (726) Node-RED started successfully (PID: 1028) 2025-03-06 09:59:22.223 - warn: node-red.0 (726) Node-RED: 6 Mar 09:59:22 - [info] User directory : /opt/iobroker/iobroker-data/node-red/ 6 Mar 09:59:22 - [warn] Projects disabled : editorTheme.projects.enabled=false 2025-03-06 10:00:47.581 - warn: node-red.0 (726) <--- Last few GCs ---> [1028:0x169f7030] 94901 ms: Mark-Compact (reduce) 125.8 (134.3) -> 123.5 (131.3) MB, 115.99 / 0.08 ms (+ 0.4 ms in 1 steps since start of marking, biggest step 0.4 ms, walltime since start of marking 124 ms) (average mu = 0.946, current mu = 0.553) al[1028:0x169f7030] 95159 ms: Mark-Compact (reduce) 124.2 (131.3) -> 123.3 (131.6) MB, 207.53 / 0.03 ms (average mu = 0.880, current mu = 0.198) allocation failure; GC in old space requested <--- JS stacktrace ---> FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory ----- Native stack trace ----- 2025-03-06 10:00:47.603 - warn: node-red.0 (726) 1: 0xb87744 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node-red] 2025-03-06 10:00:47.604 - warn: node-red.0 (726) 2: 0xec89cc v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node-red] 2025-03-06 10:00:47.606 - warn: node-red.0 (726) 3: 0xec8b9c v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node-red] 2025-03-06 10:00:47.610 - warn: node-red.0 (726) 4: 0x10d082c [node-red] 5: 0x10e6d04 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node-red] 2025-03-06 10:00:47.613 - warn: node-red.0 (726) 6: 0x10bfa6c v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node-red] 7: 0x109edd0 v8::internal::Factory::CodeBuilder::AllocateInstructionStream(bool) [node-red] 2025-03-06 10:00:47.616 - warn: node-red.0 (726) 8: 0x109f1a4 v8::internal::Factory::CodeBuilder::BuildInternal(bool) [node-red] 9: 0x21b2734 v8::internal::compiler::CodeGenerator::FinalizeCode() [node-red] 2025-03-06 10:00:47.619 - warn: node-red.0 (726) 10: 0x20c5880 v8::internal::compiler::PipelineImpl::FinalizeCode(bool) [node-red] 11: 0x20c6200 v8::internal::compiler::PipelineCompilationJob::FinalizeJobImpl(v8::internal::Isolate*) [node-red] 2025-03-06 10:00:47.621 - warn: node-red.0 (726) 12: 0xf8be78 v8::internal::Compiler::FinalizeTurbofanCompilationJob(v8::internal::TurbofanCompilationJob*, v8::internal::Isolate*) [node-red] 13: 0xfb8dc4 v8::internal::OptimizingCompileDispatcher::InstallOptimizedFunctions() [node-red] 2025-03-06 10:00:47.623 - warn: node-red.0 (726) 14: 0x1058a08 v8::internal::StackGuard::HandleInterrupts() [node-red] 2025-03-06 10:00:47.625 - warn: node-red.0 (726) 15: 0x14b1908 v8::internal::Runtime_StackGuardWithGap(int, unsigned long*, v8::internal::Isolate*) [node-red] 2025-03-06 10:00:47.627 - warn: node-red.0 (726) 16: 0x18b2a84 [node-red] 2025-03-06 10:00:47.654 - info: node-red.0 (726) Node-RED exited with null 2025-03-06 10:00:52.656 - info: node-red.0 (726) Starting node-red: --max-old-space-size=128 /opt/iobroker/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js 2025-03-06 10:00:52.669 - info: node-red.0 (726) Node-RED started successfully (PID: 1057) 2025-03-06 10:01:02.406 - warn: node-red.0 (726) Node-RED: 6 Mar 10:01:02 - [info] User directory : /opt/iobroker/iobroker-data/node-red/ 6 Mar 10:01:02 - [warn] Projects disabled : editorTheme.projects.enabled=false 6 Mar 10:01:02 - [info] Flows file : /opt/iobroker/iobroker-data/node-red/flows.json 2025-03-06 10:14:26.386 - warn: node-red.0 (726) <--- Last few GCs ---> [1057:0xcb25030] 813414 ms: Mark-Compact 125.7 (131.1) -> 125.0 (132.3) MB, 138.47 / 0.00 ms (average mu = 0.942, current mu = 0.145) allocation failure; scavenge might not succeed [1057:0xcb25030] 813688 ms: Mark-Compact 126.0 (132.3) -> 125.2 (134.6) MB, 250.57 / 0.00 ms (average mu = 0.850, current mu = 0.085) allocation failure; scavenge might not succeed <--- JS stacktrace ---> FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory ----- Native stack trace ----- 2025-03-06 10:14:26.391 - warn: node-red.0 (726) 1: 0xb87744 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node-red] 2025-03-06 10:14:26.392 - warn: node-red.0 (726) 2: 0xec89cc v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node-red] 2025-03-06 10:14:26.395 - warn: node-red.0 (726) 3: 0xec8b9c v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node-red] 4: 0x10d082c [node-red] 2025-03-06 10:14:26.397 - warn: node-red.0 (726) 5: 0x10e6d04 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node-red] 2025-03-06 10:14:26.399 - warn: node-red.0 (726) 6: 0x10bfa6c v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node-red] 7: 0x10c0830 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node-red] 2025-03-06 10:14:26.402 - warn: node-red.0 (726) 8: 0x109f850 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [node-red] 2025-03-06 10:14:26.404 - warn: node-red.0 (726) 9: 0x1090b08 v8::internal::FactoryBase::AllocateRawArray(int, v8::internal::AllocationType) [node-red] 2025-03-06 10:14:26.406 - warn: node-red.0 (726) 10: 0x1090cac v8::internal::FactoryBase::NewFixedArrayWithFiller(v8::internal::Handle, int, v8::internal::Handle, v8::internal::AllocationType) [node-red] 11: 0x137c64c v8::internal::Handle v8::internal::HashTable::New(v8::internal::Isolate*, int, v8::internal::AllocationType, v8::internal::MinimumCapacity) [node-red] 2025-03-06 10:14:26.409 - warn: node-red.0 (726) 12: 0x137c8b4 v8::internal::Handle v8::internal::HashTable::EnsureCapacity(v8::internal::Isolate*, v8::internal::Handle, int, v8::internal::AllocationType) [node-red] 2025-03-06 10:14:26.411 - warn: node-red.0 (726) 13: 0x137d500 v8::internal::Handle v8::internal::Dictionary::Add(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::PropertyDetails, v8::internal::InternalIndex*) [node-red] 14: 0x13829f8 v8::internal::BaseNameDictionary::Add(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::PropertyDetails, v8::internal::InternalIndex*) [node-red] 2025-03-06 10:14:26.413 - warn: node-red.0 (726) 15: 0x14bab84 v8::internal::Runtime_AddDictionaryProperty(int, unsigned long*, v8::internal::Isolate*) [node-red] 2025-03-06 10:14:26.415 - warn: node-red.0 (726) 16: 0x18b2a84 [node-red] 2025-03-06 10:14:26.448 - info: node-red.0 (726) Node-RED exited with null 2025-03-06 10:14:31.449 - info: node-red.0 (726) Starting node-red: --max-old-space-size=128 /opt/iobroker/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js 2025-03-06 10:14:31.460 - info: node-red.0 (726) Node-RED started successfully (PID: 1090) 2025-03-06 10:14:41.050 - warn: node-red.0 (726) Node-RED: 6 Mar 10:14:41 - [info] User directory : /opt/iobroker/iobroker-data/node-red/ 6 Mar 10:14:41 - [warn] Projects disabled : editorTheme.projects.enabled=false
Iob diag
wird abgelehnt mit “Access denied” da muss ich mich mal schlau machen warum.
-
@drsnuggles1982 sagte in Welche Dateien muss man umziehen auf einen neuen Raspberry:
da muss ich mich mal schlau machen warum.
Fehlende Rechte.
groups ls -la /home/iobroker
anschauen.
-
Ob das so stimmt weiß ich nicht
Ist das ok?
Hab im internet noch den link zum installer fix für den iOS Rocker gefunden. Macht das Sinn hier nochmal drüber laufen zu lassen?
curl -sL https://iobroker.net/fix.sh | bash -
-
@drsnuggles1982 sagte in Welche Dateien muss man umziehen auf einen neuen Raspberry:
Denn Fatal Error sehe ich grad zum ersten mal. Was bedeutet das? JavaScript nutze ich aktuell gar nicht.
Unabhängig von den Rechteproblemen würde ich den Speicher für die Nodered-Instanz hoch setzen:
-
Hy, es stand auf 128MB ich bin mal hoch gegangen auf 512. Jetzt geht es. Konnte ohne Probleme Änderungen durchführen
-
Bitte keine Bildchen von Konsolentext. Hau das in CodeTags eingebettet hier rein.
-
pi@reimerhome:~ $ ls -la /home/iobroker total 76 drwxr-xr-x 5 iobroker iobroker 4096 Mar 6 10:32 . drwxr-xr-x 4 root root 4096 Mar 6 09:11 .. -rw-r--r-- 1 iobroker iobroker 220 Mar 29 2024 .bash_logout -rw-r--r-- 1 iobroker iobroker 3523 Nov 19 14:32 .bashrc drwxr-xr-x 3 iobroker iobroker 4096 Mar 6 09:26 .cache drwx------ 3 iobroker iobroker 4096 Mar 6 10:32 .config -rw-r--r-- 1 iobroker iobroker 40250 Mar 6 10:30 .diag.sh -rw-r--r-- 1 iobroker iobroker 3689 Mar 6 10:35 iob_diag.log drwxr-xr-x 4 iobroker iobroker 4096 Mar 6 09:32 .npm -rw-r--r-- 1 iobroker iobroker 807 Mar 29 2024 .profile pi@reimerhome:~ $ groups pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
Sorry nun als code tag
-
-
total 16 drwxr-xr-x 4 root root 4096 Mar 6 09:11 . drwxr-xr-x 18 root root 4096 Nov 19 14:40 .. drwxr-xr-x 5 iobroker iobroker 4096 Mar 6 10:32 iobroker drwx------ 5 pi pi 4096 Mar 6 09:13 pi
-
-
@thomas-braun sagte in Welche Dateien muss man umziehen auf einen neuen Raspberry:
iob diag
pi@reimerhome:~ $ iob diag /usr/bin/iob: line 21: /home/iobroker/iob_diag.log: Permission denied
-
Also scheitert nicht die Ausführung, sondern das Schreiben des logs. Setz da Schreiberechte für die Gruppe auf iob_diag.log
Edit: Nee, die Rechte passen. Da muss noch was anderes krumm sein.
-
@thomas-braun mhm ok was nun?
Doch mal den fix ausführen?
curl -sL https://iobroker.net/fix.sh | bash -
-
Ja, mach mal.
Was passiert denn, wenn duiob fix
aufrufst? Der Befehl verhält sich ja ganz ähnlich zu
iob diag
. -
752 io.pushover.0 792 io.backitup.0 849 io.hm-rpc.1 884 io.synology.0 899 io.zigbee.0 922 io.discovery.0 941 io.enocean.0 977 io.web.0 Please stop them first and try again! pi@reimerhome:~ $ pi@reimerhome:~ $ iob fix library: loaded Library version=2024-10-22 ioBroker or some processes are still running: 599 iobroker.js-con 641 io.admin.0 690 io.javascript.0 720 io.node-red.0 752 io.pushover.0 792 io.backitup.0 849 io.hm-rpc.1 884 io.synology.0 899 io.zigbee.0 922 io.discovery.0 941 io.enocean.0 977 io.web.0 Please stop them first and try again
Beide verhalten sich gleich
-
iob stop iob fix iob start
-
Jetzt lief es durch
Compressed 2 JSONL files. Done ========================================================================== Checking autostart (5/5) ========================================================================== ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ==== Authentication is required to stop 'iobroker.service'. Authenticating as: ,,, (pi) Password: Enabling autostart... polkit-agent-helper-1: pam_authenticate failed: Authentication failure Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again!
-