Skip to content

Commit

Permalink
Corrupt profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
psonnera committed Aug 10, 2024
1 parent 236522b commit 872d53a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
25 changes: 19 additions & 6 deletions docs/nightscout/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
7 changes: 7 additions & 0 deletions docs/troubleshoot/troubleshoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 872d53a

Please sign in to comment.