How to Install a Minecraft Server on OpenMediaVault 5

Поделиться
HTML-код
  • Опубликовано: 7 окт 2024
  • In this video we'll look at how to install a Minecraft Server on OpenMediaVault 5.
    The process is pretty straightforward and only take a couple of minutes since we're going to install a Minecraft server using Portainer Stacks in OMV5.
    The full instructions will be on my website:
    dbte.ch/minecr...
    Here are other OpenMediaVault video tutorials:
    • Docker/Portainer Tutor...
    /=========================================/
    Here's my Amazon Influencer Shop Link:
    Amazon: dbte.ch/amazon...
    /=========================================/
    Like what I do? Want to be generous and help support my channel? Here are some ways to support:
    Patreon: dbte.ch/patreon
    Ko-fi: dbte.ch/kofi
    /=========================================/
    Remember to leave a like on this video and subscribe if you want to see more!
    /=========================================/
    Follow Me:
    Twitter: dbte.ch/tw
    Facebook: dbte.ch/fb
    Subscribe: dbte.ch/ytsub

Комментарии • 81

  • @marty5300
    @marty5300 4 года назад +2

    Just wanted to give a big thumbs up, don't ever stop doing what you do man. You are one of the few on youtube who break stuff down and make it easier for us idiots who don't have a complete understanding of docker and portainer natively.. many of us haven't "grown up" running linux and it's offshoots, and it's like another language to us. Thanks for your vids :)

  • @HaloViolator
    @HaloViolator 2 года назад

    Works great on a PC with OMV, Docker-compose and Portainer. I've put multiple servers in one stack-script...

  • @lloydkeefer8454
    @lloydkeefer8454 4 года назад +1

    Great job on video. I prefer using the method you had used by building the stack. Much simpler than manually setting it up

  • @prowler1992
    @prowler1992 4 года назад +3

    If you are like me, and you want to be able to issue minecraft-server commands from portainer, you have to add these lines to the stack in the minecraft-server block "stdin_open: true" and "tty: true". Then you can click on the running container and click attach to run commands in the server.

  • @Bartek2OO219
    @Bartek2OO219 2 года назад +1

    2GB isn't enough for newest versions since 5+ years. Recommended amount of ram is 4GB and extend when needed.

  • @TITyphoon
    @TITyphoon 4 года назад

    I came across your videos recently and they are great.
    I was wondering if you could do a video on either setting up docker to be able to host 2 minecraft servers or a how to assign the ip address to the container in portainer.

    • @DBTechYT
      @DBTechYT  4 года назад

      You can setup an additional minecraft server pretty easily, but you would have to change the port that the second (or third, or whatever) server runs on I think.

  • @aaron-vc7tp
    @aaron-vc7tp 4 года назад

    Works, great learning experience. Thank you

  • @devillerskevin7684
    @devillerskevin7684 4 года назад +1

    Can you take another video for a Bedrock Server ? for playing with W10 , ps4 xbox and switch version !

  • @jde77123
    @jde77123 8 месяцев назад

    I have tried to make a bedrock version with no luck. I can make a java version without any problems. Would love another video on a bedrock version.

  • @ChillyGmBH
    @ChillyGmBH 4 года назад

    good tutorial thanks very much!
    im new to this container thing and got a question, whats de difference between a stack an just a normal container?

    • @DBTechYT
      @DBTechYT  4 года назад +1

      Basically nothing. Just different ways to deploy

  • @misiek2kk
    @misiek2kk 9 месяцев назад

    Hi, thank you for this tutorial! Working fine. I would like to ask - how to run two separate servers on the same machnie? Im using omv5. I would like to run one server for Creative mode and the 2nd on Survival mode. Pls help! :) Best Regards from Poland!🇵🇱

  • @whoislongy1849
    @whoislongy1849 4 года назад +1

    Could you please do a bedrock version I’m struggling to get mine running from docket folder it’s driving me insane I can’t be far off but it just won’t boot

  • @maximss
    @maximss 2 года назад

    thanks!! Your videos are awesome!

    • @DBTechYT
      @DBTechYT  2 года назад

      Thanks for watching!

  • @claudefountain2544
    @claudefountain2544 4 года назад

    Thanks so much for this video, I was able to get a server up and running in OMV4. I have liked & subscribed.
    I am completely new to portainer & OMV and I am trying to figure out how to use the auto pause option. When I add the option it causes the server not to start because of the watchdog. I added the option to set max tick time to -1, but that doesn't work either. I tried switching networks from host to bridged mode, but the server refuses to start in anything but host mode with the auto pause disabled. Any idea how I can get this to work? I've been googling without much success.

  • @TITyphoon
    @TITyphoon 4 года назад

    do you think it would be possible to have docker run geyserMC and pointing to the minecraft running in docker making it possible for bedrock clients to play on the same server?

  • @ВасильДжердж-з6д

    Good afternoon, I have a question. I have deployed the minecraft server, but when I try to access it, it throws an error "unable to verify the username." Can you somehow fix this error? It seems that the server complains about the pirated version of minecraft.

  • @kopparsulfat
    @kopparsulfat 4 года назад

    Hi. Works great. How do i access Minecraft from internet? My daughter wants to play with friends.

    • @whoislongy1849
      @whoislongy1849 4 года назад

      Not 100% but think you would need to give them your external ip and the port it uses only trouble is your external ip changes time to time unless you pay for a static ip with your isp

  • @whoislongy1849
    @whoislongy1849 4 года назад

    Hey tried this and it was up and running on the server but unable to connect with windows 10 edition and couldn’t connect with xbox either I even port forwarded on my router any ideas ?

  • @maxlimgj
    @maxlimgj 3 года назад

    do u know what's the speed like if I were to install it on my rasberry pi 4 4gb ram server?

  • @macdonagal
    @macdonagal 4 года назад +1

    Hello, I tried to make my minecraft server on OMV on a RPI4/4Gb but when i deploy the stack I got this error : standard_init_linux.go:211: exec user process caused "exec format error"
    What does it mean ? I'm kinda new with Rpi and OMV 5

    • @DBTechYT
      @DBTechYT  4 года назад

      It may not work on ARM Processors.

  • @marty5300
    @marty5300 4 года назад

    also wanted to add, I was having permission denied errors trying to run a bedrock server, until I added /minecraft to the end of the folder path after the word data like this:
    volumes:
    - /srv/dev-disk-by-label-Files/Minecraft:/data/minecraft
    once I did that then the server started running with no issues.
    hmm, on a second look, it's getting it's info from someplace else on the system, it loads the server, but it's all default info not what I changed in the server.properties.. I gotta find where that hidden minecraft directory this thing created is.

  • @whoislongy1849
    @whoislongy1849 3 года назад

    Would it be possible to do a bedrock edition to this ? I’ve ended up using Ubuntu but would love this in a Docker also could you go through some commands eg editing the minecraft server after deployment

    • @DBTechYT
      @DBTechYT  3 года назад

      hub.docker.com/r/itzg/minecraft-bedrock-server

  • @prowler1992
    @prowler1992 4 года назад

    Using this method everything basic works. I can see the output from the server in the logs, but I'd like to be able to run server commands while it is live, from portainer. Is this possible?

    • @prowler1992
      @prowler1992 4 года назад

      If you are like me, and you want to be able to issue minecraft-server commands from portainer, you have to add these lines to the stack in the minecraft-server block "stdin_open: true" and "tty: true". Then you can click on the running container and click attach to run commands in the server.

  • @levium
    @levium 2 года назад

    Great video again.
    I have installed over a rasp4 and everything ok, but something is wrong and I get the message "Failed to verify username". I've changed ONLINE_MODE to FALSE, but doesn't work.
    Any clues please?

    • @DBTechYT
      @DBTechYT  2 года назад +1

      It still has to validate your account, so you'll need one of those.

    • @levium
      @levium 2 года назад

      @@DBTechYT Thanx a lot. Worked perfect.

  • @anzyceo
    @anzyceo 2 года назад

    How would I add custom worlds?

  • @brandongunn7992
    @brandongunn7992 2 года назад

    Great tutorial but now how do my friends connect to it from outside my network?

    • @DBTechYT
      @DBTechYT  2 года назад +1

      You'd have to forward port 25565 from your modem/router to your docker server's IP address

    • @brandongunn7992
      @brandongunn7992 2 года назад +1

      @@DBTechYT thank you!!

  • @rebell6488
    @rebell6488 3 года назад

    Everything worked perfect, but i don't know how to acces the Server console
    Pls Help

    • @DBTechYT
      @DBTechYT  3 года назад +1

      There's a link in the description that takes you to the instructions on my website. There's a link to the original source compose information in that blog post. From there, you can find the full documentation available on the container. In that documentation there's a whole section called "Interacting with the server"

  • @bmacy1028
    @bmacy1028 4 года назад

    "full instructions" are missing, is that link correct?

    • @DBTechYT
      @DBTechYT  4 года назад

      The link is correct. I had to fix something

  • @TwinTailTerror
    @TwinTailTerror 4 года назад

    I have minecraft factorio and dst can u suggest a few others so i can host for friends or lan partys

  • @Dmp3kL
    @Dmp3kL 4 года назад

    i'm trying to install but i get the error "standard_init_linux.go:211: exec user process caused "exec format error" can you help me?

    • @DBTechYT
      @DBTechYT  4 года назад

      It means it isn't compatible with your processor. I'm guessing you have an Arm processor?

  • @bkoskamp
    @bkoskamp 3 года назад

    I set the memory to 4 gb with the installation, it is possible to set is to 8 without installing the server again?

    • @DBTechYT
      @DBTechYT  3 года назад

      You'll have to redeploy the container if you want to change the settings. It SHOULD keep your current world as long as you don't change the mount volume/path

    • @bkoskamp
      @bkoskamp 3 года назад

      @@DBTechYT thx, I will try.
      Great videos. Keep doing that.

  • @simon_roy
    @simon_roy 3 года назад

    Maybe put version at latest instead of snapshot

  • @L0op
    @L0op 3 года назад

    just some editing feedback: in the zoomed in scenes, please don't move the frame around... that made me ridiculously dizzy. (it's just one shot, but still. if that was on purpose, please don't xD )

    • @DBTechYT
      @DBTechYT  3 года назад

      Sometimes I gotta move the frame around when I'm zoomed in. And, after millions of views on my videos, you're the first person to have any complaint like this

    • @L0op
      @L0op 3 года назад

      @@DBTechYT I think this one happened accidentally, it's at 3:40, the frame zooms out slowly. It's barely noticeable, that's probably what messed with my brain

  • @chrishershey450
    @chrishershey450 4 года назад

    I tried using the stack and the command, but both give me the same error. "standard_init_linux.go:211: exec user process caused "exec format error" anyone have any ideas?

    • @DBTechYT
      @DBTechYT  4 года назад

      It isn't compatible with your processor

  • @TwinTailTerror
    @TwinTailTerror 4 года назад

    @ DB Tech i have been working on this for hours how do you turn off the mobs on the freaking server? i got it to go creative i just wanna build and stuff keeps blowing up or breaking things >.>
    i also did
    force-gamemode=false
    allow-nether=true
    enforce-whitelist=false
    gamemode=0
    broadcast-console-to-ops=true
    enable-query=false
    player-idle-timeout=0
    difficulty=peaceful
    spawn-monsters=false
    anybody help me?

    • @DBTechYT
      @DBTechYT  4 года назад

      Only thing I can think of is to go here and see what options are available, but I think you might have done that already: hub.docker.com/r/itzg/minecraft-server/

    • @claudefountain2544
      @claudefountain2544 4 года назад

      I am totally new at this, I just installed it this morning, but I think you need to add a line that says "- SPAWN_MONSTERS=false" to your stack

  • @Dark_Lobster
    @Dark_Lobster 4 года назад

    Any way to add datapacks to the install?

    • @Dark_Lobster
      @Dark_Lobster 4 года назад

      Not sure if this is the proper way, but this worked somehow;
      Downloaded datapacks from vanillatweaks.net (Xisuma of Hermitcraft)
      Mounted the Samba share: sudo mount -t cifs -o credentials=/home//.smbcredentials ///minecraft /media/
      Copied the files with the following format (insert your own file structure): scp /home//Downloads/VanillaTweaks_c511395.zip root@:/srv/dev-disk-by-label-Silo/Minecraft/world/datapacks
      Restart minecraft stack

    • @DBTechYT
      @DBTechYT  4 года назад

      The directions for that are listed in the site with all the extra options. You can find the information in the blog post linked in the description.

  • @unlock-er
    @unlock-er 4 года назад

    Thanks for this video! I have a quick question as I'm new to minecraft and my daughter has asked me to install one. So I took up the challenge! :) from the github, it says that if client is from windows or mobile to use this image --> itzg/minecraft-bedrock-server. So can I change it to that? and second question is, can you or anyone able to send me the link for the client installation file for windows? the one that is on official minecraft seems only for mojang. thanks

    • @DBTechYT
      @DBTechYT  4 года назад

      You should be able to download the Windows application directly from the Minecraft website.
      As far as installing the server, you should be able use the same Stack that is on my website, but you'll need to change a few things.
      First, you have to change the image from this: image: itzg/minecraft-server to this: image: itzg/minecraft-bedrock-server
      You'll also need to change the port from 25565 to 19132
      Outside of that you'll want to look at the environmental variable that are available to make any additional changes that you might want to make.
      I just launched a Bedrock server with this setup: imgur.com/a/MEK8UpU

  • @stulud
    @stulud 4 года назад

    Hi how do i change the game type to creative ?

    • @claudefountain2544
      @claudefountain2544 4 года назад

      I am totally new to this, but I think what you need is a line in your stack that says "- MODE=creative"

  • @97charbel
    @97charbel 4 года назад

    im tried use in bedrock and dont work :C

  • @SRCN999
    @SRCN999 3 года назад

    standard_init_linux.go:219: exec user process caused: exec format error
    i used raspberry pi 4

    • @DBTechYT
      @DBTechYT  3 года назад +1

      This is for desktop processors, not Raspberry Pi devices.

  • @jaketamer
    @jaketamer 2 месяца назад

    hehehe need tutorial for OMV7, sorry for my bad english

  • @buildfrom
    @buildfrom 4 года назад

    Hi, Excellent tutorial. Can you kindly post another video going through exactly the same installation process however for Bedrock Server edition for followers who haven't bought a Minecraft Java version license but a Minecraft Windows 10 version license please? (Understand that a further license needs to be bought should either be owned already but not both and they're considered two completely different products where licensing is concerned). Thank you.
    Tried the following without success:
    ---
    version: "2"
    services:
    minecraft-server:
    image: itzg/minecraft-bedrock-server
    container_name: minecraft
    -br
    network_mode: host
    environment:
    - PUID=998
    - PGID=100
    - EULA=TRUE
    - VERSION=SNAPSHOT
    - MEMORY=2G
    - ANNOUNCE_PLAYER_ACHIEVEMENTS=true
    ports:
    - 19132:19132
    volumes:
    - /srv/dev-disk-by-label-Files/Minecraft:/data
    restart: unless-stopped
    The stack say's running but has errors:
    Downloading Bedrock server version SNAPSHOT ...
    curl: (22) The requested URL returned error: 404
    ERROR failed to download from minecraft.azureedge.net/bin-linux/bedrock-server-SNAPSHOT.zip
    Double check that the given VERSION is valid

    • @wanuky
      @wanuky 4 года назад

      version: "2"
      services:
      minecraft-server:
      image: itzg/minecraft-bedrock-server
      container_name: minecraft
      network_mode: host
      environment:
      - ONLINE_MODE=false
      - DIFFICULTY=hard
      - PUID=997
      - PGID=100
      - EULA=TRUE
      - MEMORY=1G
      - ANNOUNCE_PLAYER_ACHIEVEMENTS=true
      ports:
      - 19132:19132/udp
      volumes:
      - /Storage/MinecraftServer/MinecraftServer
      restart: unless-stopped
      Here's what worked for me

  • @abd5139
    @abd5139 2 года назад

    Everybody would love all of variables like the server.propreties file, to change what we like and dont forget any thing

    • @DBTechYT
      @DBTechYT  2 года назад

      All of the available information should be here: github.com/itzg/docker-minecraft-server

    • @abd5139
      @abd5139 2 года назад +1

      @@DBTechYT thank you !

    • @abd5139
      @abd5139 2 года назад

      @@DBTechYT I dont know why variables doesnt work

  •  4 года назад

    I prefer deploying using Stacks