Install ojsxc (owncloud)

sokai edited this page Nov 20, 2017 · 17 revisions

:warning: JSXC assumes that you are using the same credentials for your *cloud and XMPP server.

1) Prepare system

2) Get it

http://apps.owncloud.com/
Download and extract ojsxc/ to your apps directory (e.g. /var/www/owncloud/apps/).

3) Enable it

Go to your owncloud apps page (e.g. http://localhost/owncloud/index.php/settings/apps?installed), select JavaScript XMPP Chat and click on enable.

4) Configure it

Go to the owncloud admin page:

BOSH URL

  • The URL to your bosh server (e.g. /http-bind/). Please be aware of the same-origin-policy. If your XMPP server doesn't reside on the same host as your OwnCloud, use the Apache ProxyRequest as described in our prepare Apache guide.

XMPP domain

  • The domain of your Jabber ID.

XMPP resource

  • The resource of your JID. If you leaf this field blank a random resource is generated.

TURN url

TURN username

  • If no username is set, the TURN REST API is used.

TURN credential

  • If no credential is set, the TURN REST API is used.

TURN secret

  • Secret for TURN REST API.

TURN ttl

  • Lifetime of credentials.

Internal JSXC XMPP server

OJSXC implements a minimal XMPP server, just enough such that JSXC works. It is meant as a starting point, as long as you only run JSXC on ownCloud. As soon as you require more features (external clients, server-to-server communications, …) you should install a full-fledged XMPP server (they are pretty easy to install).

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.