@potemkin_ai In its most basic form, Openfire is installed in a directory, $OPENFIRE_HOME
. Some distributions split this out over various locations on the file system (eg: logs to /var/log
, etc).
Openfire will install plugins in $OPENFIRE_HOME/plugins/
where files will be downloaded, and folders will be extracted.
When running, Openfire will attempt to create and/or modify various other files and directories in or under $OPENFIRE_HOME
. As an example, this includes, but is not limited to:
$OPENFIRE_HOME/conf/available-plugins.xml
where update checks are cached;
$OPENFIRE_HOME/embedded-db/
where the embedded/in-memory database is persisted (this is not used when you're using an external database like MySQL or PostgreSQL);
$OPENFIRE_HOME/resources/security/
where private key and certificate stores are being maintained;
$OPENFIRE_HOME/logs
where log files are written.
Furthermore, plugins can be expected to create content anywhere under $OPENFIRE_HOME/
. A popular plugin, the Monitoring Service plugin, will, for example, create $OPENFIRE_HOME/monitoring/
to persist data that needs to survive an plugin upgrade.
In short, all of $OPENFIRE_HOME
will need to be not only readable, but also writable to the user that is running the Openfire process. Functional issues of very varied impact will otherwise be almost guaranteed to occur.