a year 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.jsonPinned Solution
a year ago
Yep, you're 100% right. I added that variable for you and it fixed the issue.
15 Replies
a year ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 [NextJS] Static Build files are not found
- 🧵 Weasy Dependencies
- 🧵 node-gyp-build not found
- 🧵 .json files -> Postgresql & build
If you find the answer from one of these, please let us know by solving the thread!
a year ago
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 • 11 months 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>
a year 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 • 11 months ago
a year 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 • 11 months 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.
a year ago
samgordon
Hey, Here's my working configuration: 
a year 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 deniedoliveryasuna
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 ```
a year ago
Can you share your start command? It should be completely blank in Railway. Everything other than what I screenshotted is completely blank/default.
a year ago
I think this answers my question: https://docs.railway.com/guides/volumes#permissions
a year ago
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.
a year ago
Hmm, but see my Dockerfile. I do not run at root.
oliveryasuna
Hmm, but see my `Dockerfile`. I do not run at root.
a year ago
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.
a year ago
Also, no idea why it used the Singapore region, when I selected US West.
samgordon
Can you add me as a collaborator to the project? My email is sam@thesamgordon.com
a year ago
Invited! Thank you so much for your help.
a year 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 • 11 months ago