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

Unabel to run, server get stuck with Redis error #27

Open
FonzySF opened this issue May 21, 2020 · 2 comments
Open

Unabel to run, server get stuck with Redis error #27

FonzySF opened this issue May 21, 2020 · 2 comments

Comments

@FonzySF
Copy link

FonzySF commented May 21, 2020

engine_main.log:
Error while main loop (stage getRooms): ReplyError: WRONGTYPE Operation against a key holding the wrong kind of value
at parseError (/home/screeps/world/node_modules/redis-parser/lib/parser.js:179:12)

This is repeated over and over.

Versions:
Screeps Server: Server version 4.1.6
Node.js: v12.16.3
Npx version: 6.14.5
Mongo V: MongoDB shell version v4.2.6
Redis server v=3.2.12
gcc (GCC) 10.1.0

Running on CentOS 7

@FonzySF
Copy link
Author

FonzySF commented May 21, 2020

So i was messing around did a few system.resetAllData() and now it is working. I am not sure what happened. It is working now.

@FonzySF FonzySF closed this as completed May 21, 2020
@FonzySF FonzySF reopened this May 21, 2020
@FonzySF
Copy link
Author

FonzySF commented May 21, 2020

So actually what cause the errors is if you run mongo.importDB() it gets the errors, than when you run system.resetAllData() it startes working. My understanding is mongo.importDB() imports the current game is this correct? Maybe I misunderstand. Thanks.

AlinaNova21 added a commit that referenced this issue Dec 30, 2020
Update importDB and upgradeDB to support database version 9, fixes #29 (and #27)
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

1 participant