Comments (12)
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.
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.
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.
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.
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.
Don't share the license key itself, of course!
from amp-dockerized.
# 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.
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.
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.
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.
Unfortunately it still doesn't work
from amp-dockerized.
Is that volume1 over a network share or similar location?
from amp-dockerized.
Related Issues (20)
- I am swamped HOT 49
- AMP 2.4.5.x HOT 5
- Succes: Terraria Server HOT 2
- ArmA 3 Server fails to start, Exit Code 139
- armv7 / arm64 support pls HOT 3
- Authentication token for admin requested by ManageInstance on behalf of 'admin' (user) - Project Zomboid HOT 1
- xvbf-run missing HOT 2
- Truenas scale
- AMP Couldn't Find Java
- GitHub Container Registry Support HOT 1
- Add --stop-timeout to the run command
- Minecraft Bedorck 1.20.5 does not start anymore HOT 9
- nginx-proxy-manager loop when logging in (AMPConfig.conf) HOT 1
- Caused by: java.io.IOException: User limit of inotify watches reached
- Minecraft Ports HOT 1
- No login access HOT 1
- LAN Broadcast HOT 3
- AMP container won't start anymore... Main instance error HOT 11
- Can't login to the user interface HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amp-dockerized.