Is there a way to restart middlewares GUI?

KevDog

Patron
Joined
Nov 26, 2016
Messages
462
I've seen this problem now a few times which is strange since I havent encoutered it before. I'm using TrueNAS 12.0 U2. I get a message from truecommand that my freenas suddenly went offline. I can confirm the GUI is no longer reachable, however I can easily ssh into the machine and all the associated VMs and jails continue to run. Is there a way to restart the middleware GUI from the command line?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
service middlewared restart
 

KevDog

Patron
Joined
Nov 26, 2016
Messages
462

KevDog

Patron
Joined
Nov 26, 2016
Messages
462
Hmm I've upgraded to U2 this morning and the same thing happened. The middlewared dies, I can't login via the GUI and I'm constantly getting spammed by truecommand that my system suddenly went offline. Seems I have a problem with the middlewared dying for whatever reason. Shouldn't this autorestart?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Look in /var/db/system/cores to see if your system is creating a core dump when this happens. The middleware runs on Python 3.8, so there may be a large python3.8.core file.
 

KevDog

Patron
Joined
Nov 26, 2016
Messages
462
Look in /var/db/system/cores to see if your system is creating a core dump when this happens. The middleware runs on Python 3.8, so there may be a large python3.8.core file.

It does create a python3.8.core file (or it did). I since deleted it since this was also coming up as an alert.
 
Top