Compare commits

..

53 Commits

Author SHA1 Message Date
Dominik Dzienia b8c9aa0dc2 Code formatting 4 months ago
Dominik Dzienia 35880f8cdc Fixed missing var update 4 months ago
Dominik Dzienia 0112d0a966 Hotfix release 1.9.5 - fixed watchdog domain detection 4 months ago
Dominik Dzienia a775ca7309 Fix build info 4 months ago
Dominik Dzienia 3232f30d2e Hotfix release 1.9.4 - made domain detection more robust against old hostnames 4 months ago
Dominik Dzienia 3c510323f5 Release 1.9.3 - fixed detecting mikr.us API key and hostname 4 months ago
Dominik Dzienia c7acde0478 Preparing release 1.9.2 4 months ago
Dominik Dzienia eddbefe919 Added limiting of watchdog logs while sending diagnostics 4 months ago
Dominik Dzienia 538178d92c Another try with diagnostics 4 months ago
Dominik Dzienia 4c61632e3d Support for new mikr.us hostname naming scheme 4 months ago
Dominik Dzienia 3d36625af7 Preventing downgrade on master 8 months ago
Dominik Dzienia a4c7449756 Release 1.9.1 8 months ago
Dominik Dzienia 8a4ada1599 Make update from menu check for new build 8 months ago
Dominik Dzienia 630893ae06 Updated CHANGELOG, fixed update e-mail 8 months ago
Dominik Dzienia ea08dc83ba Download error handling 8 months ago
Dominik Dzienia 58d45c9f8c Fixed update 8 months ago
Dominik Dzienia 8b9df0f7e6 Add update forcing option 8 months ago
Dominik Dzienia 60b67ceb10 Fixed update checks 8 months ago
Dominik Dzienia 12eed9e154 Fixed version info 8 months ago
Dominik Dzienia f4680d36dc Refactored update detection 8 months ago
Dominik Dzienia 674bcd956a Fixed update dialog 9 months ago
Dominik Dzienia 5ec015faaa Fixed update 9 months ago
Dominik Dzienia cab0f7e946 Fixed uninstall 9 months ago
Dominik Dzienia d6b81c8baf Fixes in text measuring 9 months ago
Dominik Dzienia d82a105c3b Build of 1.9.1 9 months ago
Dominik Dzienia dae5125e73 Docker service restart, events logging 9 months ago
Dominik Dzienia c39a9cd1d1 Docker containers logs cleanup 9 months ago
Dominik Dzienia 61adb44d39 Release 1.9.0 9 months ago
Dominik Dzienia d4870e539a Release 1.9.0 9 months ago
Dominik Dzienia cc96defdf4 Free space warnings 9 months ago
Dominik Dzienia 7a4d9ad8d0 Extended watchdog 9 months ago
Dominik Dzienia e8e3575c01 Handles edge case when apt is locked and diceware not installed 9 months ago
Dominik Dzienia 00a305a9ab Added tool version to diagnostics 9 months ago
Dominik Dzienia f7cffdf5cc Add size checking and retry for diagnostics 9 months ago
Dominik Dzienia b26ff0c2a7 Long operation warning added 9 months ago
Dominik Dzienia 61c5afd312 Fixed cleanup 9 months ago
Dominik Dzienia 2323feceb0 Cleanup an diagnostics 9 months ago
Dominik Dzienia 8ad805034d Fixed curl invocation 9 months ago
Dominik Dzienia 8ad97ebb61 additional logs 9 months ago
Dominik Dzienia a433441308 Logging fixes, addded channel support 9 months ago
Dominik Dzienia c6156575c8 Better watchdog logs 9 months ago
dominik ed568d8b41 Merge pull request 'Update 1.8.0' (#3) from develop into master
Reviewed-on: #3
2 years ago
Dominik Dzienia 743b6a49e2 Fixed domain names hint 2 years ago
Dominik Dzienia 4b78d9117a Fixed log on new install 2 years ago
Dominik Dzienia f490843906 Added domain requesting cache 2 years ago
Dominik Dzienia 2c60195d4f Watchdog error handling 2 years ago
Dominik Dzienia 261d23c50c Improved watchdog statuses 2 years ago
Dominik Dzienia c691d05f5b Updated status page URL 2 years ago
Dominik Dzienia 30ecee6ea0 Watchdog and multiple channels support 2 years ago
Dominik Dzienia 759462a709 Updated status page URL 2 years ago
Dominik Dzienia c7a5eeb77f Fixed container update mechanism 2 years ago
Dominik Dzienia c2c44ab610 Fixes, loop template 2 years ago
Dominik Dzienia 6ec50133f6 Fixed redirection to https 2 years ago

@ -0,0 +1,99 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.9.5],[1.9.4],[1.9.3] - 2025-03-19
### Fixed
- Detecting mikr.us API key / hostname
- Detecting domains on old hostnames
## [1.9.2] - 2025-03-13
### Changed
- Adjusted to new mikr.us host naming strategy
### Fixed
- Limited of watchdog logs added for diagnostics
## [1.9.1] - 2024-10-26
### Added
- Detecting and fixing docker server issues
- Additional cleanup of container logs
- Events added to logs and diagnostics
- Mail notification on possible update
- Build date shown in UI, logs and diagnostics
- Forced update flag
- Gracefull handling of repo 404 and invalid channels
### Changed
- Tool update mechanism taking into account build date
### Fixed
- Cleanups and refactoring in dialogs
- Bugs in update detection
## [1.9.0] - 2024-10-12
### Added
- Cleanup menu
- Gathering and sending encrypted diagnostics
- Watchdog notifications for low free space
### Changed
- Main menu, moved update items to its own submenu
- Added diagnostics encryption key to about dialog
### Fixed
- More robust watchdog, detects and restarts stale MongoDB
## [1.8.1] - 2024-01-17
### Added
- Custom update channels support
### Changed
- Added more detailed logs in case of watchdog failure
## [1.8.0] - 2024-01-07
### Added
- Support for command line switches
- Support for development and production update channels
- Watchdog called from cron
- Status of watchdog and its logs
### Changed
- Main menu status show live calculated status instead of Nightscout container status
### Fixed
- Removed underscore from domain name hint, as xDrip and NS have issues with domains containing it
### Fixed
- More memory and memory limits config (in template) for MongoDB
## [1.7.0] - 2023-10-20
### Added
- UI shows verison number
- split betwen conatainer update and restart

@ -1,4 +1,4 @@
Copyright 2023 Dominik Dzienia <dominik.dzienia@gmail.com>
Copyright 2023-2004 Dominik Dzienia <dominik.dzienia@gmail.com>
Attribution-NonCommercial-NoDerivatives 4.0 International

@ -20,5 +20,5 @@ Nie opieraj decyzji terapeutycznych na podstawie wskazań tego narzędzia!
**Twórcy tego narzędzia NIE SĄ administratorami Mikr.us-ów ani Hetznera!**
- W razie problemów z dostępnością serwera najpierw sprawdź [status Mikr.us-a](https://status.mikr.us/status/mikrus). Gdyby strona status nie działała - sprawdź czy przypadkiem [Hetzner nie ma problemów](https://status.hetzner.com)
- Instalator także posiada swoją [stronę statusu](https://dzieniaalive.bieda.it/status/td) - ale dotyczy ona tylko **skryptów instalacyjnych** a NIE dostępności TWOJEGO Nightscouta po instalacji.
- Instalator także posiada swoją [stronę statusu](https://status.cukrzycowy.pl/) - ale dotyczy ona tylko **skryptów instalacyjnych** a NIE dostępności TWOJEGO Nightscouta po instalacji.

File diff suppressed because it is too large Load Diff

@ -1,6 +1,6 @@
{
"name": "@dlvoy/ns-installer-mikrus",
"version": "1.6.0",
"version": "1.9.5",
"description": "Nightscout installer for mikr.us VPS",
"main": "index.js",
"scripts": {

File diff suppressed because it is too large Load Diff

@ -1,11 +1,11 @@
#!/bin/bash
### version: 1.6.0
### version: 1.9.5
# ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.#
# Nightscout Mikr.us setup script #
# ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.#
# (c)2023 by Dominik Dzienia #
# (c)2025 by Dominik Dzienia #
# <dominik.dzienia@gmail.com> #
# Licensed under MIT license #
# ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.#
@ -26,6 +26,8 @@ if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
# MAIN SCRIPT
#=======================================
startup_version
parse_commandline_args "$@"
# check_interactive
check_git
check_docker
@ -33,6 +35,8 @@ check_docker_compose
check_jq
check_ufw
check_nano
check_dateutils
check_diceware
setup_packages
setup_node
check_dotenv
@ -40,9 +44,11 @@ setup_users
setup_dir_structure
download_conf
download_tools
setup_security
update_if_needed
setup_firewall
install_cron
source_admin

@ -1,4 +1,4 @@
### version: 1.0.1
### version: 1.8.0
version: "2"
@ -9,10 +9,12 @@ networks:
services:
mongodb:
container_name: ns-database
mem_limit: 200m
mem_limit: 400m
mem_reservation: 100M
restart: always
image: "bitnami/mongodb:${NS_MONGODB_TAG}"
environment:
- MONGODB_EXTRA_FLAGS=--wiredTigerCacheSizeGB=0.4
volumes:
- "${NS_DATA_DIR}/mongodb:/bitnami/mongodb"
ports:

@ -1,4 +1,4 @@
### version: 0.5.0
### version: 1.6.1
########################################
# Unikalne ustawienia tej instancji
@ -6,7 +6,7 @@
########################################
API_SECRET=
CUSTOM_TITLE=Nightscout
CUSTOM_TITLE=Nightscout :: Technologie Diabetyka
########################################
# Konfiguracja działania NS
@ -42,6 +42,15 @@ PUMP_RETRO_FIELDS=battery reservoir clock status
# BRIDGE_PASSWORD="" # MIĘDZY CUDZYSŁOWAMI WPISZ HASŁO UŻYTKOWNIKA DEXCOM JEŚLI KORZYSTASZ BEZPOŚREDNIO Z ODCZYTÓW DEXCOM SHARE
# BRIDGE_SERVER="EU" # ZMIEŃ WPIS NA "US" JEŚLI KORZYSTASZ BEZPOŚREDNIO Z ODCZYTÓW DEXCOM SHARE Z SERWERA AMERYKAŃSKIEGO
########################################
# Konfguracja dla Loop
########################################
# LOOP_APNS_KEY=
# LOOP_APNS_KEY_ID=
# LOOP_DEVELOPER_TEAM_ID=
# LOOP_PUSH_SERVER_ENVIRONMENT=production
########################################
# Ustawienia alarmów
########################################
@ -102,5 +111,4 @@ AUTH_DEFAULT_ROLES=denied
MONGO_CONNECTION=mongodb://mongodb/admin
PORT=1337
INSECURE_USE_HTTP=true
DBSIZE_MAX=3000

@ -1 +1 @@
2023-10-02T12:09:10.024Z
2025-03-19T00:31:27.110Z
Loading…
Cancel
Save