I log into my community instance. Admin --> Check for updates.
It tells me there are new versions, so I press the "Get Updates" button.
I see the ticks next under downloaded column.
I log into the server:
hmdm:~# /opt/hmdm/update-web-app.sh
Version to install: /var/lib/tomcat9/work/files/hmdm-5.40.2-os.war
Destination: /var/lib/tomcat9/webapps/ROOT.war
Update web panel? [Y/n]? y
Update successful. Please check the web panel version in 'admin - About'.
I check to see the version in the web panel and it is still the old version.
I have also tried a reboot but does not update.