Files not found
oliveryasuna
PROOP

a month ago

Hi, not sure what's going on here. The files are definitely in the repository. Are files not copied over for builds?

We're loving Railway at Sferion, so I'm just trying to set up a Minecraft server for the team haha.

> find . -not -path '*/.git/*' -print
.
./README.md
./.dockerignore
./.gitignore
./docker-compose.yml
./.vscode
./.vscode/settings.json
./services
./services/server
./services/server/Dockerfile
./services/server/.gitignore
./services/server/assets
./services/server/assets/log4j2.xml
./services/server/assets/whitelist.json
./services/server/assets/mods
./services/server/assets/mods/Chunky-1.3.146.jar
./services/server/assets/mods/worldedit-mod-7.2.15.jar
./services/server/assets/ops.json
./services/server/start.sh
./services/server/railway.json
./json-schema
./json-schema/railway.schema.json
Solved$20 Bounty

15 Replies

Railway
BOT

a month ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


First time I have been asked to support Minecraft...

Maybe, without more information I can't tell the docker env you are working with.

You can try this template? https://railway.com/deploy/BLEtpx


Status changed to Awaiting User Response Railway 29 days ago


angelo-railway

First time I have been asked to support Minecraft...Maybe, without more information I can't tell the docker env you are working with.You can try this template? https://railway.com/deploy/BLEtpx

oliveryasuna
PROOP

a month ago

Hey Angelo, I made the repo public: https://github.com/oliveryasuna/minecraft-railway.

As you can tell, the files are definitely there. You can run docker compose up to test. It's just on Railway that fails to copy the files.


Status changed to Awaiting Railway Response Railway 29 days ago


brody
EMPLOYEE

a month ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 29 days ago


oliveryasuna

Hey Angelo, I made the repo public: https://github.com/oliveryasuna/minecraft-railway.As you can tell, the files are definitely there. You can run docker compose up to test. It's just on Railway that fails to copy the files.

Hey,

Here's my working configuration:


samgordon

Hey,Here's my working configuration:

oliveryasuna
PROOP

a month ago

This got me much closer! I needed to set the Root Directory of the Source to /services/server.

However, now I get this in the deploy logs:

Checking EULA...
/start.sh: line 10: eula.txt: Permission denied

oliveryasuna

This got me much closer! I needed to set the Root Directory of the Source to /services/server.However, now I get this in the deploy logs:Checking EULA... /start.sh: line 10: eula.txt: Permission denied

Can you share your start command? It should be completely blank in Railway. Everything other than what I screenshotted is completely blank/default.


oliveryasuna
PROOP

a month ago

I think this answers my question: https://docs.railway.com/guides/volumes#permissions


You shouldn't need to be modifying anything else. If you added that variable previously, please remove it.


samgordon

You shouldn't need to be modifying anything else. If you added that variable previously, please remove it.

oliveryasuna
PROOP

a month ago

Hmm, but see my Dockerfile. I do not run at root.


oliveryasuna

Hmm, but see my Dockerfile. I do not run at root.

Please. Create a new service, and only change the configurations I've screenshotted. Forget whatever you have configured right now. Do not do anything extra.


samgordon

Please. Create a new service, and only change the configurations I've screenshotted. Forget whatever you have configured right now. Do not do anything extra.

oliveryasuna
PROOP

a month ago


Can you add me as a collaborator to the project? My email is sam@thesamgordon.com


samgordon

Can you add me as a collaborator to the project? My email is sam@thesamgordon.com

oliveryasuna
PROOP

a month ago

Invited! Thank you so much for your help.


Yep, you're 100% right. I added that variable for you and it fixed the issue.


oliveryasuna
PROOP

a month ago

Thanks everyone for all your help! This may have been for nothing, though haha. My estimated usage is almost $200 USD per month!


Status changed to Solved noahd 28 days ago


Loading...