Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.2.0-rc.5 instance system.adapter.jarvis.0 terminated with code 6 (UNCAUGHT_EXCEPTION) #2829

Open
Hohenbostler opened this issue Oct 22, 2024 · 20 comments
Assignees
Labels
alpha / beta 🚧 Issue related to an alpha or beta version bug 🐛 Something isn't working #prio:HIGH ❗ Priority: HIGH :exclamation: #status: ready-to-test ✔️ Status: Issue fixed and ready-to-test v3.2 Roadmap for v3.2

Comments

@Hohenbostler
Copy link

Hallo seit vielen Versionen habe ich das Problem soweit das die instanz abgeschaltet wird. Das letzte mal meine ich hätte es unter der V 3.1.8 funktioniert.

logs

Leider weiss ich gar nicht wo ich anfangen soll mit der suche darum poste ich es hier.

@Zefau
Copy link
Owner

Zefau commented Oct 22, 2024

Da steht leider wenig brauchbares in der Fehlermeldung. Kannst du die Instanz mal auf debug stellen?

Hast du den Web Adapter installiert?

@Hohenbostler
Copy link
Author

Hallo ich habe es jetzt mal auf Debug gestellt jedoch kommt kein Eintrag über Debug heraus.

Bild2

Der Web Adapter ist installiert
Bild3

@mcuiobroker
Copy link
Collaborator

mcuiobroker commented Oct 22, 2024

  • Nutzt du scripts? Wenn ja, mal abschalten.
  • Upload von jarvis gemacht? iob upload jarvis
  • web-Instanz neu gestartet?
  • besonderes System docker?
  • nodejs >=20?

@Hohenbostler
Copy link
Author

Hohenbostler commented Oct 23, 2024

  • Nutzt du scripts? Wenn ja, mal abschalten.
    Morgen ja nutze ich . Siehe Anhang.
    scripts.txt
  • Upload von jarvis gemacht? iob upload jarvis

Ja mehrfach bereits.

  • web-Instanz neu gestartet?
    Ja auch gemacht
  • besonderes System docker?

Nutze iob auf einem Proxmox . Ursprungssystem kam aber mal von einerm Docker auf einer Synology.

  • nodejs >=20?

Plattform: linux
Betriebssystem: linux
Architektur: x64
CPUs: 4
Geschwindigkeit: 3100 MHz
Modell: Intel(R) Core(TM) i3-8100T CPU @ 3.10GHz
RAM: 4 GB
System-Betriebszeit: 07:18:32
Node.js: v20.16.0
time: 1729515195204
timeOffset: -120
NPM: 10.8.2
Adapter-Anzahl: 544
Datenträgergröße: 19.6 GB
Freier Festplattenspeicher: 7.4 GB
Aktive Instanzen: 32
Pfad: /opt/iobroker/
Betriebszeit: 07:18:30
aktiv: true

Edit um 11:11 Uhr. Fehler tritt nach wie vor auf.

@mcuiobroker
Copy link
Collaborator

mcuiobroker commented Oct 23, 2024

image
Proxmox + ioBroker + jarvis da halte ich 4GB für zu wenig.
Was sagt denn iob diag?
Evtl dafür einen eigenen Thread im Forum aufmachen?

Jarvis läuft aber? Kommt der Fehler nur zu einem bestimmten Zeitpunkt?
Web-Instanz web.0 wird genutzt?

@Hohenbostler
Copy link
Author

Hohenbostler commented Oct 23, 2024

HI also ich habe dem iobroker jetzt mal 8GB ram gegeben. Direkt nach den neustart kam der Fehler direkt wieder.

iob Diag log anbei.

======================= SUMMARY =======================
                        v.2024-10-19


 Static hostname: ioBroker
       Icon name: computer-container
         Chassis: container ☐
  Virtualization: lxc
Operating System: Debian GNU/Linux 12 (bookworm)
          Kernel: Linux 6.8.4-2-pve
    Architecture: x86-64

Installation:           lxc
Kernel:                 x86_64
Userland:               64 bit
Timezone:               Europe/Berlin (CEST, +0200)
User-ID:                1001
Display-Server:         false
Boot Target:            multi-user.target

Pending OS-Updates:     33
Pending iob updates:    0

Nodejs-Installation:
/usr/bin/nodejs         v20.16.0
/usr/bin/node           v20.16.0
/usr/bin/npm            10.8.2
/usr/bin/npx            10.8.2
/usr/bin/corepack       0.28.2

Recommended versions are nodejs 20.18.0 and npm 10.8.2
nodeJS installation is correct

MEMORY: 
               total        used        free      shared  buff/cache   available
Mem:            8.6G        2.0G        4.1G        114K        2.6G        6.6G
Swap:           536M          0B        536M
Total:          9.1G        2.0G        4.6G

Active iob-Instances:   33
Upgrade policy: none

ioBroker Core:          js-controller           6.0.11
                        admin                   7.1.5

ioBroker Status:        iobroker is running on this host.


Objects type: jsonl
States  type: jsonl

Status admin and web instance:
+ system.adapter.admin.1                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
+ system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin

Objects:                9424
States:                 7934

Size of iob-Database:

30M     /opt/iobroker/iobroker-data/objects.jsonl
3.5M    /opt/iobroker/iobroker-data/states.jsonl


Unknown release codenamed ''. Please check yourself if the Operating System is actively maintained.

=================== END OF SUMMARY ====================

Im Forum hatte ich ja bereits in dem Hauptthreat gefragt. naja in der Regel wird man zu Github gelotst. Jarvis läuft zwischendurch und dann irgendwann wird die Instanz gekillt.

Web.0 Instanz wird genutzt. Ja

@mcuiobroker
Copy link
Collaborator

@Zefau
Copy link
Owner

Zefau commented Nov 15, 2024

@Hohenbostler

Hallo ich habe es jetzt mal auf Debug gestellt jedoch kommt kein Eintrag über Debug heraus.

Du hast die Instanz auf debug gestellt, aber im Log noch auf info gefiltert oben.
Kannst du bitte nochmal auf debug gehen dort, damit ich in etwa eingrenzen kann, wo der Fehler auftritt?
Danke!

@Zefau Zefau added bug 🐛 Something isn't working #prio:HIGH ❗ Priority: HIGH :exclamation: alpha / beta 🚧 Issue related to an alpha or beta version #status: waiting-for-feedback ⌛ Status: Issue waiting for user feedback v3.2 Roadmap for v3.2 labels Nov 15, 2024
@github-project-automation github-project-automation bot moved this to ROADMAP in jarvis v3.2 Nov 15, 2024
@Zefau
Copy link
Owner

Zefau commented Nov 15, 2024

#2780 (comment)

@Hohenbostler
Copy link
Author

Hallo,

gerne anbei der neue Screenshot.

Verfolgst du auch den Forumthreat dazu ? Ich habe neue geräte angelegt im Jarvis welche ich gar nicht schalten kann.

jarvis
jarvis 2

@Zefau
Copy link
Owner

Zefau commented Nov 16, 2024

Kommt der Fehler beim Start des Adapters? Oder bei einer bestimmten Aktion?
Nach dem Restart des Adapters aufgrund des Fehlers läuft er dann aber, wie es aussieht?

Verfolgst du auch den Forumthreat dazu ? Ich habe neue geräte angelegt im Jarvis welche ich gar nicht schalten kann.

Ne, das Forum ist zu viel Input.

@Hohenbostler
Copy link
Author

Also was ich sicher weiss sobald ich eine Instanz von einem anderem Adapter starte oder stoppe wo ich einen Datenpunkt von in Jarvis habe reagiert die Jarvis Instanz und wirft die Fehler vom ersten Bild aus. Und je nach dem startet diese wieder. Aber irgendwann bekomme ich halt eine.meldung vom iobroker wegen restart Loop und die schaltet Jarvis dann aus.

@Zefau Zefau added #status: implemented-locally 🛠️ Status: Issue has been implemented locally (but not pushed to repository yet) and removed #status: waiting-for-feedback ⌛ Status: Issue waiting for user feedback labels Nov 16, 2024
@Zefau
Copy link
Owner

Zefau commented Nov 17, 2024

Die Version v3.2.0-rc.9 sollte den Fehler beheben - bitte einmal prüfen. Sofern es behoben ist, gerne das Issue schließen.


The version v3.2.0-rc.9 should fix the bug - please verify. If the bug has been solved, you may close the issue.

@Zefau Zefau added #status: ready-to-test ✔️ Status: Issue fixed and ready-to-test and removed #status: implemented-locally 🛠️ Status: Issue has been implemented locally (but not pushed to repository yet) labels Nov 17, 2024
@Hohenbostler
Copy link
Author

Hohenbostler commented Nov 17, 2024

Die Version v3.2.0-rc.9 sollte den Fehler beheben - bitte einmal prüfen. Sofern es behoben ist, gerne das Issue schließen.

The version v3.2.0-rc.9 should fix the bug - please verify. If the bug has been solved, you may close the issue.

Nabend.
Leider ist das Problem auch mit der RC-9 nicht behoben.
Evtl schaust du mal in meinen Beitrag mit rein nicht das da wichtige Infos für dich vorliegen die ich nicht hier habe:
https://forum.iobroker.net/topic/77786/jarvis-instanz-beendet-sich-unregelm%C3%A4ssig

jarvis 3

@Hohenbostler
Copy link
Author

Hallo, ich will wirklich nicht nerven. Aber was mir zusätzlich noch aufgefallen ist das jede Std wenn ein ical Kalender sich neustartet tritt dieses phänomen auch auf. Und wie gesagt dazu das problem das ich neu angelegte Schalter gar nicht betätigen kann.

@mcuiobroker
Copy link
Collaborator

mcuiobroker commented Nov 27, 2024

Hatte schon im Forum gefragt warum Port 8410?
image
1.Instanz -> Port 8400
2.Instanz -> Port 8401
usw.

@Hohenbostler
Copy link
Author

Hey ach sorry hatte ich gar nicht gesehen. Das hat keine tiefere Bewandtnis. Es war nur zum testen.

@mcuiobroker
Copy link
Collaborator

Stell mal zurück auf 8400, damit man sich in der noch "unsicheren" rc-Phase, nicht noch um andere Problemfelder kümmern muss.

@Hohenbostler
Copy link
Author

Erledigt. Um die Themen im Forum kümmere ich mich morgen.

@mcuiobroker
Copy link
Collaborator

Dann mal beobachten, ob dass schon ein Einfluß hat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha / beta 🚧 Issue related to an alpha or beta version bug 🐛 Something isn't working #prio:HIGH ❗ Priority: HIGH :exclamation: #status: ready-to-test ✔️ Status: Issue fixed and ready-to-test v3.2 Roadmap for v3.2
Projects
Status: ROADMAP
Development

No branches or pull requests

3 participants