You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs/Updates: Change full update procedure to recreate from templates
Previous procedure wasn't really a full update, but with the "Update only
Docker images" procedure, full update can be made more complete. Even
though it's more burdensome to users, as it removes any docker-compose.yml
user made customization.
Copy file name to clipboardExpand all lines: docs/Updates/index.md
+43-20Lines changed: 43 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,38 +118,61 @@ encountered the same problem and reported the fix.
118
118
119
119
## Full update
120
120
121
-
Periodically updates are made to project which include new or modified container template, changes to backups or additional features. As these are released your local copy of this project will become out of date. This section deals with how to bring your project to the latest published state.
121
+
Periodically updates are made to project which include new or updated container
122
+
template, changes to backups or additional features. To evaluate if this is
123
+
really needed, see the [changelog](Changelog.md) or [merged pull requests](
124
+
https://github.com/SensorsIot/IOTstack/pulls?q=is%3Amerged). To apply all these
125
+
changes all service definitions are recreated. As a drawback, this will wipe
126
+
any custom changes to docker-compose.yml, may change semantics or even require
127
+
manual migration steps.
122
128
123
129
!!! danger "Breaking update"
124
-
Recent changes will require [manual steps](
130
+
A change done 2022-01-18 will require [manual steps](
125
131
../Updates/migration-network-change.md)
126
132
or you may get an error like:
127
133
`ERROR: Service "influxdb" uses an undefined network "iotstack_nw"`
128
134
129
-
## Quick instructions
130
-
131
-
1. shutdown your RPi, remove its storage medium and do a full image backup of
132
-
it to another machine. Reinstall your storage and power up your RPi.
133
-
2. backup your current settings: `cp docker-compose.yml docker-compose.yml.bak`
134
-
3. check `git status` for any local changes you may have made to project files, ignore any reported "Untracked files". Save and preserve your changes by doing a commit: `git commit -a -m "local customization"`. Or revert them using: `git checkout -- path/to/changed_file`.
0 commit comments