Giter Club home page Giter Club logo

Comments (12)

MitchTalmadge avatar MitchTalmadge commented on May 25, 2024

This usually happens because of the MAC Address, can you share your configuration for the container? Either the docker compose file or the command you use to run it or the config page if on Unraid (and block out any passwords or such)

Thankz!

from amp-dockerized.

csreaper avatar csreaper commented on May 25, 2024

it's the bridge mode a problem?

  version: "3"
  services:
    amp:
      container_name: 12_AMP-GameServer
      image: mitchtalmadge/amp-dockerized:latest
      network_mode: bridge
      mac_address: 02:42:AC:XX:XX:XX # Please see the README about this field.
    
      ports:
        - 8080:8080
        - 25565:25565 # Example port for Minecraft Java server.
        - 19132:19132/udp #Minecraft Bedrock (Crossplay)
        - 34197:34197/udp #StarBound
      volumes:
        - xxxxxx:/home/amp/.ampdata
      environment:
        - "UID=xxxx" # Change according to which user on the host will own the ampdata volume.
        - "GID=xxx"
        - "TZ=Europe/Berlin" # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
        - "LICENCE=eef67xxx-xxxx-xxxx-xxx-xxxx"
        - "MODULE=ADS"
      restart: unless-stopped

from amp-dockerized.

IceOfWraith avatar IceOfWraith commented on May 25, 2024

You left the defaults for the config. You need to put actual values for the xx:xx:xx parts of the MAC Also the UID and GID along with the LICENSE need to be filled in. The UID and GID can be obtained for the user you want to run it as by doing id youruser on the host.

from amp-dockerized.

csreaper avatar csreaper commented on May 25, 2024

First of all, thank you, I would like to clarify again. I have made the MAC, license and UID unrecognizable and of course they are filled out in the correct config. I would like to say that it works at the beginning, but the key is lost after logging in again via the web GUI.

from amp-dockerized.

IceOfWraith avatar IceOfWraith commented on May 25, 2024

Can you share the file with those values left in? It's not a security issue to share them. Also, run id yourusername and share the numbers it outputs.

from amp-dockerized.

IceOfWraith avatar IceOfWraith commented on May 25, 2024

Don't share the license key itself, of course!

from amp-dockerized.

csreaper avatar csreaper commented on May 25, 2024
# This configuration creates one ADS instance, which can be used to create multiple "child" instances.
# This is a good choice if you want to run multiple game servers, even of different types.
version: "3"
services:
  amp:
    container_name: 12_AMP-GameServer
    image: mitchtalmadge/amp-dockerized:latest
    network_mode: bridge
    mac_address: 02:42:AC:32:F5:02 # Please see the README about this field.
    
    ports:
      - 8080:8080
      - 25565:25565 # Example port for Minecraft Java server.
      - 19132:19132/udp #Minecraft Bedrock (Crossplay)
      - 34197:34197/udp #StarBound
    volumes:
      - /volume1/docker/12_AMP-GameServer:/home/amp/.ampdata
    environment:
      - "UID=1026" # Change according to which user on the host will own the ampdata volume.
      - "GID=100"
      - "TZ=Europe/Berlin" # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
      - "LICENCE=eef67d11-ff80-424d-9fbc-xxxxxxxx"
      - "MODULE=ADS"
    restart: unless-stopped

uid=1026(amp) gid=100(users) groups=100(users)

from amp-dockerized.

IceOfWraith avatar IceOfWraith commented on May 25, 2024

That all looks great.

Two last obvious things to try.

Is this folder and all subdirectories owned by the amp user?
/volume1/docker/12_AMP-GameServer

Have you tried deploying with the new debian-12 image?

from amp-dockerized.

csreaper avatar csreaper commented on May 25, 2024

The rights are correct, everything works, I can also create and play game servers, but when I log out and log in again the key still disappears.

from amp-dockerized.

IceOfWraith avatar IceOfWraith commented on May 25, 2024

I'd try with this image and see if you have more luck. It has many major changes to improve the experience all around:

mitchtalmadge/amp-dockerized:staging-debian-12

from amp-dockerized.

csreaper avatar csreaper commented on May 25, 2024

Unfortunately it still doesn't work

from amp-dockerized.

3d6564 avatar 3d6564 commented on May 25, 2024

Is that volume1 over a network share or similar location?

from amp-dockerized.

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.