diff --git a/Makefile b/Makefile index 097314e8..0a98568d 100644 --- a/Makefile +++ b/Makefile @@ -303,7 +303,7 @@ dockerhub: docker-build-dev: docker build --build-arg VERSION=${VERSION} -t statping/statping:latest --no-cache -f Dockerfile . - docker tag statping/statping:dev statping/statping:dev-v${VERSION} + docker tag hunterlong/statping:dev hunterlong/statping:dev-v${VERSION} post-release: frontend-build upload_to_s3 publish-homebrew dockerhub diff --git a/frontend/src/API.js b/frontend/src/API.js index 0eede1ca..511469b7 100644 --- a/frontend/src/API.js +++ b/frontend/src/API.js @@ -8,7 +8,7 @@ const tokenKey = "statping_auth"; class Api { constructor() { this.version = "0.90.70"; - this.commit = "8c89b7ed4b45885063afaba445249bdf51bb1982"; + this.commit = "ce360c64d9f4ea48519eeed77529bd17ba51a7a7"; } async oauth() { diff --git a/frontend/src/pages/Help.vue b/frontend/src/pages/Help.vue index 61654a40..023405f8 100755 --- a/frontend/src/pages/Help.vue +++ b/frontend/src/pages/Help.vue @@ -13,6 +13,8 @@ Notifiers + Issues and Solutions + Bulk Import Services Environment Variables @@ -326,6 +328,44 @@ func AttachNotifiers() error { +
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.
+ +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
.
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
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)
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 thanDB_PASS
- Database passwordDB_PORT
- Database port (5432, 3306, …)DB_DATABASE
- Database connection’s database nameDB_DSN
- Database DSN string (postgres, mysql, sqlite)READ_ONLY
- Run in a read only mode, this will not create, update, or delete records (false)POSTGRES_SSLMODE
- Enable Postgres SSL Mode ‘ssl_mode=VALUE’ (enable/disable/verify-full/verify-ca)MAX_OPEN_CONN
- Set Maximum Open Connections for database server (default: 25)MAX_IDLE_CONN
- Set Maximum Idle Connections for database server (default: 25)MAX_LIFE_CONN
- Set Maximum Life Connections for database server (default: 25)MAX_LIFE_CONN
- Set Maximum Life Connections for database server (default: 5 minutes)PREFIX
- Add a prefix string to each Prometheus metric (default is empty)LOGS_MAX_SIZE
- Maximum size for log files (defaults to 16 MB)
LANGUAGE
- Language to use (en, fr, ru, more to come…)
LANGUAGE
- Language to use (en, fr, it, ru, zh, de, ko, ja)
USE_ASSETS
- Automatically use assets from ‘assets folder’ (true/false)
++If you have issues with Statping not loading frontend files, delete the assets folder and reboot.
+
|