Comments (5)
OK, created a new sub branch restore
that fixes the message.
from synology-docker.
Sorry, I should have been clearer... it doesn't try and extract the file using that path. I think the only issue here is the text you are outputting for "Step 2 from 5" :)
from synology-docker.
No worries, I copied the original incorrect output below.
root@DiskStation:/volume1/docker/synology-docker# sudo ./syno_docker_update.sh -b /volume1/docker/synology-docker/docker_backup_200611115000.tgz restore
Update Docker Engine and Docker Compose on Synology to target version
Current DSM version: 6.2.3
Current Docker version: 19.03.11
Current Docker Compose version: 1.26.0
Step 1 from 5: Stopping Docker service
pkgctl-Docker stoped.
Step 2 from 5: Extracting Docker backup (/volume1/docker/synology-docker//volume1/docker/synology-docker/docker_backup_200611115000.tgz)
bin/
bin/containerd
bin/auplink
bin/runc
bin/containerd-shim
bin/ctr
bin/dockerd
bin/docker-init
bin/docker
bin/docker-compose
bin/docker-proxy
dockerd.json
ERROR: Docker compose binary could not be extracted from archive
Nevertheless, it should be step 2 out of 5, no? These are the steps for a restore
command:
restore )
TOTAL_STEPS=5
detect_current_versions
execute_prepare
define_restore
execute_stop_syno
execute_extract_backup
execute_restore_bin
execute_restore_log
execute_start_syno
;;
from synology-docker.
Before I read your latest message, I had already looked at the script and found the issue. I've not tested it, but can confirm that the change you made is the same as what I had in mind.
from synology-docker.
Great, I'll merge this branch with the master and will close this issue.
from synology-docker.
Related Issues (20)
- Ensure root ownership for Docker binaries
- Ensure folder `/var/lib/docker/volumes` exists
- Allow graceful stopping of script during Docker daemon start/stop
- Support stacked parameters
- Cannot reach containers attached to user-defined bridge network HOT 17
- Folder location HOT 1
- Binaries not installed HOT 5
- Adjust update of log driver configuration HOT 8
- Known issues
- Add flag to stop containers before updating
- Store logs on disk
- Lost of connectivity after reboot HOT 10
- [BUG] After update, Docker service doesn't start. HOT 10
- New package release on synology website HOT 1
- Add support for DSM 7
- [FeatureRequest] Add nvidia-docker2 support HOT 7
- Updating to DSM 7 HOT 7
- [BUG] Docker-compose download error HOT 3
- Can't make update in DSM 7.2-64561 HOT 4
- DSM 7.1.1 (DS1813+) and Docker v24.0.6 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synology-docker.