Etherpad Lite
Maintained by
Andreas Grabs, Moodle-Dev Humboldt-Universität zu Berlin
An activity module to integrate etherpad-lite with Moodle. To use this plugin, you will need to have an etherpad-lite server that runs on at least the same 2nd-level-domain as your Moodle server.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I use etherpad lite 2.5.0 I have setup an apikey and authentication is fine.
I run etherpad lite with docker-compose (from etherpad lite) I have added :
AUTHENTICATION_METHOD: "apikey"
REQUIRE_SESSION: "true"
EDIT_ONLY: "true"
in the docker-compose.yml file
What is maybe a problem :
the etherpad is hosted in a machine which name is etherpad.internal.dom.tld but I connect to it thru a nginx with the url etherpad.externaldom.tld
The moodle instance is in the same case.
I have setup the cookie domain to externaldom.tld and I have tried internal.dom.tld but none of the two seems to have an effect.
When I watch at cookies in browser they are either at moodle.externaldom.tld or externaldom.tld.
Does somebody has an idea on what could go wrong ?
Thanks in advance
/*
The authentication method used by the server.
The default value is sso
If you want to use the old authentication system, change this to apikey
*/
"authenticationMethod": "${AUTHENTICATION_METHOD:apikey}",
This place here is for comments only.
Thank you for your understanding!
Just WE have Problem with Plugin " could Not get API Version" where can i find this API Version?
The error message I get is "pad.igmetall-moodle.de has refused the connection."
Best regards
Guido
Now I debugged a little bit and found out, that in the file
etherpadlite\classes\client.php in the function get_version() the
$url = $this->baseurl;
ends with
/api
and not with
/api/
what leads to an Etherpad instead of the JSON. After adding the missing slash with the following code it works for us:
if(!(substr_compare($url, "/", -1) === 0)){
$url.="/";
}
Thank you!
ErrorId: 4wNmhAZ2hYo9zBrq1xHb
URL: https://myaddress:9001/p/g.NfRQhXclxTNNzHYW$DiaMoodle
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
TypeError: $sidedivinner is undefined in https://myaddress:9001/static/js/require-kernel.js?v=c4855223 line 1 > Function at line 5
We do not have a problem when we use Etherpad directly without Moodle.
I never had this problem before with previous versions of Moodle, plugin, or Etherpad Lite Server. Any ideas what cases it and how I can resolve it, please?
PS I set minify to false and AgeMax to 0 in settings.json of Etherpad Lite Server. It seems to help a bit but not completely...
Thanks for the question. But could you please use the right place for your questions?
If you have questions like this you can post them in the general plugins forum (https://moodle.org/mod/forum/view.php?id=44).
Best regards
Andreas
We upgraded our Moodle to 3.5 and hoped that Etherpad 2.7 would still work. But we get the following error when creating an activity:
Empty or no response from the server
The apache log:
Database transaction aborted automatically in /srv/www/htdocs/moodle/course/modedit.php, referer: ...
Default exception handler: Error: Empty or No Response from the server Debug: \ nError code: generalexceptionmessage \ n * line 107 of /mod/etherpadlite/etherpad-lite-client.php: UnexpectedValueException thrown \ n * line 60 of / mod / etherpadlite / etherpad-lite-client.php: call to EtherpadLiteClient-> call () \ n * line 148 of /mod/etherpadlite/etherpad-lite-client.php: call to EtherpadLiteClient-> post () \ n * line 62 of /mod/etherpadlite/lib.php: call to EtherpadLiteClient-> createGroup () \ n * line 124 of /course/modlib.php: call to etherpadlite_add_instance () \ n * line 154 of /course/modedit.php: call to add_moduleinfo () \ n, referer: ...
If we call Etherpad directly and not via the Moodle plug-in, it works. Our assumption that Etherpad-lite 2.7 for 3.5 is not compatible seems to be confirmed.
Did anyone get Etherpad Lite running at 3.5?
Are there plans to further develop Etherpad Lite for Moodle 3.5?
Excuse me if my english is bad. The Google translator helped.
Best regards,
Egor
Best regards, Moodle-Dev HU-Berlin, J. Eremie