gcgarner / IOTstack

docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.52k stars 582 forks source link

Correct process for updating is not clear #64

Closed Paraphraser closed 5 years ago

Paraphraser commented 5 years ago

Although the Wiki covers:

cd ~/IOTstack
git checkout `git ls-files -m`
git pull origin master

It isn't clear what should happen next. Is it just executing:

~/IOTstack/scripts/update.sh

or is there a more appropriate procedure involving the stop/start/restart scripts?

gcgarner commented 5 years ago

I think I wrote that quite poorly. I'll spend some time improving the writeup on the wiki.

The update script only pulls the new base image from docker.

After the git pull you should rebuild the stack from the menu, when asked for the overwrite option select either full overwrite or keep env files.

I'll fix the write up this morning

gcgarner commented 5 years ago

Please have a look at the updated wiki entry and let me know if it is clearer and if you have any recommendations (besides my misspelling in the menu picture)

there is a note at the top if you ran

git checkout  `git ls-files -m`

It would have removed your duckdns token, you will need to reinsert it. The new update procedure will not remove it in future

Paraphraser commented 5 years ago

The changes to the Wiki help. A lot. Thanks.

gcgarner commented 5 years ago

Thanks for reviewing