Menu

#5575 Failed to upgrade from www.webmin.com : You are already running the latest version of Webmin

1.999
open
nobody
None
5
2022-08-16
2022-08-09
user1000
No

Running Webmin 19.99 on Ubuntu Linux 20.04.4
I am getting this upgrade notification on multiple servers:

Warning!
Webmin version 1.999-2 is now available, but you are running version 1.999. Release notes.
Upgrade Now.

The upgrade fails with the following message:
Failed to upgrade from www.webmin.com : You are already running the latest version of Webmin

Related

Bugs: #5575

Discussion

  • user1000

    user1000 - 2022-08-09

    Additionally:
    Upgrading via package updates appears to work, but the upgrade notice still appears on the Dashboard, and the running version still shows 19.99.

     
  • M.T.R

    M.T.R - 2022-08-10

    this is already reported:
    https://sourceforge.net/p/webadmin/bugs/5574/

    cheers mike

     
  • user1000

    user1000 - 2022-08-10

    Thanks Mike.

    • Gene
     
  • Jamie Cameron

    Jamie Cameron - 2022-08-10

    The work-around is to go to Webmin -> Webmin Configuration -> Upgrade Webmin, and check the box to force an upgrade.

     
  • user1000

    user1000 - 2022-08-10

    Thank you Jamie. I did that.
    Under Webmin->Upgrade Webmin,
    I checked "Upgrade even if new version is the same or older?". I also restarted Webmin.

    However, there's still a warning on the dashboard to upgrade, and the Webmin version still says 1.999.

    Gene

     

    Last edit: user1000 2022-08-10
  • Ilia

    Ilia - 2022-08-10

    Hello, Gene.

    We forgot to add a release file to the package. The solution would be is to add a release file manually to your webmin installation dir, like this:

    miniservconffile=$(find / -wholename "*web*\/miniserv.conf") ; rootdir=$(grep "^root=" "$miniservconffile" | sed -e 's/root=//g') ; echo "2" > "$rootdir/release"
    
     
    • Don McClintock

      Don McClintock - 2022-08-10

      Thanks Ilia,
      This command worked perfectly to stop the update nag
      (after I had forced the update to 19.99-2)
      (Must be root to do this...)

       
    • Eduardo Reyes

      Eduardo Reyes - 2022-08-15

      Hi Ilia,
      Are you implying that producing the Webmin release is not fully automated?

       

      Last edit: Eduardo Reyes 2022-08-15
    • Will Mayall

      Will Mayall - 2022-08-16

      Ilia, worked perfectly. Thanks!

       
      • Ilia

        Ilia - 2022-08-16

        Good to know.

        Sorry about that. We will fix that on the next Webmin release.

         
  • M.T.R

    M.T.R - 2022-08-10

    Hi Ilia,

    works here, too.

     

    Last edit: M.T.R 2022-08-10
  • Ilia

    Ilia - 2022-08-10

    Thanks, good to know! We will fix it in next Webmin release.

     
  • Rich Painter

    Rich Painter - 2022-08-14

    I have the same problem with the 1.999 updated to 1.999-2 and it continues to report the need to update but when invoked it says it is already updated.
    I am running Ubuntu 14.04.6 LTS, Trusty Tahr

    I ran the script
    miniservconffile=$(find / -wholename "web\/miniserv.conf") ; rootdir=$(grep "^root=" "$miniservconffile" | sed -e 's/root=//g') ; echo "2" > "$rootdir/release"
    but it just hung.

     
  • user1000

    user1000 - 2022-08-15

    Yep. That script doesn't work. It's got an error.
    What did work for me was doing a forced upgrade under Webmin Config, and then manually stopping and restarting Webmin from a shell.

    Cheers

     
    • Rich Painter

      Rich Painter - 2022-08-15

      I just tried that on my raspbian GNU/Linux 9 (stretch) and it didnt change
      a thing. Still saying I'm at 1.999 and Upgrade webmin to 1.99902
      rich

      On Sun, Aug 14, 2022 at 7:17 PM user1000 user1000@users.sourceforge.net
      wrote:

      Yep. That script doesn't work. It's got an error.
      What did work for me was doing a forced upgrade under Webmin Config, and
      then manually stopping and restarting Webmin from a shell.

      Cheers

      Status: open
      Group: 1.999
      Created: Tue Aug 09, 2022 11:14 PM UTC by user1000
      Last Updated: Mon Aug 15, 2022 12:26 AM UTC
      Owner: nobody

      Running Webmin 19.99 on Ubuntu Linux 20.04.4
      I am getting this upgrade notification on multiple servers:

      Warning!
      Webmin version 1.999-2 is now available, but you are running version
      1.999. Release notes.
      Upgrade Now.

      The upgrade fails with the following message:
      Failed to upgrade from www.webmin.com : You are already running the
      latest version of Webmin


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/5575/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Richard A. Painter, P.E. Retired

       

      Related

      Bugs: #5575

    • Rich Painter

      Rich Painter - 2022-08-15

      And on my Ubuntu 14.04.6 LTS, Trusty Tahr it is almost the same.... after
      the upgrade I cannot start web min
      service webmin restart
      stop: Unknown instance:
      start: Job failed to start

      I manually kill the miniserv and then
      service webmin start
      does start.

      But webmin still reports the 1.999 vs 1.999-2 issue.
      rich

      rich

      On Sun, Aug 14, 2022 at 7:17 PM user1000 user1000@users.sourceforge.net
      wrote:

      Yep. That script doesn't work. It's got an error.
      What did work for me was doing a forced upgrade under Webmin Config, and
      then manually stopping and restarting Webmin from a shell.

      Cheers

      Status: open
      Group: 1.999
      Created: Tue Aug 09, 2022 11:14 PM UTC by user1000
      Last Updated: Mon Aug 15, 2022 12:26 AM UTC
      Owner: nobody

      Running Webmin 19.99 on Ubuntu Linux 20.04.4
      I am getting this upgrade notification on multiple servers:

      Warning!
      Webmin version 1.999-2 is now available, but you are running version
      1.999. Release notes.
      Upgrade Now.

      The upgrade fails with the following message:
      Failed to upgrade from www.webmin.com : You are already running the
      latest version of Webmin


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/5575/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Richard A. Painter, P.E. Retired

       

      Related

      Bugs: #5575

  • Ilia

    Ilia - 2022-08-15

    Anyone seeing a harmless nagging alert message prompting to upgrade to Webmin 1.999-2 either:

    1. Ignore it until next major release happens
    2. Find Webmin directory and add a file called release with content 2 in it. Webmin directory can be technically anywhere if installed manually but standard location for DEB package is /usr/share/webmin and for RPM /usr/libexec/webmin)
    3. Use the following command with bash shell:
    miniservconffile=$(find / -wholename "*web*\/miniserv.conf") ; rootdir=$(grep "^root=" "$miniservconffile" | sed -e 's/root=//g') ; echo "2" > "$rootdir/release"
    

    or this for csh:

    set miniservconffile=`find / -wholename "*web*\/miniserv.conf"` ; set rootdir=`grep "^root=" "$miniservconffile" | sed -e 's/root=//g'` ; echo "2" > "$rootdir/release"
    
     
  • Eduardo Reyes

    Eduardo Reyes - 2022-08-15

    The script is trying to figure out the Webmin installation path and would eventually fail on any filesystem on which find / -wholename "*web*\/miniserv.conf" returns multiple lines (e.g. on btrfs with snapshots).

    For future releases, perhaps Webmin could use a common practice of exporting a global environment variable (e.g. WEBMIN_HOME) to point to the installation directory.

     

Log in to post a comment.