Brucewastaken / minecraft-server-on-heroku-template

20 stars 94 forks source link

Cannot make add own world. #10

Closed ExoOnix closed 1 year ago

ExoOnix commented 2 years ago

I deleted both the zip and world, and replaced with my worlds zip and folder. But it doesent change the world.

Brucewastaken commented 2 years ago

try replacing the files in the repo before building it in heroku and running setup.js, as it uploads the world.zip to the db. One way to solve this without creating a new app is to remove and re-add the postgres database, make sure that the config var for it is DATABASE_URL in settings, and build with only setup.js on and main.py off.

ExoOnix commented 2 years ago

The error is, that my world file is too big to push to GitHub. Is there any other method?

Brucewastaken commented 2 years ago

Sorry for the late reply, but you can install the desktop app which allows you to push larger files to the repo.

ExoOnix commented 2 years ago

There is a 100mb limit.

Brucewastaken commented 2 years ago

You can try using the github LFS, but you should look more into it.

ExoOnix commented 2 years ago

Can you send me a git attributes file or should I just make it track zip and folders?

ExoOnix commented 2 years ago

Just tried using git lfs but I have to by content packs. Can I use any options other than github?

Brucewastaken commented 2 years ago

there's another way using heroku CLI to do it, and there's a short overview in the deploy tab if you choose heroku git or container registry. I'm not 100% sure if the limit is still present, but you can give it a shot.

ExoOnix commented 2 years ago

Sure I’ll try container registry.

singham2000 commented 2 years ago

error: relation "files" does not exist

I am getting this error on Heroku while deploying the app.

Brucewastaken commented 2 years ago

error: relation "files" does not exist

I am getting this error on Heroku while deploying the app.

Did you run setup.js? This error occurs because the table/database wasn't created. Check that a database is attached and run setup.js to create the table.