Giter VIP home page Giter VIP logo

Comments (8)

gingeuk avatar gingeuk commented on August 23, 2024 1

Had a doh moment! After further investigation, I noticed the drive that is mounted for my home directory has the "noexec" option. Removed the option and everything is working fine.

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on August 23, 2024

Judging from that particular line in the script, can you make sure you don’t have any leftover files whose name starts with “bedrock_server”? Remove any of those and try restarting the container again.

from docker-minecraft-bedrock-server.

gingeuk avatar gingeuk commented on August 23, 2024

from docker-minecraft-bedrock-server.

gingeuk avatar gingeuk commented on August 23, 2024

So tried deleting the files and restarting the container but still get the same result.

Below is a screenshot of the volume directory permissions and the data directory permissions, nothing looks odd to me apart the additional files if the volume is not used.

image

image

Could be unrelated but if I try to start the server locally on my machine, I still get the permission denied error.

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on August 23, 2024

I agree, that all seems to look fine even though it's not happy at the end. Can you redo that first view with ls -aln docker/minecraft/ so I can double check the UID on the files?

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on August 23, 2024

Aha, that totally makes sense then. I was wondering how the file could be written to the filesystem, but fail on that final execution.

from docker-minecraft-bedrock-server.

henricos avatar henricos commented on August 23, 2024

Sorry to reopen....

I've been struggling whith a similar message on my OpenMediaVault NAS (Debian)

time="2020-04-11T14:58:02-03:00" level=debug msg="Using /data to match uid and gid"
time="2020-04-11T14:58:02-03:00" level=debug msg="Resolved UID=1001 from match path"
time="2020-04-11T14:58:02-03:00" level=debug msg="Resolved GID=100 from match path"
time="2020-04-11T14:58:02-03:00" level=debug msg="stdin is detached, so forwarding is disabled"
Starting Bedrock server...
/opt/bedrock-entry.sh: line 73: /data/bedrock_server-1.14.30.2: Permission denied

Here is my compose file:

version: "2"
services:
  bds:
    image: itzg/minecraft-bedrock-server:latest
    container_name: minecraft
    network_mode: bridge
    environment:
      - TZ=America/Sao_Paulo
      - EULA=TRUE
      - DIFFICULTY=normal
      - ALLOW_CHEATS=true
    ports:
      - 19132:19132/udp
    volumes:
      - /srv/dev-disk-by-label-DISCO2/minecraft:/data
    restart: unless-stopped

Here is the content of the "volume" folder:

image

All my other containers uses doker (1001) user and users (100) group

What am I missing??

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on August 23, 2024

@henricos have you checked that the filesystem for /srv/dev-disk-by-label-DISCO2/minecraft does not have the noexec option enabled? Use findmnt /srv/dev-disk-by-label-DISCO2/minecraft to determine that.

from docker-minecraft-bedrock-server.

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.