Upgrading
This version requries updating the host helper script first.
# Update the demyx image to the latest version
docker pull demyx/demyx
# Update the host helper script
docker run -t --rm \
-v /usr/local/bin:/tmp \
--user=root \
--entrypoint=bash \
demyx/demyx -c 'cp -f /etc/demyx/host.sh /tmp/demyx; chmod +x /tmp/demyx'
# Use the latest version of demyx
demyx host restart
# Finally upgrade
demyx host upgrade -f
Fixes
- Move update counter commands to its own function so
demyx host restart
can work properly 5c782e3 - The script will error and exit if there are containers still using an old image c68a85b
- Suppress external network warning 483d57a
- Replace
demyx_host_dangling_images()
with a single line command to make sure all dangling images gets deleted aaf660a - The image docker:cli should be included here 331f73b
- Use
demyx refresh
to ensure containers are properly restarted 74bfa4e - Requires the
--remove-orphans
flag when refreshing configs 856ec86 demyx config --opcache
wasn't recreating the WP container 734e01bdemyx config --bedrock
should error on non bedrock stacks 21e111a- IPWhiteList is deprecated 8987f31
- Use official Docker CLI image to fix the
KeyConfig
error 0fa5d52 - Should be able to bypass "No updates available" and be able to upgrade demyx and host helper script only df2bec1
- Move commands into a global function since backups are using the old container name format which would break
demyx restore
8f3f808