Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| admin:server_installation_3 [2023/07/24 11:10] – [SSL Certificate] Ujwal Khatry | admin:server_installation_3 [2025/12/02 04:54] (current) – [Configure the computer to restart if the mSupply service does not start] Kahn Wynyard | ||
|---|---|---|---|
| Line 176: | Line 176: | ||
| === Configure cache === | === Configure cache === | ||
| - | **Edit** > **Database | + | **Edit** > **Settings** > **User settings for Data file** |
| {{ : | {{ : | ||
| Line 236: | Line 236: | ||
| {{ : | {{ : | ||
| - | |||
| - | == Configure the computer to restart if the mSupply service does not start == | ||
| - | |||
| - | * Sometimes, for some reason, including, for example, after certain Windows OS updates, the mSupply Service will not automatically start, even though you have configured it to. | ||
| - | * To guard against this, it may be worth configuring the computer to restart if the mSupply service has not started after a LONG delay, say 120 minutes. | ||
| - | |||
| - | {{: | ||
| - | |||
| Line 277: | Line 269: | ||
| ==== SSL Certificate ==== | ==== SSL Certificate ==== | ||
| - | The mSupply server also has a webserver as mentioned | + | The mSupply server also has a webserver as mentioned |
| - | It is recommended that a public facing web server should have an SSL certificate installed. For the mSupply server a ' | + | It is recommended that a public facing web server should have an SSL certificate installed. For the mSupply server a ' |
| Theses files needs to be stored inside the folder C:\Program Files\mSupply\mSupply Server\Server Database | Theses files needs to be stored inside the folder C:\Program Files\mSupply\mSupply Server\Server Database | ||
| Line 320: | Line 312: | ||
| -----END PRIVATE KEY----- | -----END PRIVATE KEY----- | ||
| </ | </ | ||
| + | |||
| + | More recently we have moved towards using Caddy server software which setup a reverse proxy server which use Let's Encrypt to automatically update SSL certificates. This will avoid the need to manually watch and update expiring SSL | ||
| ==== Installing mSupply Client ==== | ==== Installing mSupply Client ==== | ||
| Needed: | Needed: | ||
| Line 415: | Line 409: | ||
| To locate an mSupply server on a network mSupply client broadcasts over the subnet on random UDP ports from 49157 and above. As such inbound UDP ports from 49157 upwards should be opened on the server firewall. If these UDP ports are not open on the server then the clients cannot automatically find the server. However clients can still be manually directed to the server IP address by holding alt when client is opening, and entering the IP address in the network address field of the custom tab. | To locate an mSupply server on a network mSupply client broadcasts over the subnet on random UDP ports from 49157 and above. As such inbound UDP ports from 49157 upwards should be opened on the server firewall. If these UDP ports are not open on the server then the clients cannot automatically find the server. However clients can still be manually directed to the server IP address by holding alt when client is opening, and entering the IP address in the network address field of the custom tab. | ||
| - | The default ports for client/ | + | The default ports for client/ |
| - | The server firewall will require inbound TCP ports 19812 and 19813 to be opened (however these ports can be changed in mSupply server if required). | + | The server firewall will require inbound TCP ports 19812, 19813 and 19814 to be opened (however these ports can be changed in mSupply server if required). |
| </ | </ | ||