New Synology Users⌁
This guide is written after the Heroku's Next Chapter announcement of August 25, 2022. First, I want to put Heroku in the spotlight. They have had a big contribution to the growth of our do-it-yourself community with their free tier for a long time. Many, many thanks!
The migration of our three Nightscout sites from Heroku and MongoDB Atlas to our Synology is a success. Performed a full data migration for having zero data loss, running multiple Nightscout instances, working URL's shared with our hospital, I'm syncing my girlfriends data to my xDrip+ follower, using a free Let's Encrypt certificate and managed to get rid of the NSClient "xhr poll error", also bought a PositiveSSL Domain Validation certificate for EUR 10 a/year just to see it work (all OK).
It was a quite intense ride and therefore happy to share the learnings to help others. I will spend time to fill this page incrementally, because having a baby with a fun and busy job really limits your time.
Disclaimer⌁
Most people who own a Synology a pretty technical, this page is written for that audience. Self-hosting Nightscout on a Synology will be intense in patch management and maintenance, but also have some strong advantages. When you are not that technical, do not have the time to maintain all components or just want someone to do it for you I think T1Pal and NS10BE are recommend.
Need help?⌁
Before this guide is completely finished? Please use this Facebook topic in Facebook group CGM in the Cloud. I will monitor it and answer questions whenever possible.
Initial documents⌁
-
Nightscout on Synology + model, initially for the technically minded only
-
Nightscout Synology Tutorial using SSH and Portainer as mentioned in this Facebook comment. Definitely a good read, but a different implementation due to SSH and Portainer.
Version history⌁
See history of this page on GitHub for information.
Used components⌁
For this solution, the components below are used.
Services to migrate from⌁
Hardware⌁
- Hardware router at home
- Synology
- UPS Power supply for Synology
- Android smartphone for T1D patient
- Android smartphone for caregiver
Software⌁
- AndroidAPS, most recent for T1D Patient
- xDrip+, most recent for T1D Patient
- xDrip+, most recent for caregiver
- Synology DiskStation Manager, most recent
- Docker container mongo, v4.4.17
- Docker container mongo-express, latest
- Docker container Nightscout, latest
- A Nightscout token to provide hospital access to reporting
Visual Steps⌁
Detailed steps⌁
Steps correspond to the numbering on the drawing.