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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Cannot be set Two-factor

    Support
    timezone 2fa
    3
    6
    277
    Loading More Posts
    • 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.
    • archos
      archos last edited by girish

      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

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @archos last edited by

        @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

        archos 1 Reply Last reply Reply Quote 0
        • archos
          archos @nebulon last edited by

          @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

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @archos last edited by

            @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 Reply Quote 0
            • archos
              archos last edited by

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

              girish 1 Reply Last reply Reply Quote 1
              • girish
                girish Staff @archos last edited by

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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB