Comments (2)
Hi,
you can simply put the stop-script into your iobroker-folder (opt/iobroker) and call it with javascript from inside iobroker by using exec command:
exec('/opt/iobroker/iobroker_stop.sh', function(err, stdout, stderr) {
if (err) {
log(stderr,'error');
return;
}
});
BUT
I think stopping iobroker inside your container is not your problem.
Maybe there is a Problem with Docker on your DS. If you use my backup-script, the script does a simple
docker stop [yourcontainername]
Make sure this command works by using the comandline in your DSM.
You can also activate e-mail notifications in your synology taskplaner to see if the task gets some errors during execution.
from iobroker.docker.
If there are still any questions please visit us at iobroker forum thread.
Regards,
André
from iobroker.docker.
Related Issues (20)
- [Feature Request]: Podman support (rootless by default) in installation script. HOT 6
- [Feature Request]: Working together on a helm chart HOT 2
- [Problem]: cannot pull most of the tags for ghcr.io/buanet/iobroker HOT 1
- [Feature Request]: Add set -e to healthcheck.sh HOT 1
- [Feature Request]: migrate to PUID/PGID since it is the defacto standard HOT 2
- [Problem]: userscripts are not owned by the SETGID/SETUID user HOT 2
- [Problem]: iobroker_startup.sh should respect traps HOT 3
- [Feature Request]: Disable keep-alive feature for containers, when not in maintenance mode HOT 6
- [Feature Request]: Make the list of available backups sorted
- [Problem]: arm/v7 support HOT 10
- [Problem]: Small typo in docs HOT 1
- [Problem]: Container on QNAP NAS: Backitup can't access mount point HOT 2
- [Problem]: Running Iobroker as a podman rootless container HOT 1
- [Problem]: iobroker gets killed by oom-kill constantly HOT 6
- Backup of influxdb running in different docker is not working HOT 8
- [Problem]: Update js-controller HOT 2
- Failed to load definitions for node: Error: HOT 1
- The selected advertiser, \"avahi\", isn't available on this platform HOT 2
- ERROR: Process exited with code 25 HOT 4
- [Problem]: Use bundled npm version instead of latest / don't upgrade npm manually HOT 1
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 iobroker.docker.