Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Vaultwarden
  3. Set correct timezone

Set correct timezone

Scheduled Pinned Locked Moved Solved Vaultwarden
6 Posts 3 Posters 2.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jaschaezraJ Offline
    jaschaezraJ Offline
    jaschaezra
    wrote on last edited by
    #1

    Heja hey,

    I am totally new to cloudron and Docker and I was trying to find out how to set the correct timezone for Vaultwarden. After some search I found that it must be set for the docker container (see here: https://vaultwarden.discourse.group/t/setting-timezone/1333/5) but I have no idea how this is done.

    girishG 1 Reply Last reply
    0
    • jaschaezraJ jaschaezra

      Heja hey,

      I am totally new to cloudron and Docker and I was trying to find out how to set the correct timezone for Vaultwarden. After some search I found that it must be set for the docker container (see here: https://vaultwarden.discourse.group/t/setting-timezone/1333/5) but I have no idea how this is done.

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @jaschaezra You can set custom env vars in /app/data/config.env . You can edit that file using the File manager. Restart the app for changes to take effect.

      But, I am not sure where this timezone is used? It doesn't seem to be used by vaultwarden itself. What are you looking for?

      1 Reply Last reply
      1
      • jaschaezraJ Offline
        jaschaezraJ Offline
        jaschaezra
        wrote on last edited by
        #3

        The timezone is used at admin/diagnostics.

        I added it to config.env and restarted it but I only got this in the logs:

        Nov 01 20:52:59
        Nov 01 20:52:59 [INFO] No .env file found.
        Nov 01 20:52:59
        Nov 01 20:52:59 [2022-11-01 19:52:59.701][vaultwarden::api::notifications][INFO] Starting WebSockets server on 0.0.0.0:3012
        Nov 01 20:52:59 [2022-11-01 19:52:59.703][start][INFO] Rocket has launched from http://127.0.0.1:3000
        
        nebulonN 1 Reply Last reply
        0
        • jaschaezraJ jaschaezra

          The timezone is used at admin/diagnostics.

          I added it to config.env and restarted it but I only got this in the logs:

          Nov 01 20:52:59
          Nov 01 20:52:59 [INFO] No .env file found.
          Nov 01 20:52:59
          Nov 01 20:52:59 [2022-11-01 19:52:59.701][vaultwarden::api::notifications][INFO] Starting WebSockets server on 0.0.0.0:3012
          Nov 01 20:52:59 [2022-11-01 19:52:59.703][start][INFO] Rocket has launched from http://127.0.0.1:3000
          
          nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          @jaschaezra the Cloudron package is not using the .env file but will source the config.env. So to adjust the timezone, add export TZ="Europe/Berlin" to this file, then restart the app.

          1 Reply Last reply
          0
          • nebulonN nebulon marked this topic as a question on
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            Tested this now. Setting the below in /app/data/config.env works.

            export TZ=Europe/Berlin
            

            Note: restart the app for change to take effect.

            1 Reply Last reply
            2
            • girishG girish has marked this topic as solved on
            • jaschaezraJ Offline
              jaschaezraJ Offline
              jaschaezra
              wrote on last edited by
              #6

              @nebulon I did that.
              And I just reckognized that admin/diagnostics broke after that.

              I installed the new updated package and changed config.env and now diagnostics shows everything correct.

              Bildschirmfoto 2022-11-03 um 16.23.18.png

              Thank you for helping out, this is resolved now.

              1 Reply Last reply
              1
              • necrevistonnezrN necrevistonnezr referenced this topic on

              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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search