Sujet "Installation of Etherpad-Lite "JSON response could not be decoded""
Onglets
-
Supprimé | 12. mai 2017, 14:33
Installation of Etherpad-Lite "JSON response could not be decoded"Hello,
I installed Etherpad and the Ilias-Plugin (https://github.com/jrocho/ILIAS-Etherpad-Lite-Plugin).
When I create an Etherpad I get the error "Error ig4el_8594 occurred." In the ilias.log: "[ig4el] [2017-05-12 14:12:34.408188] elearnKU_root.WARNING: ilErrorHandling::{closure}:50 ERROR (0) JSON response could not be decoded"
May-be the reason is the wrong path? I installed Etherpad in /usr/local/etherpad-lite. On the same server I have ILIAS runnig unter /data/ilias (v5.2.1 2017-03-03). What do I have to put the path of the "ETHERPAD-LITE CONFIGURATION"?
I don't understand the description "Path when Etherpad-Lite is located in a non-standard sub-directory of the webserver, e.g. /p/padname -> /subdirectory/p/padname then enter "/subdirectory" here. Otherwise leave blank (default)." In German: "Pfad when Etherpad-Lite einem nicht-standard Unterverzeichnis auf dem Webserver liegt, z.B. /p/padname -> /subdirectory/p/padname sollte hier /subdirectory eingetragen werden. Andernfalls dieses Feld frei lassen (default)."
May-be that my ILIAS-Version is to new for hte Plugin?
Regards
Peter
-
wolfganghuebsch | wolfganghuebsch | 14. mai 2017, 20:37
Installation of Etherpad-Lite "JSON response could not be decoded"Hi Peter,
does your pad run if you call it with its port like domain.de:9001 ?
I think you can leave the subdir-setting empty.
The setting in the field host should be domain.de - or - if you redirect to a subdomain with port 80 or 443 subdomain.domain.de
The API-Key setting right? You can found it in settings.json.
Best regards,
Wolfgang
-
wolfganghuebsch | wolfganghuebsch | 15. mai 2017, 10:51
Installation of Etherpad-Lite "JSON response could not be decoded"I also wrote some things concerning Etherpad and ILIAS here including a table of possible configs (at the end):
https://bbs-ilias.de/info/goto.php?target=blog_62_14&client_id=info
-
Supprimé | 23. mai 2017, 15:34
Installation of Etherpad-Lite "JSON response could not be decoded"Hello Wolfgang,
sorry for the delay. I was on holidays. Now it runs.
I had mainly 2 problems.
- I didn't set a "." in front of the domain (.ku.de). This is not "standard" and i think this could be avoided by the php-programm
- If ILIAS runs under https (ssl) and Etherpad run with http (Port 9001), it will not work (at least not with newer web-browsers
So your page https://bbs-ilias.de/info/goto.php?target=blog_62_14&client_id=info was very helpful.
Thanks
Peter
-
Supprimé | 23. mai 2017, 15:40
Installation of Etherpad-Lite "JSON response could not be decoded"Hi Wolfgang,
thank you for the hint. I did the VirtualHost in a similiar way, but without a sub-domain, by using the port 8443 instead of 443:
<IfModule mod_ssl.c>
<VirtualHost _default_:8443>ErrorLog ${APACHE_LOG_DIR}/error-etherpad-ssl.log
CustomLog ${APACHE_LOG_DIR}/access-etherpad-ssl.log combinedProxyVia On
ProxyRequests Off
ProxyPass / http://1.2.3.4:9001/
ProxyPassReverse / http://1.2.3.4:9001/
ProxyPreserveHost on
<Proxy *>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Proxy> -
Supprimé | 23. mars 2020, 00:24
Installation of Etherpad-Lite "JSON response could not be decoded"Hey @pihrler, Hey Community,
I installed my apache and my ilias according to the instructions of wolfganghuebsch (bbs-ilias).
@wolfganghuebsch: thanks for your tutorials and ton's of hints!!!
Unfortunately my etherpad does not work (yet).
The etherpad (https) installation went well and I can log in via https: // <domain> / admin.
But creating a pad in ilias, I get the following (incomprehensible) error message that @pihrler also received (see below).
My question now is, is @pihrler's solution from 2017 still valid for a current installation of etherpad in ilias (using port 8443 instead 443)?