#4388 Minecraft module cannot download latest server jar

1.670
open
nobody
5
2016-06-18
2014-03-11
thedave
No

Clicking on the download server button in the module, yields an error "Failed to get server download URL"

Related

Bugs: #4388

Discussion

  • Jamie Cameron

    Jamie Cameron - 2014-03-11

    Odd, this works OK for me. Does it happen if you re-try the download?

     
  • thedave

    thedave - 2014-03-11
    Post awaiting moderation.
  • Jamie Cameron

    Jamie Cameron - 2014-03-12

    Is this when you are doing a new install of Minecraft (as prompted by Webmin), or an upgrade?

     
    • thedave

      thedave - 2014-03-12

      New install

      On Tue, Mar 11, 2014 at 8:07 PM, Jamie Cameron jcameron@users.sf.netwrote:

      Is this when you are doing a new install of Minecraft (as prompted by
      Webmin), or an upgrade?


      • [bugs:#4388] Minecraft module cannot download latest server jar*

      Status: open
      Group: 1.670
      Labels: minecraft server 1.5 minecraft
      Created: Tue Mar 11, 2014 01:20 AM UTC by thedave
      Last Updated: Tue Mar 11, 2014 02:34 AM UTC
      Owner: nobody

      Clicking on the download server button in the module, yields an error
      "Failed to get server download URL"


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

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

       

      Related

      Bugs: #4388

      Attachments
  • Jamie Cameron

    Jamie Cameron - 2014-03-13

    I just did a fresh install of Webmin and the minecraft module, performed the initial download of the .jar from within Webmin, and it worked fine.

     
    • thedave

      thedave - 2014-03-13

      Maybe it's something in my distribution. What did you use?
      On Mar 13, 2014 12:05 PM, "Jamie Cameron" jcameron@users.sf.net wrote:

      I just did a fresh install of Webmin and the minecraft module, performed
      the initial download of the .jar from within Webmin, and it worked fine.


      Status: open
      Group: 1.670
      Labels: minecraft server 1.5 minecraft
      Created: Tue Mar 11, 2014 01:20 AM UTC by thedave
      Last Updated: Wed Mar 12, 2014 11:50 PM UTC
      Owner: nobody

      Clicking on the download server button in the module, yields an error
      "Failed to get server download URL"


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

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

       

      Related

      Bugs: #4388

  • Jamie Cameron

    Jamie Cameron - 2014-03-14

    Ubuntu, but that shouldn't matter.

    Try clearing Webmin's download cache at Webmin -> Webmin Configuration -> Proxy Servers and Downloads.

     
    • thedave

      thedave - 2014-03-14

      It reported no urls in the download cache. I rebooted both servers and
      tried it it again. Both failed. I upgraded one to Webmin 1.68 and it tried
      it with no luck. If I look in the webmin log file, I see this: Error:
      Failed to get server download URL

      On Thu, Mar 13, 2014 at 7:22 PM, Jamie Cameron jcameron@users.sf.netwrote:

      Ubuntu, but that shouldn't matter.

      Try clearing Webmin's download cache at Webmin -> Webmin Configuration ->
      Proxy Servers and Downloads.


      Status: open
      Group: 1.670
      Labels: minecraft server 1.5 minecraft
      Created: Tue Mar 11, 2014 01:20 AM UTC by thedave
      Last Updated: Thu Mar 13, 2014 07:05 PM UTC
      Owner: nobody

      Clicking on the download server button in the module, yields an error
      "Failed to get server download URL"


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

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

       

      Related

      Bugs: #4388

  • thedave

    thedave - 2014-03-17

    I just noticed this when ran this under the root user.

    wget -O - -q https://minecraft.net/download/ | grep 'minecraft_server'

    It makes this file name '-' in the directory and no I don't know how to
    delete it.

     
    Attachments
  • Jamie Cameron

    Jamie Cameron - 2014-03-17

    You can delete it with :

    rm ./-

     
  • ryates

    ryates - 2016-03-18

    This error has appeared on both an Ubuntu (16.04beta) and a Debian 9.0 server, with Webmin 1.791 and the released Minecraft module as well as latest Git.

    Clearing cache makes no difference.

    Miniserv log shows (this is with latest Git minecraft module):

    Use of uninitialized value $out in pattern match (m//) at ./minecraft-lib.pl line 757.
    Error: Failed to get server download URL

    wget -O - -q http://minecraft.net/download | grep minecraft_server
    If you're running on Windows and just want to set up a server easily, download minecraft_server.1.9.exe and run it.
    If you want to run the server it's a bit more involved (see this wiki article for a tutorial). First make sure you can use java from the command line. On Linux and Mac OS X this should already be set up but on Windows you might have to tinker with the PATH environment variable. Download and run minecraft_server.1.9.jar with java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui.

     
  • Jamie Cameron

    Jamie Cameron - 2016-03-20

    Are you running that wget command on the same host as Webmin and your Minecraft server? Because I've seen cases in which the CDN (cloudflare) in front of minecraft.net can block access to the website from some IPs.

    ALso, the latest release of the module in github allows you to specify a version to download on the Module Config page.

     
  • ryates

    ryates - 2016-03-21

    Yes, it is one and the same host and wget downloaded the desired minecraft.jar.

    ALso, the latest release of the module in github allows you to specify a version to download on the Module Config page.

    Aha, that helped. Entering 1.9 it downloads it fine. Using "latest" fails as described above so I guess a regex issue.

     
    Last edit: ryates 2016-03-21
  • ryates

    ryates - 2016-06-18

    seems that the URL that gives the latest version now is:

    https://minecraft.net/en/download/server

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks