Operations grimoire/Openfire: Difference between revisions

From Nasqueron Agora
(Plugins)
No edit summary
 
(2 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 ==

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