Giter VIP home page Giter VIP logo

Comments (14)

Area45 avatar Area45 commented on September 17, 2024 1

I found this helpful, thanks so much!

Not sure if this'll help anyone but I made a quick copy of @hchasens build but I built it for arm64 and confirmed it working on an arm based Mac available here. I agree to switch back as soon as the pull request is merged.

from papermc-docker.

captain-reginald avatar captain-reginald commented on September 17, 2024

I get the error Error response from daemon: manifest for hchasens/papermc:latest not found: manifest unknown: manifest unknown when trying to pull your version. I can pull phyremaster/papermc just fine though... any idea what the problem might be? I'm still pretty new to docker.

from papermc-docker.

hchasens avatar hchasens commented on September 17, 2024

@captain-reginald Try pulling 'hchasens/papermc:1.18.1' exactly. I've not tagged any 'latest' so you're getting the docker equivalent of a 404. (This was to communicate that the repo would not be maintained) If you'd like an example there's a 'docker-compose.yml' in the description of the docker repo.

from papermc-docker.

captain-reginald avatar captain-reginald commented on September 17, 2024

@captain-reginald Try pulling 'hchasens/papermc:1.18.1' exactly. I've not tagged any 'latest' so you're getting the docker equivalent of a 404. (This was to communicate that the repo would not be maintained) If you'd like an example there's a 'docker-compose.yml' in the description of the docker repo.

Hmm, I just did that and now I'm getting repository does not exist or may require docker login: denied: requested access to the resource is denied.

Edit: That's the same response I get when pulling Myriadical's fork as well.

from papermc-docker.

hchasens avatar hchasens commented on September 17, 2024

I'll be able to talk in 30 minutes. My email is on my profile. If you email me your discord or phone number I'll be happy to provide some tech support 😁. I'll then post the solution here or, if needed, open a new issue. Does this work for you?

from papermc-docker.

captain-reginald avatar captain-reginald commented on September 17, 2024

I'll be able to talk in 30 minutes. My email is on my profile. If you email me your discord or phone number I'll be happy to provide some tech support 😁. I'll then post the solution here or, if needed, open a new issue. Does this work for you?

Unfortunately I'll be busy this evening starting right around then, haha. Would you be at all available any time on Sunday?

from papermc-docker.

hchasens avatar hchasens commented on September 17, 2024

I should be. Email me and we'll workout scheduling. In the meantime can you post your:

Computer Type/Specs
OS Type and Version
Docker Version

And your start script/command along with the output

from papermc-docker.

captain-reginald avatar captain-reginald commented on September 17, 2024

Emailed you a bit ago. :)

My computer is a repurposed desktop that I've turned into a server.

Specs are:
AMD Phenom II x6 1055T processor
28 GB of RAM
GTX 560 GPU (just for graphics output when I'm not logging in via ssh)
256 GB SSD boot drive with three 500 GB HDDs in RAID-z as a ZFS pool
Host OS is TrueNAS SCALE (brand new to that)

I tried running docker natively, but I get an error saying my jar file is corrupt - no idea why. The same containers work fine outside of TrueNAS. As such I'm currently working with a virtualized version of Ubuntu Server 20.04.3 LTS.

Docker version is 20.10.7.

Edit:

Start script inside of TrueNAS is sudo docker run -p 25565:25565 -v /mnt/zpool1/minecraft/papermc/test:/papermc -d -it --restart on-failure --name "papermc-1.18.1" -e MC_VERSION="1.18.1" -e MC_RAM="4G" phyremaster/papermc

Output is Error: Invalid or corrupt jarfile paper--.jar

I haven't run a start script for any of the other forks yet since I haven't been able to pull them. Also, in my ubuntu server vm, the start script is the same except the path is ~/minecraft/papermc/test:/papermc instead. That boots fine in 1.17.1 but not 1.18 since the official image doesn't support the correct version of Java yet.

from papermc-docker.

hchasens avatar hchasens commented on September 17, 2024

Thank you. I just successfully pulled the repo from another system. It sounds like a config issue more than anything. I'll be happy to help. What's your start command/script?

from papermc-docker.

captain-reginald avatar captain-reginald commented on September 17, 2024

Sorry about leaving off the script, I just edited the comment to include it.

from papermc-docker.

hchasens avatar hchasens commented on September 17, 2024

I think the issue is with your start script. I think I confused you with a pervious comment about versions. Try using this command.

sudo docker run -p 25565:25565 -v /mnt/zpool1/minecraft/papermc/test:/papermc -d -it --restart on-failure --name "papermc-1.18.1" -e MC_RAM="4G" hchasens/papermc:1.18.1

For debugging it also helps to avoid detaching the container, this way you can see it's output. A detached version would be.

sudo docker run -p 25565:25565 -v /mnt/zpool1/minecraft/papermc/test:/papermc -it --restart on-failure --name "papermc-1.18.1" -e MC_RAM="4G" hchasens/papermc:1.18.1

I tested this on my Mac (with a modified volume argument) and it worked fine.

If you're still having issues we'll meet on Sunday.

from papermc-docker.

captain-reginald avatar captain-reginald commented on September 17, 2024

Just for public record, the problem is solved. I couldn't pull the image because it was pulling the tag latest when that wasn't specified. Fixed with docker pull hchasens/papermc:1.18.1

Thanks again for your help!

from papermc-docker.

lonyelon avatar lonyelon commented on September 17, 2024

Pull request #64 solves this. I compiled and image and it's available here. I'm not maintaining this and you should switch back as soon as @Phyremaster merges the pull request!

I know this isn't a 'Issue' but anyone having this issue might look here. Please close upon merge. Thank you and sorry for the misuse of this the Issues tab.

Very useful, thanks a lot!

from papermc-docker.

Phyremaster avatar Phyremaster commented on September 17, 2024

Holy shit. I can't believe I let this slide for so long. My apologies to everyone who's been inconvenienced by this over the past few years, and my thanks to everyone who has provided workarounds and alternatives during this time.

I just merged #72 which has the side effect of fixing this. Please let me know if anything breaks, because clearly telling myself that I have to test every PR personally was a terrible idea; I haven't used Docker directly for game servers for years and never set up a testing environment. I will create a discussion with further information.

from papermc-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.