Incorrect datetime (Debian, OMV)
#8
(06-19-2018, 08:01 PM)Rocklobster Wrote:
(06-19-2018, 03:13 PM)erickpeniche Wrote:
(06-19-2018, 03:03 PM)martinayotte Wrote: What have you done to setup NTP ?
Did you tried to stop NTP service and tried the "ntpdate <ntp-server-name>" manually ?

I've done that and I've also tried updating the servers through the "ntp.conf" file. Before making any change to NTP I always stop the service, make the change, then start it. No luck

Have a read through this. Things have slightly changed. This should help sort your problem out https://www.digitalocean.com/community/t...untu-16-04

Please let us know how you get on

I have tried most of the instructions there when I spent a couple hours in the beginning  with this issue. I gave up for a wee and now I will continue trying to look for a solution. I'll post some initial steps of my process so you get an idea

(06-20-2018, 01:48 AM)MichaelRock Wrote:
(06-20-2018, 01:25 AM)mikedhoore Wrote: Maybe not the correct time zone ??

https://wiki.debian.org/TimeZoneChanges

Not relevant considering OP have very high shift in date, not time alone (May 27th, what TZ could it be ? Smile  )

Does internet connection work ?
With what you have provided, it's clear you have working LAN connection, but no info on internet one.

Be careful too, there is too ntp packages on debian, ntp and ntpdate, unless I'm wrong, the first is for synchronizing your own network with one or more ntp server(s), the second is for actual sync with internet server (in conf something like pool.ntp.....debian.org as I recall)

To avoid too big shift, it's better to start ntpdate on reboot + eventually every day with cron if you keep your SBC up all the time.

I'm almost sure I've tried ntpdate. These are the steps I follow each time I decide to try again from scratch, some steps might answer your questions:

  1. Format microSD card
  2. Write latest stable image to microSD card using etcher and verify image
  3. Insert microSD to Rock64, plug ethernet cable and lastly official power supply
  4. Wait a couple of minutes for it to boot
  5. Access web gui with default username and password (notice incorrect datetime once logged in)
  6. Disable session timeout, change admin password, enable root ssh. Apply all changes
  7. SSH using root, ping google.com, curl www.google.com (network test success)
  8. apt-get update, apt-get upgrade
  9. Reboot, login again through web gui, datetime still incorrect

(06-20-2018, 04:01 AM)Rocklobster Wrote: Follow this post exactly as it is written. I experienced a similar problem to you after a sudo apt-get update/upgrade in Debian. As I explained things have changed in Debian and it is necessary to remove ntp and replace it with ntpd. Systemd will look after everything from there
https://feeding.cloud.geek.nz/posts/time...d-systemd/

Let me try this now and will let you know the results. Thanks!

(06-20-2018, 04:01 AM)Rocklobster Wrote: Follow this post exactly as it is written. I experienced a similar problem to you after a sudo apt-get update/upgrade in Debian. As I explained things have changed in Debian and it is necessary to remove ntp and replace it with ntpd. Systemd will look after everything from there
https://feeding.cloud.geek.nz/posts/time...d-systemd/

It works! But the package ntp is a dependency for other packages:
Code:
The following packages will be REMOVED:
 ntp openmediavault openmediavault-flashmemory openmediavault-netatalk openmediavault-omvextrasorg
If I continue with the instructions on link, I'm able to fix the datetime issue, but since the above packages were removed, Im no longer able to open OMV web gui.


Messages In This Thread
RE: Incorrect datetime (Debian, OMV) - by erickpeniche - 06-25-2018, 06:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio @ Debian 12 dmitrymyadzelets 2 304 04-08-2024, 06:47 AM
Last Post: dmitrymyadzelets
Tongue RockPro64 Ethernet NOP After Debian 11 Install... MattDralle 1 2,151 10-30-2021, 06:10 AM
Last Post: Rocklobster
  Rock64-4gb,Armbian Debian Stretch: Plex, Radarr, NZBGet and Sickchill WOW Baracuda2 1 3,056 02-27-2019, 03:34 PM
Last Post: Luke
  Newbie, No GUI interface for Debian Stretch Min 64 (bld 0.7.9) Pajaro 1 2,961 09-10-2018, 07:30 PM
Last Post: evilbunny
  Working desktop on Debian ? Chris66 5 6,943 08-29-2018, 12:21 PM
Last Post: dkryder
  Debian to eMMC? Hoerli 7 8,576 05-06-2018, 05:41 PM
Last Post: pfeerick

Forum Jump:


Users browsing this thread: 1 Guest(s)