When an application update is applied, files and directories from the previous application image are not removed. This bug was discovered in an app pre-release version, but it affects any NS8 application.
Old files that remain can cause unexpected issues in all applications.
Steps to reproduce
Install ghcr.io/nethserver/nextcloud:0.0.8
Update to ghcr.io/nethserver/nextcloud:1.1.8 (latest)
Expected behavior
The file located at AGENT_INSTALL_DIR/actions/configure-module/50migrate should not exist, as version 1.1.8 does not include it.
Actual behavior
The file remains present. Below is a file listing after the update:
When an application update is applied, files and directories from the previous application image are not removed. This bug was discovered in an app pre-release version, but it affects any NS8 application.
Old files that remain can cause unexpected issues in all applications.
Steps to reproduce
Expected behavior
The file located at
AGENT_INSTALL_DIR/actions/configure-module/50migrate
should not exist, as version 1.1.8 does not include it.Actual behavior
The file remains present. Below is a file listing after the update:
Notice the different modification dates.
Components
See also
Discussion https://mattermost.nethesis.it/nethesis/pl/jh3agmc9uby19dfiydzhneyrxo
Thanks to @Amygos @gsanchietti