TrueNAS / MineOS - Server Won't Start (How to Install / Update Java 8)

Поделиться
HTML-код
  • Опубликовано: 18 май 2022
  • The Java install command:
    pkg install -y npm openjdk8-jre
    From: www.truenas.com/community/thr...
    Here's the link if it resets on reboot (haven't gotten this to work for me): www.truenas.com/community/thr...
    java_binary path:
    /usr/local/openjdk8-jre/bin/java
    From: www.truenas.com/community/thr...
  • НаукаНаука

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

  • @combat.wombat
    @combat.wombat Год назад +2

    I searched forever trying to figure out why my mineos forge server wouldn't start and this was the only guide I found that actually had an answer and it worked, ty

  • @darkhavoc6814
    @darkhavoc6814 Год назад +2

    Thank you! You have solved two problems now that seem to take forever to get answers to!

  • @TobiasMaximus
    @TobiasMaximus 2 года назад +2

    Thank you so much! I was mega confused before watching this.

  • @whynowork8480
    @whynowork8480 Год назад +1

    Hell yeah, thank you. I checked and racked my head for days. I actually did 90% of this. Everything missing was the server.config modifications. Thanks again and thanks from my kids now excited to be playing Diary Of An 8 Bit Warrior.

  • @craftingcat99
    @craftingcat99 Год назад +2

    I had trouble accessing the webui after the java 8 installation, i could start servers over the shell but the webui was broken. For reference I am on truenas core 13.0 U2 using the provided mineos plugin. For me the fix was just to skip the npm package installation by just leaving the npm part out of the command. So this is the command which worked for me:
    pkg install -y openjdk8-jre
    after that I did the config of the server.config file as usual, with the same path as listed in the video and everything worked fine and I was able to access the webui again (although I had to do a clean install of the mineos plugin before)

  • @actionjgaming
    @actionjgaming Год назад +1

    you are amazing, good sir

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

    Hey man, I wanted to thank you for posting this. It really helped me find the solution. Here's what I had to do in case it helps anyone else.
    1: From TrueNas Jail Shell I ran: pkg install -y npm openjdk8-jre
    2: DO NOT DO WHAT IT SAYS AFTER INSTALL. It would not let me log into the webui if I did
    {
    If you have not done it yet, please do the following:
    mount -t fdescfs fdesc /dev/fd
    mount -t procfs proc /proc
    To make it permanent, you need the following lines in /etc/fstab:
    fdesc /dev/fd fdescfs rw 0 0
    proc /proc procfs rw 0 0
    }
    ^^^^^^^^^^^^
    DO NOT DO
    Applied the changes to the server.config with the "java_binary=/usr/local/openjdk8-jre/bin/java"
    When I started the server, it changed the "Java Version in Use:" from 17 to 8
    Hope this helps others. Thanks again.

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

      Glad you were able to figure it out!
      I also wasn’t able to login to the Web ui after some steps, but was wondering if it was because of my setup 😮

    • @surfy4464
      @surfy4464 Год назад

      Hi, how do you change the version of java? Because since the update I no longer have access to my mine os page. Thanks in advance!

    • @josh2723
      @josh2723 Год назад

      @@surfy4464 If you did the section about writing limes to fstab, it will prevent you from accessing the webui.
      I found this out the hard. I cannot remember how exactly I fixed it. However, you may be able to remove those lines. Or, you may need to reinstall the jail...
      Basically, we change the version of java the jail uses, preventing the java-based webui from working properly.
      So, gotta change it back or reinstall...
      If you did not do the section of fstab, then I'm really not sure...

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

    I love you. World Saver

  • @Charlsbery
    @Charlsbery Год назад

    I don’t have the pkg command apparently???😢

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

    This video was such a life saver up until I needed to edit the server.config file. It keeps saying permission denied and to ask the server owner to do it even though I am the server owner. Do you know how I can fix this?

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

      It might be a file permission thing? So you have to add write permissions to the server.config file

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

      @@SomethingAzn I got it, thanks again this video was a life saver, same with your other one about reinstalling this bloody plugin to fix the refreshing page. Ngl this has really been nothing but problems. Thanks again man!