cluster-usermin/upgrade.cgi
does not work.
Upgrade Usermin
Downloading http://www.webmin.com/download/deb/usermin_1.834.deb (261 bytes) ..
Downloading https://www.webmin.com/download/deb/usermin_1.834.deb (242 bytes) ..
: HTTP/1.1 404 Not Found
I changes this:
diff /usr/share/webmin/cluster-usermin/upgrade.cgi usr-share-webmin-cluster-usermin-upgrade.cgi-220102cp
98c98
< elsif (`dpkg --info $file 2>&1` =~ /Package:\s+usermin/) {
---
> elsif (`dpkg --info $file 2>&1` =~ /Package:\s+usermin-(\d+\.\d+)/) {
101,102c101
< `dpkg --info $file 2>&1` =~ /Version:\s+(\S+)/;
< $version = $1;
---
> $version = $2;
Than I did this:
Upgrade Usermin
(*) From ftp or http URL:
https://sourceforge.net/projects/webadmin/files/usermin/1.834/usermin_1.834_all.deb/download
now upgrade works.
Upgrade Usermin
Downloading https://sourceforge.net/projects/webadmin/files/usermin/1.834/usermin_1.834_all.deb/download (298 bytes) ..
Downloading https://downloads.sourceforge.net/project/webadmin/usermin/1.834/usermin_1.834_all.deb?ts=gAAAAABh0cfM_UvoZlqc78bRvS_7Q5H3XSGoSYMMXGR5hq-T6_9OWShA1F5UlDo8XNjG5fj6KZ-0BpwTHNiBkkRJoVHuf6JIWw%3D%3D&use_mirror=deac-riga&r= (169 bytes) ..
Downloading https://deac-riga.dl.sourceforge.net/project/webadmin/usermin/1.834/usermin_1.834_all.deb (10.53 MiB) ..
Received 15.75 KiB (0 %)
Received 1.05 MiB (10 %)
Received 2.1 MiB (20 %)
Received 3.16 MiB (30 %)
Received 4.21 MiB (40 %)
Received 5.27 MiB (50 %)
Received 6.32 MiB (60 %)
Received 7.37 MiB (70 %)
Received 8.43 MiB (80 %)
Received 9.48 MiB (90 %)
Received 10.53 MiB (100 %)
.. download complete.
Upgrading Usermin on XXXX ..
Successfully upgraded Usermin Debian package package on XXXX
.. done
But still not working:
(*) Latest version from www.webmin.com
TNX for all your great work.
Looks like the default download URL is incorrect - this will be fixed in the next Webmin release.
The specific patch can be seen here : https://github.com/webmin/webmin/commit/176d890ebca3e8820afb674a54b0d9e6ed858099
Still some error:
Upgrade Usermin
Downloading http://www.webmin.com/download/deb/usermin_1.834_all.deb (265 bytes) ..
Downloading https://www.webmin.com/download/deb/usermin_1.834_all.deb (250 bytes) ..
Downloading https://prdownloads.sourceforge.net/webadmin/usermin_1.834_all.deb (183 bytes) ..
Downloading https://downloads.sourceforge.net/project/webadmin/usermin/1.834/usermin_1.834_all.deb (170 bytes) ..
Downloading https://phoenixnap.dl.sourceforge.net/project/webadmin/usermin/1.834/usermin_1.834_all.deb (10.53 MiB) ..
Received 15.75 KiB (0 %)
Received 1.05 MiB (10 %)
Received 2.1 MiB (20 %)
Received 3.16 MiB (30 %)
Received 4.21 MiB (40 %)
Received 5.27 MiB (50 %)
Received 6.32 MiB (60 %)
Received 7.37 MiB (70 %)
Received 8.43 MiB (80 %)
Received 9.48 MiB (90 %)
Received 10.53 MiB (100 %)
.. download complete.
: Not a valid Usermin tar file
See my try at:
https://github.com/webmin/webmin/pull/1574
I checked in another fix for this second issue at https://github.com/webmin/webmin/commit/14962255a9134585df2e70b2f28a6aaa8d0f9c1a