TrueNAS can't update or run apps after reboot

fabiolanza

Dabbler
Joined
Dec 11, 2022
Messages
15
Hi, I just installed TrueNAS and installed Plex. It was working fine until I had to do a shutdown to move the server to a different room. After the second boot, it no longer can check for updates, and apps can't run, not even the app catalog. From its Shell, everything seems fine, it can ping internet IP addresses, and can resolve any public namespaces.

Any guesses on what to check?

Code:
root@truenas[~]# ifconfig
enp38s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.1.142  netmask 255.255.255.0  broadcast 10.0.1.255
        inet6 fe80::7285:c2ff:fef0:c52e  prefixlen 64  scopeid 0x20<link>
        ether 70:85:c2:f0:c5:2e  txqueuelen 1000  (Ethernet)
        RX packets 17905572  bytes 27022156551 (25.1 GiB)
        RX errors 0  dropped 577  overruns 577  frame 0
        TX packets 1260062  bytes 117619767 (112.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xf2700000-f271ffff 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 33338  bytes 9319611 (8.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 33338  bytes 9319611 (8.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@truenas[~]# nslookup uol.com.br
Server:         10.10.0.1
Address:        10.10.0.1#53

Non-authoritative answer:
Name:   uol.com.br
Address: 200.147.3.157
Name:   uol.com.br
Address: 2804:49c:3102:401:ffff:ffff:ffff:36
Name:   uol.com.br
Address: 2804:49c:3101:401:ffff:ffff:ffff:45

root@truenas[~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=114 time=9.14 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=114 time=9.22 ms


1670773450898.png


1670773469037.png


Thanks,
Fabio
 

LarsR

Guru
Joined
Oct 23, 2020
Messages
719
There are no dns and default Gateway settings.
Gateway should be your Routers IP and dns should be either your Routers dns Servers or Something Like Googles 8.8.8.8 or cloudflares 1.1.1.1
 

fabiolanza

Dabbler
Joined
Dec 11, 2022
Messages
15
There are no dns and default Gateway settings.
Gateway should be your Routers IP and dns should be either your Routers dns Servers or Something Like Googles 8.8.8.8 or cloudflares 1.1.1.1
Hi @LarsR thanks for the reply. However, these settings are defined in the network interface. They are not showing up there because they have been set by DHCP. Just to be sure I also defined them manually, but it did not fix the problem.
 

fabiolanza

Dabbler
Joined
Dec 11, 2022
Messages
15
Could it be that the service certificate is expired and that's the issue? I read that it happened before already.

update-stats.freenas.org
update-master.freenas.org

Both are not returning certificates when accessed from the browser.
 

fabiolanza

Dabbler
Joined
Dec 11, 2022
Messages
15
I think that something is wrong with the dates in my system:

1670794635319.png


Code:
root@truenas[~]# ls -l /etc/localtime
lrwxrwxrwx 1 root root 31 Jul 14 01:40 /etc/localtime -> /usr/share/zoneinfo/Europe/Rome
root@truenas[~]# timedatectl         
               Local time: Wed 2021-07-14 01:43:39 CEST
           Universal time: Tue 2021-07-13 23:43:39 UTC
                 RTC time: Sun 2022-12-11 21:35:48
                Time zone: Europe/Rome (CEST, +0200)
System clock synchronized: no
              NTP service: n/a
          RTC in local TZ: no
root@truenas[~]# hwclock             
2022-12-11 22:35:55.983921+01:00


How can I have all these datetime references aligned?

Thanks,
Fabio
 
Top