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

riot-web 1.6.0: cannot set own integrations server #13560

Closed
cy8aer opened this issue May 6, 2020 · 13 comments
Closed

riot-web 1.6.0: cannot set own integrations server #13560

cy8aer opened this issue May 6, 2020 · 13 comments
Labels

Comments

@cy8aer
Copy link

cy8aer commented May 6, 2020

Description

In former versions it was simple to set an own (Dimension) integrations server in
resources/webapp/config.js. With Version 1.6.0 we have have resources/webapp.asar which IMHO is not editable anymore. You cannot change the configuration in the web interface either (only switch on/off of scalar.vector.im is possible.

  • Platform: web (in-browser) or desktop? Official debian riot-desktop

For the desktop app:

  • OS: Linux Debian Testing
  • Version: 1.6.0
@cy8aer cy8aer added the T-Defect label May 6, 2020
@turt2live
Copy link
Member

matrix-org/matrix-spec-proposals#1957 describes the various ways that integration managers can be defined. You shouldn't have ever needed to modify the build output to change integration managers.

The config.md docs in this repo have more information as well.

@cy8aer
Copy link
Author

cy8aer commented May 6, 2020

  1. .well-known: riot-desktop does not access .well-known/matrix/client or server.
  2. .well-known is also not accessed after new login
  3. config.json is simply not used anymore (config.md is not up to date with 1.6.0)

So the mimikry is IMHO borked with 1.6.0

@turt2live
Copy link
Member

The .well-known is called every 8 hours after startup, including at startup, for the sole reason of making sure to capture integration manager changes.

How is the config wrong?

@cy8aer
Copy link
Author

cy8aer commented May 6, 2020

Ok, then I need to wait > 8 hours with running Client.

config wrong: When I installed riot-desktop 1.6.0 over riot-web 1.5.2 config.js was deleted. After restoring config.js it is not used anymore (otherwise I the integrations server setup would be used). So config.md describes a file which is not used anymore.

@turt2live
Copy link
Member

The docs do not mention a config.js - they mention a config.json.

Ok, then I need to wait > 8 hours with running Client.

It should work on startup. If it doesn't, check the console logs for indications of failure.

@cy8aer
Copy link
Author

cy8aer commented May 6, 2020

I meant config.json of course, sorry.

@turt2live
Copy link
Member

for the config issue, it'd be good to troubleshoot in #riot-web:matrix.org instead as the config features should still work.

@cy8aer
Copy link
Author

cy8aer commented May 6, 2020

Yep, swapping to the room. Thank you for now...

@aliyousefiaan
Copy link

aliyousefiaan commented May 16, 2020

Hello.
Before version 1.6.0 I change config.json on riot desktop to use my self-host matrix-dimension.
But in 1.6.0 version there is no config.json file to edit integration server and add matrix-dimension server as an integration server.
Now, what gonna I do?
I have my homeserver and matrix-dimension.

@t3chguy
Copy link
Member

t3chguy commented May 16, 2020

You were editing an internal config file. See docs https://github.com/vector-im/riot-desktop/blob/develop/README.md#user-specified-configjson

@aliyousefiaan
Copy link

Yep, but I don't want to build or compile it.
Is there any other way?

@t3chguy
Copy link
Member

t3chguy commented May 16, 2020

Read the link I sent you. It tells you where to create a config.json file.

@aliyousefiaan
Copy link

Yep, I got it.
Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants