April 4, 201511 yr Hi all, Newbie here so go easy... I've been working on getting Retrospect Client to work in a docker and so far it's looking good. I've based the Dockerfile on work from Needo and gfjardim and it works fine. The client starts successfully and it's visible from the server. I just can't get the timezone correct. The Retro server says the time is off by -11:00 hours. The offset is my timezone (Melbourne, Australia) to UTC. I've tried the /etc/localtime link, and running the $TZ to /etc/localtime and dpkg-reconfigure bit too. Here's the repo I've made, https://registry.hub.docker.com/u/navvy144/retro/ , any ideas would be great.
April 4, 201511 yr I'll be the first to ask the obvious question, does the docker host machine (presumably unraid) have the timezone correctly set ?
April 4, 201511 yr Author Sorry, probably should've been more specific. I'm testing this on Unraid v6B14b with the timezone set correctly to Melbourne. The time is correct and also points to the same NTP server as the Retrospect server. I've probably missed something simple, I just cant find it.
April 4, 201511 yr Sorry, probably should've been more specific. I'm testing this on Unraid v6B14b with the timezone set correctly to Melbourne. The time is correct and also points to the same NTP server as the Retrospect server. I've probably missed something simple, I just cant find it. just for the sake of completeness, this was posted in another thread about something entirely different but related only by time issues. your timezone setting in the config file of your docker doesn't include the if routine here. it probably won't make any difference but you never know. if [[ $(cat /etc/timezone) != $TZ ]] ; then echo "$TZ" > /etc/timezone dpkg-reconfigure -f noninteractive tzdata fi
April 4, 201511 yr I will say though that complete snippet solved my issue with the time being out by an hour when the UK went over to british summer time last week.
April 4, 201511 yr Author I will say though that complete snippet solved my issue with the time being out by an hour when the UK went over to british summer time last week. I'll give it another go, I had the full block in and removed it to simplify the code. Thanks for the advice, I'll post back how it goes.
April 4, 201511 yr Author Looks like it might be a retrospect bug. I connected to bash in the docker and the date and time are showing correctly.
April 4, 201511 yr http://forums.retrospect.com/index.php?/topic/151106-time-zone-issue/ they are talking about something similar here, i don't know the solution or indeed if this is the issue.
April 4, 201511 yr try something like this echo "Australia/Melbourne" > /etc/timezone dpkg-reconfigure -f noninteractive tzdata in your config file to explicity set time as mebourne.
April 4, 201511 yr Author I gave that a go using Australia/Sydney and Australia/Melbourne to see if it made any difference and it didn't so I thought I'd try to eliminate Unraid as the problem. I changed the windows server to save the hwclock as UTC, it still says -10 hours. (Daylight savings ended this morning.) I installed Retrospect on a clean Ubuntu install with correct time and timezone settings and it still has a 10 hour offset. It looks like retrospect has an issue with ubuntu and timezones. I might try to get onto their support and see what they say. Thanks again for your help. If I get it working, I'll upload it for the community.
Archived
This topic is now archived and is closed to further replies.