Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrations not working #31

Open
markospadawan opened this issue Sep 30, 2023 · 2 comments
Open

migrations not working #31

markospadawan opened this issue Sep 30, 2023 · 2 comments

Comments

@markospadawan
Copy link

I'm having several problems in a row in the migration part using Prisma.

running the deploymend part commands in readme.md
pnpm migrate

I get errors in some tables stating the following:
061d422c-0cda-4624-ab41-b44a99a82767

when removing these tables from the script, others are highlighted. And eventually, removing all that have errors means the site just won't open.

I'm also trying to run it through docker.
But the tests I did were local on Debian Linux.

I will attach my docker configurations
[Dockerfile.site.txt](https://github.com/luan/slenderaac/files/12775300/Dockerfile.sit
docker-compose.yaml.txt
e.txt)

schema.sql.txt

@markospadawan
Copy link
Author

Docker configuration files:
schema.sql.txt
Dockerfile.site.txt
docker-compose.yaml.txt

.env FILE:

Mariadb

MYSQL_DATABASE=otservbr-global
MYSQL_USER=canary
MYSQL_PASSWORD=canary
MYSQL_ROOT_PASSWORD=root

Login

LOGIN_HTTP_PORT=80
LOGIN_GRPC_PORT=9090
MYSQL_HOST=database
MYSQL_PORT=3306
MYSQL_DBNAME=otservbr-global
MYSQL_USER=canary
MYSQL_PASS=canary
SERVER_NAME=OTServBR-Global
SERVER_IP=127.0.0.1
SERVER_PORT=7172
SERVER_LOCATION=BRA
RATE_LIMITER_RATE=2
RATE_LIMITER_BURST=5

Server

toggleDownloadMap=false
statusProtocolPort=7171
gameProtocolPort=7172

start_migrate.sh.txt

@luan
Copy link
Owner

luan commented Dec 6, 2023

I'm sorry I took so long to reply/fix. This should be ok now after recent updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants