Self-Hosted Server Maintenance¶
Maintenance of a self-hosted server is performed by the customer independently. Below are the procedures we recommend carrying out regularly to ensure stable and uninterrupted system operation:
- Monitoring resource usage and timely scaling of hardware resources (CPU, RAM, available disk space)
- Protecting the operating system from unauthorized access
- Protecting the environment against DDoS attacks
- Updating the system when new versions are released
- Removing and archiving old log files
- Monitoring expiration dates and timely renewal of SSL certificates
- Monitoring expiration dates and timely renewal of the domain
- Backup data
Technical Support
If you encounter any difficulties during maintenance, please contact Technical Support — our specialists will be happy to assist you.
Below you will find some tips for frequently asked questions.
Backup Data¶
Regularly back up the following components:
- Database
- Distributions
- User data
The data is stored in the following directories:
-
/opt/getscreen/db/data -
/opt/getscreen/download/data -
/opt/getscreen/image/data -
/opt/getscreen/storage/data
Update System¶
To update the system, run the following commands:
The Main Server and Download Component make schema changes in the database on their own, if necessary.
Major Updates
For major updates, the developer can provide additional instructions which must be followed to correctly upgrade to the new version of the system.
Reset Admin Password¶
In case if main administrator's password been lost, you can reset it if you keep ssh access to the server. Please run command:
Command will display the new password:
After that, container with server must be restarted:
Video Recordings Storage¶
To configure storage of video recordings outside of standard /opt/getscreen folder, open docker-compose.yml file. Find section for getscreen-storage container:
#########################################################
# Storage (screen videos) server
#########################################################
[skipped]
volumes:
- ./storage/data:/opt/storage/data:rw
- ./storage/log:/opt/storage/log:rw
- ./storage/config.json:/opt/storage/config.json:ro
- ./cert/server.crt:/opt/storage/cert/server.crt:ro
- ./cert/server.key:/opt/storage/cert/server.key:ro
and add line into volumes section
where /path/to/video - path where you want to store video.