Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Timezone issue

Featured Replies

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.

I'll be the first to ask the obvious question, does the docker host machine (presumably unraid) have the timezone correctly set ?

  • 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.

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

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.

 

 

  • 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.

  • Author

Looks like it might be a retrospect bug.  I connected to bash in the docker and the date and time are showing correctly.

try something like this

 

echo "Australia/Melbourne" > /etc/timezone    
dpkg-reconfigure -f noninteractive tzdata

 

in your config file to explicity set time as mebourne.

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.