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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cannot be set Two-factor

Cannot be set Two-factor

Scheduled Pinned Locked Moved Solved Support
timezone2fa
6 Posts 3 Posters 1.2k 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.
    • archosA Offline
      archosA Offline
      archos
      wrote on last edited by girish
      #1

      Hello, I have a problem with using two-factor authentication with Cloudron application. I think it's a time setting problem, I have set the server to Europe/Prague time zone and in Cloudron settings I have Europe/Prague time zone (UTC+01:00) but in Cloudron application shows one hour less. Can someone please advise how to set the time correctly? The pictures show the diagnostics from Bitwarden and the time on the server using the timedatectl command. Thank you very much for your advice.server.png bitwarden.png

      nebulonN 1 Reply Last reply
      0
      • archosA archos

        Hello, I have a problem with using two-factor authentication with Cloudron application. I think it's a time setting problem, I have set the server to Europe/Prague time zone and in Cloudron settings I have Europe/Prague time zone (UTC+01:00) but in Cloudron application shows one hour less. Can someone please advise how to set the time correctly? The pictures show the diagnostics from Bitwarden and the time on the server using the timedatectl command. Thank you very much for your advice.server.png bitwarden.png

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        @archos so the server should have timezone set to UTC. Then you set the timezone in the Cloudron dashboard to your local one. This is used for cron and update/backup schedules then.

        See also https://docs.cloudron.io/settings/#timezone

        archosA 1 Reply Last reply
        0
        • nebulonN nebulon

          @archos so the server should have timezone set to UTC. Then you set the timezone in the Cloudron dashboard to your local one. This is used for cron and update/backup schedules then.

          See also https://docs.cloudron.io/settings/#timezone

          archosA Offline
          archosA Offline
          archos
          wrote on last edited by
          #3

          @nebulon Thank you for your prompt reply. I set the time zone to UTC hopefully fine, but unfortunately the two-factor authentication in Bitwarden and Cloudron doesn't work. I still have an hour less in Bitwarden. In the Cloudron app I had set the time zone to Europe/Prague (UTC+01:00)time-server.png

          girishG 1 Reply Last reply
          0
          • archosA archos

            @nebulon Thank you for your prompt reply. I set the time zone to UTC hopefully fine, but unfortunately the two-factor authentication in Bitwarden and Cloudron doesn't work. I still have an hour less in Bitwarden. In the Cloudron app I had set the time zone to Europe/Prague (UTC+01:00)time-server.png

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

            @archos the server settings seem correct. Could it be that the client's time is not in sync? Maybe worth a try to generate the 2FA codes from another device?

            1 Reply Last reply
            0
            • archosA Offline
              archosA Offline
              archos
              wrote on last edited by
              #5

              @girish I'm so sorry, but it was my fault. I typed the wrong command in the terminal. The Password Store on my phone generated the OTP code and everything works via the terminal on the PC. But at least I have the time set correctly on the server. Thanks again for your help.

              girishG 1 Reply Last reply
              1
              • archosA archos

                @girish I'm so sorry, but it was my fault. I typed the wrong command in the terminal. The Password Store on my phone generated the OTP code and everything works via the terminal on the PC. But at least I have the time set correctly on the server. Thanks again for your help.

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

                @archos no worries 🙂 glad you got that sorted out.

                1 Reply Last reply
                0
                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