diff --git a/docs/nightscout/docker.md b/docs/nightscout/docker.md index b3b2f513..c3df58c0 100644 --- a/docs/nightscout/docker.md +++ b/docs/nightscout/docker.md @@ -11,25 +11,38 @@ Build your own Docker hub image 2. Open a shell in the project root directory (cd cgm-remote-monitor) -3. Create the image +3. Login + docker login --username username --password xxxxx + +4. Create the image docker build . -t cgm-remote-monitor -4. Get the image ID +5. Get the image ID docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE cgm-remote-monitor latest 81a5bfa0c365 50 seconds ago 263MB -5. Create an empty cgm-remote-monitor repository in Docker hub +6. Create an empty cgm-remote-monitor repository in Docker hub -6. Match your own Docker hub username with your Docker username +7. Match your own Docker hub username with your Docker username docker image tag 81a5bfa0c365 username/cgm-remote-monitor -7. Push the image to Docker hub +8. Push the image to Docker hub docker push username/cgm-remote-monitor -8. Your image is available as username/cgm-remote-monitor +9. Your image is available as username/cgm-remote-monitor + + + + + +cleanup: + +``` +docker image prune -a +``` diff --git a/docs/troubleshoot/troubleshoot.md b/docs/troubleshoot/troubleshoot.md index 37a3acdc..56bbf312 100644 --- a/docs/troubleshoot/troubleshoot.md +++ b/docs/troubleshoot/troubleshoot.md @@ -66,6 +66,13 @@ Not knowing if it's a permanent issue, first try to restart it... ----------- +If it's crashing again, and you use the Atlas database, make sure i's not [full](/troubleshoot/atlas.md#database-full)... + +If your database is not full, you might have your profiles table corrupted. + +- With Atlas, just [drop](/troubleshoot/atlas/#reports-slow-loading-or-timeout) them. +- With another accessible database, use a computer app like [Studio 3T](https://studio3t.com/) to delete the profiles table. Connect using your MONGODB_URI string. + ## GitHub Follow [these](/troubleshoot/github) instructions.