Yes, I just tried it on a host that didn't have it. Centos 6.5 64bit After installing the minecraft module & java I pressed the download and install button which gave me this:
Creating base directory /usr/local/minecraft ..
Failed to get server download URL
If I try it again it just tells me:
Failed to get server download URL
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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"
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 03:07 AM UTC Owner: nobody
Clicking on the download server button in the module, yields an 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 https://s3.amazonaws.com/Minecraft.Download/versions/1.7.5/minecraft_server.1.7.5.exe"
class="download-link" data-dist="server" data-platform="windows"
onclick="recordOutboundLink(this, 'Downloads', 'Download-link',
'Windows-Server');return false;">minecraft_server.1.7.5.exe and run it.
If you want to run the server on any other OS or without GUI it's a
bit more involved (see http://www.minecraftwiki.net/wiki/Setting_up_a_server">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 https://s3.amazonaws.com/Minecraft.Download/versions/1.7.5/minecraft_server.1.7.5.jar"
class="download-link" data-dist="server" data-platform="linux"
onclick="recordOutboundLink(this, 'Downloads', 'Download-link',
'Linux-Server');return false;">minecraft_server.1.7.5.jar with java -Xmx1024M -Xms1024M -jar minecraft_server.jar
nogui.
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 03:07 AM UTC Owner: nobody
Clicking on the download server button in the module, yields an error
"Failed to get server download URL"
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"
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
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"
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Odd, this works OK for me. Does it happen if you re-try the download?
This is in the webmin error log
Error: Failed to get server download URL
Yes, I just tried it on a host that didn't have it. Centos 6.5 64bit After installing the minecraft module & java I pressed the download and install button which gave me this:
Creating base directory /usr/local/minecraft ..
Failed to get server download URL
If I try it again it just tells me:
Failed to get server download URL
Is this when you are doing a new install of Minecraft (as prompted by Webmin), or an upgrade?
New install. But it still does it even if there is a server jar in the directory.
New install
On Tue, Mar 11, 2014 at 8:07 PM, Jamie Cameron jcameron@users.sf.netwrote:
Related
Bugs: #4388
What output do you get if you run the following command on your Webmin system :
wget -O - -q http://minecraft.net/download | grep minecraft_server
wget -O -q http://minecraft.net/download | grep minecraft_server
--2014-03-13 06:13:14-- http://minecraft.net/download
Resolving minecraft.net... 54.225.184.71
Connecting to minecraft.net|54.225.184.71|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://minecraft.net/download [following]
--2014-03-13 06:13:14-- https://minecraft.net/download
Connecting to minecraft.net|54.225.184.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11547 (11K) [text/html]
Saving to: â-qâ
100%[======================================>] 11,547 --.-K/s in 0.05s
2014-03-13 06:13:14 (222 KB/s) - â-qâ
On Wed, Mar 12, 2014 at 4:50 PM, Jamie Cameron jcameron@users.sf.netwrote:
Related
Bugs: #4388
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 https://s3.amazonaws.com/Minecraft.Download/versions/1.7.5/minecraft_server.1.7.5.exe" class="download-link" data-dist="server" data-platform="windows" onclick="recordOutboundLink(this, 'Downloads', 'Download-link', 'Windows-Server');return false;">minecraft_server.1.7.5.exe and run it.
If you want to run the server on any other OS or without GUI it's a
bit more involved (see http://www.minecraftwiki.net/wiki/Setting_up_a_server">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 https://s3.amazonaws.com/Minecraft.Download/versions/1.7.5/minecraft_server.1.7.5.jar" class="download-link" data-dist="server" data-platform="linux" onclick="recordOutboundLink(this, 'Downloads', 'Download-link', 'Linux-Server');return false;">minecraft_server.1.7.5.jar with java -Xmx1024M -Xms1024M -jar minecraft_server.jar
nogui.
On Wed, Mar 12, 2014 at 4:50 PM, Jamie Cameron jcameron@users.sf.netwrote:
Related
Bugs: #4388
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.
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:
Related
Bugs: #4388
Ubuntu, but that shouldn't matter.
Try clearing Webmin's download cache at Webmin -> Webmin Configuration -> Proxy Servers and Downloads.
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:
Related
Bugs: #4388
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.
You can delete it with :
rm ./-
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):
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.
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.
Yes, it is one and the same host and wget downloaded the desired minecraft.jar.
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
seems that the URL that gives the latest version now is:
https://minecraft.net/en/download/server