On Windows, if you are using .msi version
Download the new .msi file and run. Setup will upgrade the server.
Other platforms (or if you are using .zip on Windows)
Stop ManicTime server
On Windows
Open command prompt where ManicTimeServer.exe is (usually in "Program files x86/ManicTime Server") and type:ManicTimeServer stop
On Linux
Stop ManicTimeServer process
Backup existing database - (optional, but recommended) Before you start we recommend that you backup the database. If this is SQL Ce database, you only need to copy the sdf file in Data sub-folder to some other location. If it is a SQL database you can do this in SQL manager.
Delete old files - Delete all files in the folder where ManicTimeServer.exe is located, EXCEPT:
- Data sub-folder
- ManicTimeServerSettings.json
Delete everything else.
Copy new files - Download latest version of ManicTime Server and copy all files from the zip file to the folder.
Start ManicTime server Then start the server again:
On Windows
Open command prompt where ManicTimeServer.exe is (usually in "Program files x86/ManicTime Server") and type:ManicTimeServer start
On Linux
Start ManicTimeServer process
While upgrading the server all ManicTimes which connect to the server can continue running.
If you experience problems while trying to start the server after an upgrade, there are logs in /Data/Logs folder. You can check the logs to see if you can resolve the issue, or you can send us the logs and we can help fix it.