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

Problems with following the Self Hosting outside of Docker on linux #51

Open
M3kk0M3d3sm0 opened this issue Aug 26, 2024 · 2 comments
Open

Comments

@M3kk0M3d3sm0
Copy link

I have an issue while following the instructions with the command :
./rogueserver --debug --dbuser pokerogue --dbpass pokerogue &

It returns the error:
2024/08/27 00:37:57 Error 1045 (28000): Access denied for user 'pokerogue'@'localhost' (using password: YES)

Don't know what is causing it, can someone help me? I'm stuck and even trying the docker leads in problems, i tried using other credentials too, because i thought it might need the ones of my MariaDB.

And I thought it might be related to the game running, but i don't understand the part to modify in the game files too (it seams like it self check if there's a local server?).

@KuramiWan
Copy link

KuramiWan commented Aug 31, 2024

Have you changed your MariaDB database both user and password to ‘pokerogue’ ?

I'm stuck and even trying the docker leads in problems

If you use the docker-compose.Example.yml file to run docker, you don’t need a command to start it.

@M3kk0M3d3sm0
Copy link
Author

Have you changed your MariaDB database both user and password to ‘pokerogue’ ?

I'm stuck and even trying the docker leads in problems

If you use the docker-compose.Example.yml file to run docker, you don’t need a command to start it.

-I managed to fix the database issue that resoulted being caused by another problem not related to rogueserver, now it works fine, however trying using docker-compose on the docker-compose.Example.yml file causes the following isser:
ERROR: The Compose file './docker-compose.Example.yml' is invalid because:

services.db.healthcheck value 'start_interval' does not match any of the regexes: '^x-'
services.watchtower.environment.WATCHTOWER_CLEANUP contains true, which is an invalid type, it should be a string, number, or a null

-And i couldn't understand what are the lines of code to change in the src/utils.ts, i have cloned the leatest pokerogue source code, can someone show me an example ?
-And i noticed pokerogue only responds on localhost and not the IP of the machine i'am running it on.

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

4 participants
@KuramiWan @M3kk0M3d3sm0 and others