Trying to change the TZ so that my area appears for "Today" rather than Berlin!
-
Hello, hope some coding guru can help me out here. My VPS is in Germany, and thus whenever I hit the "Today" button in Dawarich it brings me to Berlin. But, I would like a specific city in Canada to appear.
I read https://forum.cloudron.io/topic/15088/how-to-use-the-rails-console and the last docs link to https://docs.cloudron.io/packages/dawarich/#rails-console, and from there went to the cli, to /app/code/ and entered
app/code# export TIME_ZONE="America/Toronto", but nothing else happened to indicate it worked. I restarted the app, went to "Today" and I'm back in Berlin. -
Hello @scooke
Did you try to put that into the/app/data/env.shfile?export TIME_ZONE="America/Toronto"?
-
Hello @scooke
Are you sure? Do you use a volume or anything for the @dawarich app?
Because inside the/app/data/env.shshould also be theOTP_ENCRYPTION_PRIMARY_KEY,OTP_ENCRYPTION_DETERMINISTIC_KEYandOTP_ENCRYPTION_KEY_DERIVATION_SALTand if these are missing there should be all sorts of problems.
So I can't really imagine the file missing completely and even after an app restart. -
Under /app/code there are similar looking files, like .env.development, .env.template, .env.test, but even there, there isn't an actual .env.sh.
But, yes, I am sure. There was no env.sh file, I had to make it, and thus there also aren't any of the other values you list. I suppose it is working. Do you want to go in a check?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login