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

Disable by default makes the server crash. #48

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

Disable by default makes the server crash. #48

julpec opened this issue May 13, 2020 · 6 comments

Comments

@julpec
Copy link

julpec commented May 13, 2020

Hello
First, thanks for this plugin, very useful and simple (as usual in etherpad).
I installed the plugin without any problem. It was used earlier with 6 people.
Now, I just tried to disable by default by adding this in my settings.json:

"ep_webrtc" : {
    "enabled" : false
}

but after that, my etherpad instance doesn't want to run. I have this error:

[2020-05-13 23:09:03.965] [ERROR] console - There was an error processing your settings file from /var/www/etherpad-prive/settings.json: Unexpected string in JSON at position 1865

Node: v10.20.1
etherpad: 1.8.3
npm: 6.14.4

@JohnMcLear
Copy link
Member

This is being rewritten at the moment by @orblivion - we hope to have something land soon :)

@orblivion
Copy link
Contributor

This one actually looks like a json format error. Probably that you need a comma before this?

@orblivion
Copy link
Contributor

In settings.json. I recognize it because I've seen it a lot lately :-)

@julpec
Copy link
Author

julpec commented May 14, 2020

I'm so sorry...
I worked on this a little late at night and I hadn't actually paid attention to the comma... the shame on me :(
Sorry to have wasted your time.
However, the default disable doesn't work, it keeps asking for permission and enabling video conferencing.

@orblivion
Copy link
Contributor

No worries! Glad to help. It's confused me a few times as well.

As far as the feature not working: Did you ever use the "Enable Audio/Video Chat" switch under the settings gearbox? It basically does the same thing, except per-user. If you've ever touched it, it sets a cookie for that user that will override anything you put in settings.json. However if you, let's say, try opening the pad in an incognito window, it should respect your settings.json until you check the checkbox under the gear.

I hope to have a bit better documentation for this soon in the README.

@julpec
Copy link
Author

julpec commented May 16, 2020

Yes, but this is user related and not pad related, which is a problem for me. I think a pad needs to be configured by its creator and then eventually users can override the pad's configurations.
But I don't think that's the philosophy of etherpad and I'll be happy with this default disabling (which works btw).
The only problem for me is to make users know that they can enable it in the settings (knowing that each user of the pad has to do the action).

@julpec julpec closed this as completed May 16, 2020
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

3 participants