Open Jasper-Ben opened 5 years ago
I was able to check out 1.12, create the registration file. 1.12 wasn't working for my synapse 1.0 from Debian's buster backports, so I then checked out master, re-installed node stuff and then ran successfully.
Should be fixed with #90
Doesn't work for me either. I use the default configuration from: https://github.com/spantaleev/matrix-docker-ansible-deploy/ and in the documentation of matrix-puppet-slack
the naming is unclear to me. While readme.md speaks about http://your-bridge-server:8090
, config.sample.json
uses https://synapse.keyvan.pw
.
None of these are standard matrix terminology, I can offer synapse
, mxisd
, exim-relay
, coturn
, riot
and dimension
. Which of these do you mean?
Currently node index.js -r -u "http://127.0.0.1:8091"
(tried a bunch of different domains and IPs, all the same) yields:
module.js:675
throw err;
^
SyntaxError: /home/git/matrix-puppet-slack/config.json: Unexpected token ] in JSON at position 707
at JSON.parse (<anonymous>)
at Object.Module._extensions..json (module.js:672:27)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/git/matrix-puppet-slack/config_migrations.js:2:16)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
Was facing same issue with you when I tried to generate slack-registration.yaml
file using this code node index.js -r -u "http://your-bridge-server:8090"
.
Try use this instead, npm start -- -r -c config.yaml -u "http://your-bridge-server:8090"
.
You should see the log in success
message on the cli after enter your localpart and password.
This works fine for me anyhow. Good luck.
Issue
When running the generating part of the install process the program prompts for user's localpart but exits without an error and without generating the registration.yaml after I provide this information. I am not sure if this is due to a mistake in the setup, or if this is a bug. Thus, attached my setup. Any help would be much appreciated!
Setup
config.json
URL uses Dockers local DNS system.
Dockerfile
Registration
For the registration conf generating process I use following command after building docker_image:
Things tried so far