webmin: failure upgrading to Webmin 1.962 (from 1.960) on Ubuntu server 20.04.1
Webmin notifies an upgrade is available.
After pressing the “Upgrade Webmin Now” button in the dashboard . . .
Running setup.sh script to upgrade Webmin .. Please wait a minute until it is complete before continuing.
/bin/sh: 1: cd: can't cd to ../../webmin-1.962
I’m not sure from which directory the upgrader is trying to CD, but /usr/share/webmin-1.962 is already there !
Interestingly, /usr/share/webmin-1.962 is owned by “3001:uucp” I have never looked into the Webmin upgrade process in this detail before, but this seems potentially germane. Perhaps “3001:uucp” does not have access to “cd” (although that seems odd – changing dirs is not quite the same as read/write/execute permissions)
I have this happening on a number of similarly configured servers.
Thanks in advance for any insights or confirming this is a bug.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18
I just saw this, and I want to say: Do not do this. This is not upgrading using a package. It is updating directly from the development git repository, which is not a package. It should only be done if you are a developer working on Webmin-related stuff or testing a specific bugfix and a developer (me, Jamie, Ilia, or Kay, probably) has told you to do so (and I will never tell you to do so, because I think it is too risky for non-devs to try to use it).
This should never be the way Webmin is installed on a production server.