Linux

Where Does Tigase Store Config and Data?

Tigase keeps server config in etc under its install home with data in external databases, and logs beside them. Docker mounts the same four folders.

Last updated

Tigase anchors everything to its install home rather than system paths. Config, certs, logs and data branch from there, with the main TOML-style DSL file joined by JVM startup config and logging controls. External databases plug in through datasource URIs.

Docker mirrors the same four folders as mounts, which keeps the mental model intact across deployments. Logs rotate in place with console and statistics companions. Old XML config names belong to retired generations and stay out of new setups.

Where Tigase stores this, by platform

Linux
/opt/tigase/etc/config.tdsl

Main server DSL plus JVM startup, logging and access files, all relative to the install home rather than /etc. Supersedes retired XML config names. Data reaches external databases through datasource URIs with Derby as the embedded option.

Linux
/opt/tigase/logs

Rotating server logs with console and statistics companions under the install home. Custom destinations configure through the main DSL. Docker maps this folder alongside etc, certs and data.

Frequently asked questions

Which Tigase config file do I edit?

Edit etc/config.tdsl under the install home for server behavior, with etc/tigase.conf covering JVM startup. The older XML and properties files are superseded, so new installs should never reference them. Restart through the provided start script with the conf path.

How do I persist Tigase in Docker?

Mount the install etc, certs, logs and data folders into the official image at their container paths. The hub readme shows host etc mapped over container etc as the pattern. External databases connect through datasource URIs in the main config.

Where are Tigase logs?

Read logs/tigase.log with its numbered rotations plus the console log and statistics files beside them. Rotation and custom destinations configure through the main config, including system log directories when packaged that way.

Notice an outdated path? Let us know.