• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Why does the Google Authenticator, on my VPS, no longer work since performing a system reboot?

Craig1986

Basic Pleskian
I run a VPS, which hosts multiple WordPress websites. On these websites, I have the Google Authenticator App/Plugin installed. Recently, I had to Reboot the VPS. Since then the Google Authenticator Plugin has not accepting the Apps generated codes.

I was not sure if the problem was with my web files or the VPS itself. Whilst trying to troubleshoot, I decided to turn Google Authenticator feature off on the VPS as well then back on again. The idea being to re-trigger the Google Authentication screen on the VPS Login page as to see if my pass codes would be accepted. Unfortunately, the Google Authenticate no longer works.

I scanned the Bar Code, as to generate the Pass Codes on my App, which worked, but the Pass Codes are not being accepted. I re-synced the times, within the Google Authenticator App but the times were already correct.

The display I see is ...

upload_2018-8-20_1-32-40.png

Any ideas on why this may be happening and how I can go about resolving this?
 
I have just gone into the 'System and Date' area, as per the below screenshot:

upload_2018-8-20_2-23-57.png
I am based in the United Kingdom, where we are currently within the BST Timezone (British Summer Time). As such, an hour ahead of our usual GMT Timezone. Referring to the above image, should I manually move the clock forward an hour, so that 01:19:07 appears as 02:19:07 (Obviously putting in the correct time at time of modification)?

Which time should the serve time 'match'? My computer, phone which has the App installed or some other time such as Google's own servers etc?
 
I have managed to find the issue and thus, the solution.

Although I manually changed the Time Settings, as per my previous answer, what I needed to do was:

  • Head to the above image by going to Tools & Settings > General Settings > System Time;
  • Deselect 'Update system time' within the 'Date and time' area;
  • Within the 'Network Time', select 'Synchronize system time';
  • Then enter '3.pool.ntp.org' within the 'Domain name or IP' Text Box.
Once I did this, the Google Authentication not only started to work for the VPS itself but for the hosted Domains too.

A thanks to Mark Muyskens, for pointing me in the right direction!
 
Back
Top