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

cannot start mjolnir v1.3.0 #206

Closed
cremesk opened this issue Feb 1, 2022 · 2 comments
Closed

cannot start mjolnir v1.3.0 #206

cremesk opened this issue Feb 1, 2022 · 2 comments

Comments

@cremesk
Copy link
Contributor

cremesk commented Feb 1, 2022

Describe the bug

Feb 01 11:27:10 matrix.envs.net systemd[1]: Started matrix-mjolnir.
Feb 01 11:27:10 matrix.envs.net node[330050]: Creating Web APIs
Feb 01 11:27:10 matrix.envs.net node[330050]: Starting web server
Feb 01 11:27:10 matrix.envs.net node[330050]: Configuring /api/1/report/:room_id/:event_id...
Feb 01 11:27:10 matrix.envs.net node[330050]: Configuring /api/1/report/:room_id/:event_id... DONE
Feb 01 11:27:10 matrix.envs.net node[330050]: Tue, 01 Feb 2022 11:27:10 GMT [ERROR] [Mjolnir] Error during startup:
Feb 01 11:27:10 matrix.envs.net node[330050]: Tue, 01 Feb 2022 11:27:10 GMT [ERROR] [Mjolnir] TypeError: Cannot read property 'enabled' of undefined
Feb 01 11:27:10 matrix.envs.net node[330050]:     at WebAPIs.<anonymous> (/opt/mjolnir/lib/webapis/WebAPIs.js:65:49)
Feb 01 11:27:10 matrix.envs.net node[330050]:     at Generator.next (<anonymous>)
Feb 01 11:27:10 matrix.envs.net node[330050]:     at /opt/mjolnir/lib/webapis/WebAPIs.js:23:71
Feb 01 11:27:10 matrix.envs.net node[330050]:     at new Promise (<anonymous>)
Feb 01 11:27:10 matrix.envs.net node[330050]:     at __awaiter (/opt/mjolnir/lib/webapis/WebAPIs.js:19:12)
Feb 01 11:27:10 matrix.envs.net node[330050]:     at WebAPIs.start (/opt/mjolnir/lib/webapis/WebAPIs.js:48:16)
Feb 01 11:27:10 matrix.envs.net node[330050]:     at Mjolnir.<anonymous> (/opt/mjolnir/lib/Mjolnir.js:243:36)
Feb 01 11:27:10 matrix.envs.net node[330050]:     at Generator.next (<anonymous>)
Feb 01 11:27:10 matrix.envs.net node[330050]:     at fulfilled (/opt/mjolnir/lib/Mjolnir.js:20:58)
Feb 01 11:27:10 matrix.envs.net node[330050]:     at processTicksAndRejections (internal/process/task_queues.js:95:5)

Info:

  • OS: Debian 11
  • nodejs v14.18.3
@Gnuxie
Copy link
Contributor

Gnuxie commented Feb 1, 2022

oops, sorry about that, if you have the abuse reporting enabled you will need to also add

  ruleServer:
    enabled: false

under web: in your config for the meantime

@cremesk
Copy link
Contributor Author

cremesk commented Feb 1, 2022

thanks! it fixed the issue and the mjolnir v1.3.0 service started now.

@cremesk cremesk closed this as completed Feb 1, 2022
Gnuxie added a commit that referenced this issue Feb 1, 2022
It's problematic not to if we want to keep extending the config
and keep new features unreleased behind them during releases
#206.
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