If the CareSuite server is not connected to the internet the server clock will drift and not be accurate after a period of time has passed.
Set current time manually
Terminal and run the following command to set the current time. Note that this solution will not permanently fix the time issue.
# Set the current time to the specified value. sudo date -s "2022-12-31 12:05:04"
Enable NTP time sync
To permanently fix the time issue, you will need to enable NTP time synchronisation. You will need to have access to an internal NTP server that provides you with the current time.
Terminal and open the file
/etc/systemd/timesyncd.conf in an editor:
sudo gedit /etc/systemd/timesyncd.conf
Add the IP or Hostname of your NTP server to the line that starts with
Save the file and exit. Then run the following command to reload the configuration:
sudo systemctl restart systemd-timesyncd
Check that your custom ntp server is active by running the following command:
Your ntp server should be displayed on the first line.