Can't log into web UI: "Connecting to TrueNAS ... Make sure the TrueNAS system is powered on and connected to the network"

seanm

Guru
Joined
Jun 11, 2018
Messages
570
I've never seen this before, but going to the web UI on TrueNAS 12.0-U2.1 has suddenly broken for me. I've tried from 3 different browsers, on two different computers, with a 'private window' and without, and it always just shows the message:

"Connecting to TrueNAS ... Make sure the TrueNAS system is powered on and connected to the network"

My ssh access still works. Is there a command I can kick the web UI with?

Thanks.
 

Samuel Tai

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

Simon Bingham

Dabbler
Joined
Sep 21, 2018
Messages
15
I have the same issues in the gui I'm getting
Connecting to TrueNAS ... Make sure the TrueNAS system is powered on and connected to the network. this is the message on the console
1629673114664.png

whats the best course of action ? re install the OS ?
 
Joined
Nov 24, 2013
Messages
214
I have the same issue than @seanm as of right now. Everything works ssh, ftp, etc. except the webGUI.
Code:
service middlewared restart; service nginx restart
in the terminal via SSH retuning me this:

Code:
Stopping middlewared.
Segmentation fault (core dumped)
##############################################################
MIDDLEWARED FAILED TO START, SYSTEM WILL NOT BEHAVE CORRECTLY!
##############################################################
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Stopping nginx.
Waiting for PIDS: 53013.
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Starting nginx.


What mean
Code:
MIDDLEWARED FAILED TO START, SYSTEM WILL NOT BEHAVE CORRECTLY!


The system is fully updated. It start doing so when I start "untaring" a big 1TB .tar archive 1 hours ago. The logs report the same error that I'd post above.

I will try not rebooting for now as things are ongoing.

Thanks in advance for some help,

Guillaume
 

kaizo

Cadet
Joined
Jul 17, 2022
Messages
2
service middlewared restart; service nginx restart
I tried this and it worked with just "service middlewared restart"
and then I will be able to log in again but then after a few minutes it shows again and I have to do the same thing again for it to work do you know any solution for this
thanks,
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
@kaizo, your installation has become corrupted. Are you using a thumb drive? Those are no longer recommended. A small SSD is now recommended as the boot disk.

If you have a saved config from System->General, you can clean install to the SSD, and then upload your config to restore your system.
 

MechWarriorZero

Dabbler
Joined
Jun 6, 2022
Messages
15
I have the same issue, Connecting to TrueNAS ... Make sure the TrueNAS system is powered on and connected to the network.
 
Top