Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.
LEDfan edited this page Mar 19, 2015 · 8 revisions

Strophe can't connect

If you are using ejabberd, add the mod_http_bind to the modules object:

{modules,
    [
        {mod_http_bind, []}
    ]
}.

Restart ejabberd:

sudo ejabberdctl restart

Shipped Backends

  • och (stable)
  • xmpp (in development)

Enabling a backend

You can enable a chat backend via the admin panel of your owncloud installation or via the command line.

Via admin

backend

Via command line

Run the following command in the root of your owncloud installation to enable a chat backend:

./occ chat-backend:enable backend

Replace backend with the id of the backend you want to enable, e.g. och.

Run the following command in the root of your owncloud installation to disable a chat backend:

./occ chat-backend:disable backend

Replace backend with the id of the backend you want to enable, e.g. och.

CSP - Content Security Policy

// bosh server is at xmpp.example.com:5280/htt-bin
'custom_csp_policy' =>
        "default-src 'self' xmpp.example.com:5280/htt-bind ; script-src 'self' 'unsafe-eval'; ".
        "style-src 'self' 'unsafe-inline'; frame-src *; img-src *; ".
        "font-src 'self' data:; media-src *",

Uninstall Chat app

You'll have to remove the chat tables in your database via an OCC command:

occ chat:uninstall
```
[Documentation about OCC command](https://doc.owncloud.org/server/8.0/admin_manual/configuration_server/occ_command.html?highlight=occ)


Clone this wiki locally