Giter Site home page Giter Site logo

Comments (7)

jacotec avatar jacotec commented on June 16, 2024

I tried to "generate" one the way it's described for the non-docker install, here the creation fails with an error (node.js 9.11 installed):

internal/modules/cjs/loader.js:550
    throw err;
    ^

Error: Cannot find module 'matrix-js-snippets'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
    at Function.Module._load (internal/modules/cjs/loader.js:475:25)
    at Module.require (internal/modules/cjs/loader.js:598:17)
    at require (internal/modules/cjs/helpers.js:11:18)
    at Object.<anonymous> (/root/matrix-appservice-webhooks/index.js:1:82)
    at Module._compile (internal/modules/cjs/loader.js:654:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
    at Module.load (internal/modules/cjs/loader.js:566:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
    at Function.Module._load (internal/modules/cjs/loader.js:498:3)

from matrix-appservice-webhooks.

jacotec avatar jacotec commented on June 16, 2024

@turt2live Trevis, is there any workaround to get this file? I'm currently changing everything over from Mattermost to a self hosted Matrix, and I need the Slack compatible webhooks (my Mattermost license runs out in 7 days and I need to move my Monitoring Events over to Matrix which are using Slack compatible Webhooks)

I don't know a way to get that running yet ... ;-)

from matrix-appservice-webhooks.

turt2live avatar turt2live commented on June 16, 2024

You could write the file out manually. It's supposed to be in the Docker volume alongside some other files (mentioned in the README).

Here's an example:

id: webhooks
hs_token: A_RANDOM_ALPHANUMERIC_STRING
as_token: ANOTHER_RANDOM_ALPHANUMERIC_STRING
namespaces:
  users:
    - exclusive: true
      regex: '@_webhook.*'
  aliases: []
  rooms: []
url: 'http://localhost:9002'  # you may need to change this
sender_localpart: _webhook
rate_limited: false
protocols: null

from matrix-appservice-webhooks.

jacotec avatar jacotec commented on June 16, 2024

@turt2live I've got it working :-)
There is an issue in your docs: In your config example you have written for the symlink:

ln -s ../matrix-appservice-webhooks/appservice-registration-webhooks.yaml appservice-registration-webhooks.yaml

But the file name is appservice-webhooks-registration. There is a word swap in this area of the docs.
Another question: The webhook bridge wrote me:

This room is no longer viable as an admin room. Please open a new direct conversation with me to maintain an admin room.

This is not documented ... what is an "admin room"?

from matrix-appservice-webhooks.

turt2live avatar turt2live commented on June 16, 2024

An admin room is a room between you and the bridge only.

from matrix-appservice-webhooks.

jacotec avatar jacotec commented on June 16, 2024

OK, what can I do there? Is there a doc?

from matrix-appservice-webhooks.

turt2live avatar turt2live commented on June 16, 2024

The admin room is currently only used to give you the URL for the webhook - nothing more.

from matrix-appservice-webhooks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.