Operations grimoire/Openfire: Difference between revisions

From Nasqueron Agora
(Created page with "Openfire is deployed. == DRP == === Database === Openfire uses a PostgreSQL database on db-A cluster. To recreate it: $ sudo -u postgres psql openfire GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO openfire; == Useful links == * https://xmpp.nasqueron.org/ * {{repo|docker-openfire}} repository * https://api.nasqueron.org/datasources/dev/openfire/changelog to get the last version")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Openfire is deployed.
Openfire is a XMPP server, hosting @nasqueron.org XMPP conversations.
 
== Architecture ==
[[File:Openfire architecture on Nasqueron Docker PaaS.png]]
 
Openfire is deployed on our PaaS Docker using our image nasqueron/openfire.
 
Data is stored on cluster A, see [[Operations grimoire/PostgreSQL]].
 
== Howto ==
=== Upgrade Openfire ===
First, upgrade the Docker image by running <code>utils/upgrade-version 4.8.0</code> in the repository:
 
    utils/upgrade-version 4.8.0
 
A build can be prepared on Dwellers, then pushed to the registry. For example, if you've the D3301 diff:
 
    docker build -t registry.nasqueron.org/openfire:D3301 .
    docker push registry.nasqueron.org/openfire:D3301
 
Pull it on the relevant Docker engine, docker-002 as of January 2024, and deploy it:
 
    docker pull localhost:5000/openfire:D3301
    docker tag localhost:5000/openfire:D3301 nasqueron/openfire
    deploy-container openfire
 
Don't forget the certificate:
 
    certbot renew 
    openfire propagate-certificate openfire xmpp.nasqueron.org


== DRP ==
== DRP ==
Line 10: Line 39:
   $ sudo -u postgres psql openfire
   $ sudo -u postgres psql openfire
   GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO openfire;
   GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO openfire;
=== Plugins ===
* Certificate Manager
* HTTP File Upload
* Monitoring Service
* Push Notification
* Search
=== Account ===
Use the last step to create a temporary account: you can't login with the plainpassword field from ofUser table when hashed encryption is enabled.


== Useful links ==
== Useful links ==

Latest revision as of 05:15, 30 January 2024

Openfire is a XMPP server, hosting @nasqueron.org XMPP conversations.

Architecture

Openfire is deployed on our PaaS Docker using our image nasqueron/openfire.

Data is stored on cluster A, see Operations grimoire/PostgreSQL.

Howto

Upgrade Openfire

First, upgrade the Docker image by running utils/upgrade-version 4.8.0 in the repository:

   utils/upgrade-version 4.8.0

A build can be prepared on Dwellers, then pushed to the registry. For example, if you've the D3301 diff:

   docker build -t registry.nasqueron.org/openfire:D3301 .
   docker push registry.nasqueron.org/openfire:D3301

Pull it on the relevant Docker engine, docker-002 as of January 2024, and deploy it:

   docker pull localhost:5000/openfire:D3301
   docker tag localhost:5000/openfire:D3301 nasqueron/openfire
   deploy-container openfire

Don't forget the certificate:

   certbot renew  
   openfire propagate-certificate openfire xmpp.nasqueron.org

DRP

Database

Openfire uses a PostgreSQL database on db-A cluster.

To recreate it:

  $ sudo -u postgres psql openfire
  GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO openfire;

Plugins

  • Certificate Manager
  • HTTP File Upload
  • Monitoring Service
  • Push Notification
  • Search

Account

Use the last step to create a temporary account: you can't login with the plainpassword field from ofUser table when hashed encryption is enabled.

Useful links