Wrong date and time!

I’ve now manged to get pass the stuck blue screen!

But now Kodi is showing the wrong date and time, it thinks it’s 11 August and 10pm!!!

I’ve tried the settings on the time and date format, theses are all correct.

How do you set the date the time???

Do you have an internet connection? There is an issue with 5G wifi so use 2.4G or ethernet to get going, then search here for the wifi issue.

When you say, do I have internet, I guess I must as I downloaded the August update, and that had to come via my internet, I don’t connect using wifi, only cat cables…

If you have established a successfull internet connection on your device (wired or wireless), try to see if a reboot of the device helps. After the reboot the device should sync the time. Give it a minute after the restart and then check again.

Yeah, I meant does your device have a connection.

The question is whether you have a network connection after updating. The quickest way to determine this might be to try and upload a log via My OSMC. If it fails, you don’t have a connection.

Sam

Mmm, I just restarted my Vero 4K and got an error message about not being able to connect to some database, which probably means I don’t have a valid internet connection?

That certainly sounds like it’s the case, yes.

So I can watch media from my NAS, so it’s connected to my router.
I have internet because that’s how I’m chatting on these forums.
So something seems amiss after the update?

Are you able to upload a log via My OSMC as suggested?

This could give us some clues

I’ve tried it says it could not retrieve a URL
If I go to System Info, and then Network it say I’m connected

Also, if I do a refresh info for a title, or select new artwork, all that works… so it is connecting to something

Could it be that there’s a temporary internet issue in your area?

But I’m typing to you now using my internet?

I’ve just tired again and it worked…

URL:https://paste.osmc.tv/yowakivalo

Try
sudo systemctl restart ntp

It’s unclear if it’s related to your networking issue, but there seems to something wrong with the USB subsystem. It might be hardware, firmware or kernel/software. Sam might have a better idea.

Your log is showing that something USB-related isn’t working:

Aug 11 22:45:31 osmc kernel: usb 1-1: new low-speed USB device number 2 using xhci-hcd
...
Aug 11 22:45:31 osmc kernel: usb 1-1: device descriptor read/all, error -71

That error -71 message (“Protocol Error”) appears over 1000 times in the log.

That’s interesting for a couple of reasons…

I have 2 USB devices plugged into the Vero 4K:

  1. FRAC USB adaptor
  2. Anker USB 3.0 Portable Gigabit Ethernet Adapter Supporting 10/100 / 1000 Mbps Ethernet

When my Vero 4K was initially stuck on a blue screen after the August update, I unplugged the USB Gigabit Adaptor in order to plug a USB keyboard in, and restarted the Vero 4K, which then worked and was no longer stuck on a blue screen… so the reason my install may of got stuck may have been down to an issue with the USB Gigabit Adaptor?

However, I have checked this morning and I still have the wrong date and time.

I can play movies fine, including my high bitrate 4K ones, I can refresh artwork, so it is connecting with the outside world, and I was able to upload a log, although I got a URL not found on the first attempt.

The errors are on usb 1-1, but it looks like the ethernet adapter is on usb 1-2:

Aug 11 22:45:34 osmc kernel: usb 1-2: new high-speed USB device number 6 using xhci-hcd
Aug 11 22:45:34 osmc kernel: usb 1-2: New USB device found, idVendor=0bda, idProduct=8153
Aug 11 22:45:34 osmc kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
Aug 11 22:45:34 osmc kernel: usb 1-2: Product: USB 10/100/1000 LAN
Aug 11 22:45:34 osmc kernel: usb 1-2: Manufacturer: Realtek
Aug 11 22:45:34 osmc kernel: usb 1-2: SerialNumber: 000001
Aug 11 22:45:34 osmc kernel: usb 1-2: Unsupported device
Aug 11 22:45:34 osmc kernel: usb 1-2: Unsupported device

Ooh, it’s a Realtek (8152) chip, though fortunately not WiFi. :slight_smile: The “Unsupported device” message is a bit concerning, though the device is successfully allocated to eth1 and starts up successfully, though with a 4-second pause before the link becomes ready:

Aug 11 22:48:34 osmc connmand[2345]: eth1 {create} index 4 type 1 <ETHER>
Aug 11 22:48:34 osmc connmand[2345]: eth1 {update} flags 4098 <DOWN>
Aug 11 22:48:34 osmc connmand[2345]: eth1 {newlink} index 4 address 00:E0:4C:30:10:A3 mtu 1500
Aug 11 22:48:34 osmc connmand[2345]: eth1 {newlink} index 4 operstate 2 <DOWN>
Aug 11 22:48:34 osmc kernel: r8152 1-2:1.0 eth1: v1.08.9
Aug 11 22:48:34 osmc connmand[2345]: Adding interface eth1 [ ethernet ]
Aug 11 22:48:34 osmc kernel: IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Aug 11 22:48:34 osmc connmand[2345]: eth1 {update} flags 36931 <UP,RUNNING>
Aug 11 22:48:34 osmc connmand[2345]: eth1 {newlink} index 4 address 00:E0:4C:30:10:A3 mtu 1500
Aug 11 22:48:34 osmc connmand[2345]: eth1 {newlink} index 4 operstate 0 <UNKNOWN>
Aug 11 22:48:34 osmc connmand[2345]: eth1 {update} flags 36867 <UP>
Aug 11 22:48:34 osmc connmand[2345]: eth1 {newlink} index 4 address 00:E0:4C:30:10:A3 mtu 1500
Aug 11 22:48:34 osmc connmand[2345]: eth1 {newlink} index 4 operstate 2 <DOWN>
Aug 11 22:48:38 osmc kernel: r8152 1-2:1.0 eth1: carrier on
Aug 11 22:48:38 osmc kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Aug 11 22:48:38 osmc connmand[2345]: eth1 {add} route fe80:: gw :: scope 0 <UNIVERSE>
Aug 11 22:48:38 osmc connmand[2345]: eth1 {update} flags 102467 <UP,RUNNING,LOWER_UP>
Aug 11 22:48:38 osmc connmand[2345]: eth1 {newlink} index 4 address 00:E0:4C:30:10:A3 mtu 1500
Aug 11 22:48:38 osmc connmand[2345]: eth1 {newlink} index 4 operstate 6 <UP>
Aug 11 22:48:38 osmc connmand[2345]: eth1 {del} route fe80:: gw :: scope 0 <UNIVERSE>
Aug 11 22:48:38 osmc avahi-daemon[2311]: Joining mDNS multicast group on interface eth1.IPv4 with address 192.168.0.16.
Aug 11 22:48:38 osmc avahi-daemon[2311]: New relevant interface eth1.IPv4 for mDNS.
Aug 11 22:48:38 osmc avahi-daemon[2311]: Registering new address record for 192.168.0.16 on eth1.IPv4.
Aug 11 22:48:38 osmc connmand[2345]: eth1 {add} address 192.168.0.16/24 label eth1 family 2
Aug 11 22:48:38 osmc connmand[2345]: eth1 {add} route 192.168.0.0 gw 0.0.0.0 scope 253 <LINK>
Aug 11 22:48:38 osmc connmand[2345]: eth1 {add} route 192.168.0.1 gw 0.0.0.0 scope 253 <LINK>
Aug 11 22:48:38 osmc connmand[2345]: eth1 {add} route 0.0.0.0 gw 192.168.0.1 scope 0 <UNIVERSE>
Aug 11 22:48:38 osmc connmand[2345]: eth1 {add} route 82.165.8.211 gw 192.168.0.1 scope 0 <UNIVERSE>
Aug 11 22:48:39 osmc connmand[2345]: eth1 {del} route 82.165.8.211 gw 192.168.0.1 scope 0 <UNIVERSE>

The last two lines (add/del route) are connman checking for a connection to the Internet. It looks like it succeeded.

During that 4-second pause before the ethernet link becomes available, the device tries to get the time from Google:

Aug 11 22:46:36 osmc http-time[2350]: No internet connectivity was detected within 60 seconds. Will try to send time query anyway.
Aug 11 22:46:36 osmc http-time[2350]: Unable to set time using HTTP query - no response received from servers.

At this point, I’d expect to see the ntp service also start – but it doesn’t. I just checked my Vero4K and my ntp is also not started, though the service is enabled. (I’ve confirmed this with a reboot.) So the only difference between my and your device is that the http-time service is able to connect to Google during the startup process.

Clearly the ntp service is having a problem at startup, though it can be manually started later on.

1 Like

It seems you are using an external Ethernet adapter. It would have been useful to have known this from the start.

Does the on-board Ethernet work OK?