Jump to content

Recommended Posts

Posted (edited)

Hello, first time trying out Forge on Ubuntu 18.04 based linux distro.

I've successfully installed minecraft-launcher for java and I can launch a stock minecraft 1.16.3 game as a client no problem.

I appear to have successfully installed 1.16.3-forge-34.1.0 in that I can see everything I'd expect to see under the /home/(myuseraccount)/.minecraft folder.

When I attempt to launch 1.16.3-forge-34.1.0 from minecraft-launcher, I get the following popup error:

 

Failed to start download.
Name: 1.16.3-forge-34.1.0.jar
URL: https://launcher.mojang.com/v1/objects/1321521b2caf934f7fc9665aab7e059a7b2bfcdf/client.jar
Error details: Permission denied
Couldn't open file for download
Filename on disk: 1.16.3-forge-34.1.0.jar
Path: /home/(myuseraccount)/.minecraft/versions/1.16.3-forge-34.1.0/1.16.3-forge-34.1.0.jar
Exists: Nonexistent

 

In the ./.minecraft/versions/1.16.3-forge-34.1.0 folder, I can only see a 1.16.3-forge-34.1.0.json and no other contents.

It appears that the forge installer placed the 1.16.3-forge-34.1.0.jar file in the following folder, along with the client and universal jar files:

 

./.minecraft//libraries/net/minecraftforge/forge/1.16.3-34.1.0

 

When I open the 1.16.3-forge-34.1.0.json file, it does include the following section that appears to define the correct path:

    "libraries": [
        {
            "name": "net.minecraftforge:forge:1.16.3-34.1.0",
            "downloads": {
                "artifact": {
                    "path": "net/minecraftforge/forge/1.16.3-34.1.0/forge-1.16.3-34.1.0.jar",
                    "url": "",
                    "sha1": "0a6df450ccb26ad0fd119d5c6faaa4fb0cd889cf",
                    "size": 197523
                }
            }
        },

 

EDIT: I also noticed that the Forge related directories and files were installed beneath .minecraft with the owner as root:root (as I ran the install with sudo), but I ran chown recursively on those Forge directories and change the owner:group to my user account:my group.

There appear to perhaps be two errors here, permission denied either for the launcher.mojang.com error and then the Nonexistent for the jar file.

Can you please help me resolve this issue/these issues?

 

Thank you

Edited by spaceranger
Posted

You didn't run anything as admin/sudo did you?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 9/27/2020 at 11:22 PM, DaemonUmbra said:

You didn't run anything as admin/sudo did you?

Expand  

No, I run minecraft-launcher under my user account only, and did not alter any permissions or change/add/delete any files under /opt.

I only ran the forge installer under sudo and then chowned all of the files and directories under the /home/(myuser)/.minecraft folder, recursively.

Posted

The only thing I can recommend is deleting the forge folder(s) in libraries and run the installer again under your user account

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

I'll give that a try, thank you.

Does it matter where I locate the forge installer jar file before I run it? I just have it sitting in /home/(myuser)/Downloads right now.

 

EDIT: I'm stupid. I didn't chown everything, the json in the ./versions folder was still root:root. I finished _actually_ chowning everything to my user:my group and forge client started up just fine, it's downloading now.

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.

Announcements



×
×
  • Create New...

Important Information

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