Jump to content

Server Installation Error -- Libraries Failed to Download


HeyoSpeaker

Recommended Posts

I'm trying to install Forge on a headless machine running Ubuntu 16.04.1 LTS accessed via SSH.

 

I created a new folder, placed the installer .jar in that folder, navigated into the folder, and ran:

java -jar forge-1.11-13.19.1.2189-installer.jar --installServer

 

Here is a link the full text that was output while the installer was running:

https://gist.github.com/HeyoSpeaker/33b542df1ae7ea42e8f82a571e2f9dd7

 

Here are the last few lines of text:

 

These libraries failed to download, try again.

jline:jline:2.13

com.typesafe.akka:akka-actor_2.11:2.3.3

com.typesafe:config:1.2.1

net.minecraftforge:MercuriusUpdater:1.11

There was an error during server installation

 

I'm very much a novice when it comes to text-based interaction with computers, the inner workings of computers, technical norms and terminology, Linux, etc.  I'm not sure how to proceed.  Do I need to manually download some libraries and make them accessible to the installer?  How would I go about doing that?

 

I appreciate the help!

Link to comment
Share on other sites

Is the firewall of your headless machine blocking some connections? You are getting a forbidden access error.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

That might explain it.  Is there a certain port I need to open, or some other way to allow the Forge installer through the firewall?

 

I thought that if I ran a program myself, it would automatically be allowed to make connections through the firewall.  Or do I need to invoke "sudo" to allow it to reach out through the firewall?

 

Maybe I should run

sudo java -jar forge-1.11-13.19.1.2189-installer.jar --installServer

Instead of

java -jar forge-1.11-13.19.1.2189-installer.jar --installServer

 

I'll try that and let you know what happens.

Link to comment
Share on other sites

I just tried a few different ways of installing the Forge server, but all of these attempts resulted in an error message.  ("There was an error during server installation")  Links to the logs are below.

 

 

NOTE: For each of these attempts, I started with an empty folder and ran the installer while "in" that folder.

 

 

0. Original log I posted from my first attempt (yesterday):

    https://gist.github.com/HeyoSpeaker/33b542df1ae7ea42e8f82a571e2f9dd7

That attempt resulted in some errors of the following types --

"java.net.SocketTimeoutException: connect timed out"

"java.io.IOException: Server returned HTTP response code: 403 for URL:"

"java.io.FileNotFoundException"

 

 

1. Ran the installer again today with the same command that I used yesterday:

    https://gist.github.com/HeyoSpeaker/e7d69262b28606bebc742676065feb8e

This time there weren't any "java.net.SocketTimeoutException: connect timed out" errors.  I'm not sure what was different this time to cause a different outcome.  I didn't change anything in my firewall.  Maybe some issues were resolved in the servers in the other end?

There were still some "java.io.IOException: Server returned HTTP response code: 403 for URL:" errors, and also a "java.io.FileNotFoundException" error, that did not go away.

 

 

2. Ran again with "sudo":

    https://gist.github.com/HeyoSpeaker/7fba76e2e64fd4962462f4d40614622b

The only difference in the log text is the names of .pack temp files, so using sudo had no effect.

 

 

3. Downloaded and initialized a vanilla server in the server folder, and then ran the Forge installer in the same folder:

    https://gist.github.com/HeyoSpeaker/6870e15128b759e917b396876e30db50

Again, the only difference is the names of .pack temp files, so the presence of the vanilla server in the folder had no effect.

 

 

4. Downloaded https://bitbucket.org/luacs1998/forgelibrarydownloads/downloads/fmllibs16.zip as mentioned in the EAQ.  Extracted contents to server folder before running Forge installer:

    https://gist.github.com/HeyoSpeaker/ab99da9e3a3b57b6f938a8c4f6bac04e

Again, the only difference is the names of .pack temp files, so the fmllibs16 files had no effect.

 

 

5. Copied the "libraries" folder from the ".minecraft" folder on my Windows PC to the server folder before running installer:

    https://gist.github.com/HeyoSpeaker/0733378cdbce49690b52e7f01179e951

This time, three of the previous "java.io.IOException: Server returned HTTP response code: 403 for URL" errors did NOT occur.  It appears to me that the installer did not attempt to download those three libraries, perhaps because the ones I had transferred from my Windows PC were acceptable.  However, three other such errors remained, as well as the "java.io.FileNotFoundException" error.

 

 

6. Ran once more with original command to see if anything has changed vs. my first attempt today:

    https://gist.github.com/HeyoSpeaker/2f2800ac483e5bbf4d478529c5723eed

Nothing changed other than .pack temp file names.

 

 

I don't know what I'm doing, and I'm just guessing at what to do and trying ideas that seem like they might work.  Am I on the right track but just not quite putting something in the right place?  I have a feeling this is not supposed to be this difficult!...

 

I'm wondering:

 

(A) Why won't the necessary files download?

(B) Is the problem on my end, or is something wrong with the server(s) the installer is trying to download files from?

© Where can I get all the necessary files?

(D) Where do I put them (manually) relative to the installer .jar to get it to use those files and stop trying to download them itself?

 

 

I see that MinecraftForge.net has a tutorial page, but it appears to be down at this time.

http://minecraftforge.net/wiki/Tutorials

 

 

Thanks to anyone who can point me in the right direction.  And thanks to the community.  I'm very eager to get my servers up and running!

Link to comment
Share on other sites

 

After much pondering and tinkering, I think I've solved the issues!  I was able to get the server to install on my headless Ubuntu machine without an error message.

 

 

I tried a few more things that didn't work:

 

- I put the contents of fmllibs16.zip inside a "libraries" folder within the server folder before running the installer.

 

- I merged the contents of fmllibs16.zip with the contents of the "libraries" folder from the vanilla client installation on my Windows PC, and put the combined "libraries" folder in the server folder before running the installer.

 

Both attempts resulted in an error message.

 

- I then tried running the Forge installer .jar on my Windows PC, thinking that perhaps if I could successfully install a server in a folder on my Windows PC, I could simply transfer that folder to my server machine.  However, the installer appeared to generate the same errors as on my Ubuntu machine -- so I didn't bother transferring it.

 

I was really starting to suspect that the problem is NOT with my Ubuntu machine, since it happened on both my Ubuntu machine and my Windows PC.  It must be either the installer, or the server(s) from which it is attempting to download libraries.

 

 

Feeling stuck, I then installed the Forge client software on my Windows PC using the "Installer-win" .exe.  I had never installed the Forge client on my PC previously.

Nor had I tried using the .exe installer previously -- up to this point I had only tried the .jar.

The .exe appeared to install the client without any errors, if I remember correctly.  (I wasn't sure if this was significant, because up until this point I had been trying to install servers, not client software.)

 

I then had the idea to take the new "libraries" folder from my Windows PC -- with its fresh infusion of libraries downloaded by the .exe installer during the client installation -- and put THAT on my Ubuntu machine, in the server folder, before running the installer.

 

I did that, and this time it only generated one remaining Java error.  (See below.)  Some research indicated that I needed to create an empty "mods" folder in the server folder before running the installer.  Once I did that, I FINALLY got it to install with no error message!

 

 

Is there anything wrong with the way I did this?  Can I trust my servers to run properly?

 

I am also curious why these issues occurred in the first place.  It seems as though it was not due to anything on my Ubuntu machine (such as the firewall), since running the installer .jar (server installation) on my Windows machine produced similar errors.  But somehow the installer .exe (client installation) did NOT experience those errors.

 

It looks like the "java.io.FileNotFoundException: ./mods/mod_list.json" error may have recently been addressed here:

http://www.minecraftforge.net/forum/index.php?topic=44058.0

That's how I learned that I needed to create a "mods" folder.

 

Perhaps there are some issues with the installer .jar which are not present in the installer .exe?  All I know is, the installation process is currently not very novice-friendly.  But I very much appreciate the work done on this project and am looking forward to mining and crafting!!!

 

Thank you for your time.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.