Copying/generating missing files (perl-path, var-path, miniserv.pem) from another system allows an upgrade to work. The setup script should probably generate appropriate content if these files are missing instead of blindly proceeding.
1.820 may have been installed from a package, or may have been an upgrade; I don't remember.
Well, that sort of worked; setup runs but the server fails because the perl scripts puke if there's not a full path. So perl=type -p perl | awk '{print $NF}' That installs and runs, but the server just spits out a message about a missing Content-Type field. I'm back to 1.820 here.
The bug is actually in setup.sh, which uses an unset variable; the fix is a one-liner: /usr/pkg/share/webmin-1.890/setup.sh.orig Sat Aug 25 15:33:24 2018 --- /usr/pkg/share/webmin-1.890/setup.sh Sat Aug 25 15:34:47 2018*** 137,142 **** --- 137,143 ---- # Get current perl path perl=`cat $config_dir/perl-path` if [ -z "$perl" ]; then perl=perl ; fi # Create temp files directory $perl "$srcdir/maketemp.pl"
Webmin 1-890 installation fails on NetBSD 7.1.2
Webmin 1.690 System Information Local disk space appears to ignore btrfs filesystems