mirror of https://github.com/statping/statping
Page:
Issues and Solutions
Pages
API
AWS EC2
Badges
Build and Test
Bulk Import Services
Cloud Foundry
Commands
Config with .env File
Contributing
Development
Docker Compose
Docker
Environment Variables
Features
GraphQL
Heroku
Home
Issues and Solutions
Linux
Mac Linux Windows
Mac
Makefile
Mobile App
Notifier Events
Notifier Example
Notifiers
PGP Signature
Paid Hosting
Prometheus Exporter
SMTP Emailing
SSL
Sponsor Goal
Static Export
Static HTML Exporter
Terraform
Testing
Types of Monitoring
Windows
config.yml
services.yml
9
Issues and Solutions
Hunter Long edited this page 2021-12-22 15:42:25 -08:00
If you have issues with your Statping instance, this page will help you solve them. Before doing anything, I recommend updating to the latest version of Statping.
Update to Latest Version
Updating Statping is very simple, you can choose one of the options below:
- Run command:
statping update
(you may need to run sudo depending on your server) - or Run command:
curl -o- -L https://statping.com/install.sh | bash
- or download tar.gz file from Latest Releases and extract for
statping
.
Blank/White Page
If your Statping instance is only showing a blank white page, this means there's an issue with CSS or JS assets.
- Update to the latest version of Statping
- Delete the
assets
folder if you have one - Restart Statping instance
Database Migration Errors
If you notice a database error during migration, you can reset your Statping instance while keeping previous data so you won't have to re-input.
- In your Statping directory (contains config.yml) run command:
statping export
. This will export all elements into a timestamped JSON file. This file will not include previous hits or failures. - Delete
assets
folder if you have one. - Delete and Recreate MySQL, Postgres database, or delete
statping.db
. - Import previous data by running:
statping import backup.json
(replace backup.json with your exported filename)
Deleting Old Records
DELETE FROM hits WHERE created_at < '2020-02-21 00:00:00';
// Delete hits older thanDELETE FROM failures WHERE created_at < '2020-02-21 00:00:00';
// Delete failures older than
Overview
Installation
Extras
Contact
Email: info@statping.com
Badges
Statping.com | Demo | Docker | Notifiers | API