I recently did a successful update from 9.3 to 11.2, from within FreeNAS. Then I went to 11.3-U5, also successful. Should have stopped there, but took the next step to TrueNAS CORE 12. These were all from the update page in the GUI. Now the system boots, but no GUI and no access to the storage. After powering on, the 'Welcome to TrueNAS' menu comes up. I let it autoload. After it's done booting, I can ping the IP address. And if I point a browser to it through the LAN and I get a page that says: "Connecting to TrueNAS ... Make sure the TrueNAS system is powered on and connected to the network." Here are some things I see during the boot. Of course, there's a lot more. I pulled out some things that seemed significant, but I don't know enough to know what's important. I recorded the whole bootup, so can look for more details if needed:
can't find '/etc/hostid'
Starting zfsd
lo0: link state changed to UP
middlewared: setting up plugins (pwenc) [4/57]
Middleware startup is idle for more than 240 seconds
##############################################################
MIDDLEWARED FAILED TO START, SYSTEM WILL NOT BEHAVE CORRECTLY!
##############################################################
Loading early kernel modules:
Syncing disks...
Failed to run middleware call. Daemon not running?
Mounting local filesystems:.
Failed to run middleware call. Daemon not running?
Setting hostname: truenas.
Feeding entropy: .
Starting interfaces...
eval: ha_mode: not found
Generating configuration for interface_sync checkpoint
Failed to run middleware call. Daemon not running?
Failed to sync interfaces
Starting dhclient.
em0: no link .............. giving up
/etc/rc.d/dhclient: WARNING: failed to start dhclient
Starting dhclient.
em1: no link .......em1: link state changed to UP
got link
DHCPDISCOVER on em1 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 192.168.1.1
DHCPREQUEST on em1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.40 -- renewal in 43200 seconds.
can't find '/etc/hostid'
Starting zfsd
lo0: link state changed to UP
middlewared: setting up plugins (pwenc) [4/57]
Middleware startup is idle for more than 240 seconds
##############################################################
MIDDLEWARED FAILED TO START, SYSTEM WILL NOT BEHAVE CORRECTLY!
##############################################################
Loading early kernel modules:
Syncing disks...
Failed to run middleware call. Daemon not running?
Mounting local filesystems:.
Failed to run middleware call. Daemon not running?
Setting hostname: truenas.
Feeding entropy: .
Starting interfaces...
eval: ha_mode: not found
Generating configuration for interface_sync checkpoint
Failed to run middleware call. Daemon not running?
Failed to sync interfaces
Starting dhclient.
em0: no link .............. giving up
/etc/rc.d/dhclient: WARNING: failed to start dhclient
Starting dhclient.
em1: no link .......em1: link state changed to UP
got link
DHCPDISCOVER on em1 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 192.168.1.1
DHCPREQUEST on em1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.40 -- renewal in 43200 seconds.