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
release-upgrade will require manually edit Imunify repositories before enabling them.
131
+
132
+
:::tip Note
133
+
If you have upgraded the underlying OS (for example, Ubuntu 22.04 → 24.04), the Imunify repository `.list` files still point at the previous OS version and `apt-get update` will fail. Run the deploy script with `--post-os-upgrade` to refresh the repositories — see [Host OS upgrade](#host-os-upgrade) below.
134
+
:::
132
135
133
136
Debian 9 (supported up to Imunify v6.11 (including)), 10, and 11 systems:
When you upgrade the underlying operating system (for example, Ubuntu 22.04 → 24.04) on a server where Imunify360 or ImunifyAV is installed, the APT repository `.list` files keep pointing at the **previous** OS version. As a result `apt-get update` will either return 404 errors or pull packages built for the old OS, and the daily update cron will silently install the wrong packages.
146
+
147
+
This applies only to **Debian/Ubuntu** systems. RPM-based systems (CentOS / CloudLinux / AlmaLinux) are unaffected because `yum`/`dnf` resolve the OS version dynamically.
148
+
149
+
To recover after a host OS upgrade, run the deploy script with the `--post-os-upgrade` flag.
150
+
151
+
For Imunify360:
152
+
153
+
<divclass="notranslate">
154
+
155
+
```
156
+
bash i360deploy.sh --post-os-upgrade -y
157
+
```
158
+
</div>
159
+
160
+
For ImunifyAV:
161
+
162
+
<divclass="notranslate">
163
+
164
+
```
165
+
bash imav-deploy.sh --post-os-upgrade -y
166
+
```
167
+
</div>
168
+
169
+
The flag requires deploy script version **2.152** or later. It performs the following steps automatically:
140
170
171
+
1. Reinstalls `imunify-release` for the OS currently reported by `/etc/os-release`, which rewrites the repository `.list` files to the new OS version.
172
+
2. Handles the GPG key `.dpkg-dist` edge case introduced by Ubuntu 24.04 and later.
173
+
3. Re-enables the beta/testing repository if it was active before the upgrade.
174
+
4. Runs `apt-get update` and reinstalls the product package to pick up binaries built for the new OS.
175
+
5. Restarts the Imunify service so that the in-memory cache of `/etc/os-release` is refreshed.
176
+
177
+
:::tip Note
178
+
Run `--post-os-upgrade` only **after** the host OS upgrade has completed and the new OS has booted. The flag is intended for recovery; it cannot be combined with `--uninstall`. On RPM-based systems the flag exits early with an informational message.
0 commit comments