Jump to content

Sundur

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Sundur

  1. Hello

     

    I am trying to add my own GEOIP db file.

     

    I have added it to the .ini file.

    mmdbpath=/config/teamspeak/GeoLite2-City.mmdb

     

    However i get this as an error in the log:

     

    2021-09-17 15:29:45,475 DEBG 'teamspeak' stdout output:
    2021-09-17 13:29:45.474868|WARNING |GeoIP | |maxminddb library not found, disabling MMDB usage

     

    After som searching on the teamspeak community one dev pointed out that it requires libmaxminddb installed.

    Is this something that needs to be added in the docker?

     

    UPDATE:
    I installed libmaxminddb manually in the docker. using:

    ~# docker exec -it binhex-teamspeak sh
    ~# pacman -S libmaxminddb

     

    After this i restarted the docker and it started using the .mmdb database file for geoip.

    Now i have an updated GeoIP DB on my teamspeak.

    The Geoip that Teamspeak uses is very outdated.

  2. 3 minutes ago, ich777 said:

    Sorry seen now that you actually need JRE16, pushed an update of the container, do the following:

    1. Stop the container
    2. Delete the runtime folder once again
    3. Force an update from the container
    4. Go in the template and click on "Show more..."
    5. Change the Entry "Runtime Name" to: 'jre16' (without quotes)
    6. Click on Apply

    grafik.thumb.png.536910d2f57ece337c4f1568d07d19bf.png

     

    Thank you again

     

    It is working now after updating the docker and following your instructions :)

    bilde.png.5042c037254cf8b8c688727cc1f84df0.png

    • Like 1
  3. On 6/8/2021 at 7:47 PM, ich777 said:

    Try the following:

    1. Stop the container
    2. Go to your game directory and delete the Runtime folder
    3. Go in the template and click on "Show more..."
    4. Change the Entry "Runtime Name" to: 'jre16' (without quotes)
    5. Click on Apply

     

    Thanks for replying :)

     

    I tried what you suggested but i still get the error.

     

    It's a little different:

    Error: LinkageError occurred while loading main class net.minecraft.server.Main
            java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 55.0

     


    I also tried jre 15

     

    Then the error looks like this:

    Error: LinkageError occurred while loading main class net.minecraft.server.Main
            java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 59.0

     

  4. Hey

    I just tried making an 1.17 minecraft server with the minecraftbasicserver docker.
     

    I am getting the following error:
     

    Error: A JNI error has occurred, please check your installation and try again
    Exception in thread "main" java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
            at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)

     

    My older server (1.16.5) still works fine. It is using a different port aswell.

     

    It seems the error is related to the java version in the folder. It is a fresh install so nothing from my old server.

     

    Am i doing something wrong?

×
×
  • Create New...