If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Possible solution for Boom using LMS in Docker displaying UTC but not local time
Thank you for answering the question! I really appreciate you stepping in and answering.
For some reason I didn't get a notification that there was a post to the thread I had started, so I never knew someone needed more details. Now I have to make sure I get my settings set correctly so that I get email when someone posts to a thread I start.
First you need to find out the name of your time zone. Wikipedia can help here - for me it is "Europe/Berlin".
In DSM go to Docker, choose your image, "Launch" a new container. Click "Advanced Settings", "Environment" and add a new variable "TZ" with content"Europe/Berlin" (or wherever you are).
BTW: You need to do the same for a Squeezebox Radio. Even if it shows the correct time without setting TZ the alarms go off at the wrong time.
Hi, I'm solving the "timezone" problem with BOOM as well. Could I ask you for more info on the instructions "Then within the Docker container I defined a TZ environment variable and set that to America/Los_Angeles. From a SSH session, I ran "docker exec -it <container ID> date" and verified that the time within the container was also showing local time." ?
How can I define the TZ variable and set it? Thanks a lot.
Possible solution for Boom using LMS in Docker displaying UTC but not local time
I have two Boom units and two Radios. All four had been connected to squeezenetwork.com and showed my local time. Recently I purchased a Synology NAS (DS920+) and installed LMS within Docker (thank you to others on this forum who wrote primers on how to do that!).
I noticed that my Boom units were showing UTC while the Radio units were showing local time. So I read all (that I could find) posts here on the board that related to questions about getting Squeezebox Boom to display local timezone time.
I understand that Boom doesn't have a timezone setting in it. I verified that my Boom does show PST/PDT when connected to squeezenetwork.com. Unfortunately while the media server at squeezenetwork.com allows setting timezones for a Boom, the LMS doesn't seem to have that feauture baked in.
Based upon what others had mentioned, I updated my NAS server's timezone to Pacific. The date command confirmed local time was set. Then within the Docker container I defined a TZ environment variable and set that to America/Los_Angeles. From a SSH session, I ran "docker exec -it <container ID> date" and verified that the time within the container was also showing local time. The log for LMS has timestamps showing local time zone.
My Boom units are now displaying local time. The reason I made all of these changes to the host and the docker container was because I understood that was where the Boom was getting the time display info from.
Any corrections, or additional information from others that might help folks in the future is appreciated.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Leave a comment: