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

Draupnir fails to start if it was banned from a protected room #580

Open
TheArcaneBrony opened this issue Sep 26, 2024 · 0 comments
Open
Labels
bug Something isn't working L3 Some Users Likelihood P3 Outrageous / Cannot continue to or start to use Priority level - includes missing documentation leading to same outrage etc T6 Crash Bug causes crash OR data loss

Comments

@TheArcaneBrony
Copy link
Contributor

I might be out of date and this may have been fixed together with #561

Logs:

Sep 26 16:41:23 Rory-nginx draupnir[333579]: WARNING: No configurations found in configuration directory:/var/lib/private/draupnir/config
Sep 26 16:41:23 Rory-nginx draupnir[333579]: WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
Sep 26 16:41:23 Rory-nginx draupnir[333579]: Thu, 26 Sep 2024 16:41:23 GMT [INFO] [index] Starting bot...
Sep 26 16:41:31 Rory-nginx draupnir[333579]: Thu, 26 Sep 2024 16:41:31 GMT [ERROR] [ActionException] ActionException Unknown 445f93e6-3a7b-4374-9492-06593b1710b0 M_BAD_STATE: Cannot join user who was banned undefined
Sep 26 16:41:31 Rory-nginx draupnir[333579]: Failed to setup mjolnir from the config /var/lib/draupnir: TypeError: ActionException: 445f93e6-3a7b-4374-9492-06593b1710b0
Sep 26 16:41:31 Rory-nginx draupnir[333579]: Unable to join and add configured protected room https://matrix.to/#/!aYqHMneYZdQrqyuYYB%3Aunix.dog
Sep 26 16:41:31 Rory-nginx draupnir[333579]: elaborated from: Unable to create Draupnir
Sep 26 16:41:31 Rory-nginx draupnir[333579]: caused by: M_BAD_STATE: Cannot join user who was banned
Sep 26 16:41:31 Rory-nginx draupnir[333579]: from error: undefined
Sep 26 16:41:31 Rory-nginx draupnir[333579]: /nix/store/hy8mb336c7jnv2403zkh364cdvcrd6qr-draupnir-2.0.0-beta.6/share/draupnir/node_modules/@gnuxie/typescript-result/dist/Result.js:132
Sep 26 16:41:31 Rory-nginx draupnir[333579]:         return new TypeError(this.toReadableString());
Sep 26 16:41:31 Rory-nginx draupnir[333579]:                ^
Sep 26 16:41:31 Rory-nginx draupnir[333579]: TypeError: ActionException: 445f93e6-3a7b-4374-9492-06593b1710b0
Sep 26 16:41:31 Rory-nginx draupnir[333579]: Unable to join and add configured protected room https://matrix.to/#/!aYqHMneYZdQrqyuYYB%3Aunix.dog
Sep 26 16:41:31 Rory-nginx draupnir[333579]: elaborated from: Unable to create Draupnir
Sep 26 16:41:31 Rory-nginx draupnir[333579]: caused by: M_BAD_STATE: Cannot join user who was banned
Sep 26 16:41:31 Rory-nginx draupnir[333579]: from error: undefined
Sep 26 16:41:31 Rory-nginx draupnir[333579]:     at MatrixException.toExpectError (/nix/store/hy8mb336c7jnv2403zkh364cdvcrd6qr-draupnir-2.0.0-beta.6/share/draupnir/node_modules/@gnuxie/typescript-result/dist/Result.js:132:16)
Sep 26 16:41:31 Rory-nginx draupnir[333579]:     at ExpectError (/nix/store/hy8mb336c7jnv2403zkh364cdvcrd6qr-draupnir-2.0.0-beta.6/share/draupnir/node_modules/@gnuxie/typescript-result/dist/Result.js:71:28)
Sep 26 16:41:31 Rory-nginx draupnir[333579]:     at Object.expect (/nix/store/hy8mb336c7jnv2403zkh364cdvcrd6qr-draupnir-2.0.0-beta.6/share/draupnir/node_modules/@gnuxie/typescript-result/dist/Result.js:76:12)
Sep 26 16:41:31 Rory-nginx draupnir[333579]:     at makeDraupnirBotModeFromConfig (/nix/store/hy8mb336c7jnv2403zkh364cdvcrd6qr-draupnir-2.0.0-beta.6/share/draupnir/deps/draupnir/lib/DraupnirBotMode.js:60:21)
Sep 26 16:41:31 Rory-nginx draupnir[333579]:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Sep 26 16:41:31 Rory-nginx draupnir[333579]:     at async /nix/store/hy8mb336c7jnv2403zkh364cdvcrd6qr-draupnir-2.0.0-beta.6/share/draupnir/deps/draupnir/lib/index.js:87:15
Sep 26 16:41:31 Rory-nginx draupnir[333579]: Node.js v20.14.0
Sep 26 16:41:31 Rory-nginx systemd[1]: draupnir.service: Main process exited, code=exited, status=1/FAILURE
@FSG-Cat FSG-Cat added bug Something isn't working L3 Some Users Likelihood P3 Outrageous / Cannot continue to or start to use Priority level - includes missing documentation leading to same outrage etc T6 Crash Bug causes crash OR data loss labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working L3 Some Users Likelihood P3 Outrageous / Cannot continue to or start to use Priority level - includes missing documentation leading to same outrage etc T6 Crash Bug causes crash OR data loss
Projects
Status: No status
Development

No branches or pull requests

2 participants