Project

General

Profile

redmine date and time is not updated with actual date

Added by Mario Luzeiro about 11 years ago

I am running a redmine in a virtual machine.
Everyday I put the machine in standby, and then I resume it on next day.

So now, the redmine is not updating the actual data/time. (Like if I create a new issue, the calendar date is not updated, .. every dates are not updated)
It seems that the system or redmine only update the data in some specific time.

Any hints?

thanks
MRL


Replies (3)

RE: redmine date and time is not updated with actual date - Added by Ivan Cenov about 11 years ago

Is this Redmine problem? May be this is related to the virtual machine? The other applications in VM, do they use actual dates & time?

RE: redmine date and time is not updated with actual date - Added by Mario Luzeiro about 11 years ago

I will check it latter the system date/time.
I don't know how redmine is getting the date/time..
If it is a VM problem, maybe I need to add a cron job to try to get an updated date..

RE: redmine date and time is not updated with actual date - Added by Martin Denizet (redmine.org team member) about 11 years ago

I confirm that the date/time comes from the OS.

I recommend these steps
  1. Install your VM tools (Guest additions on VirtualBox). It should ensure the hardware time synchronization
  2. Check your time zone.
    On Debian:
    Check the current local time:
    date -R
    

    Change the time zone:
    dpkg-reconfigure tzdata
    
  3. If the problem persists, install NTP
    On debian:
    aptitude install ntp
    

    See documentation: https://wiki.debian.org/NTP

Note that Debian commands will also work with Ubuntu

Cheers,

Martin

    (1-3/3)