We have an Openfire install version 3.10 and want to move to 4.0.1 on a new server. Can you tell me what I need to carry over from the old install besides the embedded database? We have 35 users.
/resources/security (if using SSL\TLS)
is there a migration utility that we could use to migrate from the embedded utility to something else such as mysql?
Well, there is User Import/Export plugin, but it doesn’t always work correctly. Especially between different versions of Openfire and the plugin hasn’t been updated for ages. So, with only 35 users you might just continue using the embedded one or create users from scratch.
Wroot, I have made a copy of the VM we have Openfire on and have updated the version from 3.10 to 4.0.2. I can login to the admin panel but none of my users can login or when they do Spark says that nobody else is online and there are no open sessions on the server via the admin console. I looked through the logs but didn’t see anything noticeable. Do you have any thoughts?
I think I recall something discussed yesterday about this. If i recall it maybe a bug/issue regarding openjdk or java 7. Can you please check to see what your using for java, and if its openjdk or java 7, please try upgrading to 8.
I have updated to Java 8 and still the same thing. Here is the output from the console verifying the java version.
openjdk version “1.8.0_72-internal”
OpenJDK Runtime Environment (build 1.8.0_72-internal-b15)
OpenJDK 64-Bit Server VM (build 25.72-b15, mixed mode)
You need to check the Openfire admin console and verify the java version there.
Daryl, thanks for pointing that out. Looking in the console it is still using the old version of java, how do I go about telling Openfire to use the new version of Java?
1.7.0_95 Oracle Corporation – OpenJDK 64-Bit Server VM
Edit JAVA_HOME in /etc/default/openfire
And what route put JAVA_HOME?
@wroot Good afternoon.
When I try to install 4.0.2 on Ubuntu 16.04 openfire look what throws me the installation.
I clarified already installed openjdk-8-jdk and openjdk-8-jre
root @ jabber: / home / jabber # dpkg -i openfire_4.0.2_all.deb
dpkg: about openfire_4.0.2_all.deb containing openfire, predependencia problem:
openfire predepende of openjdk-7-jre-headless | openjdk-7-jre | oracle-Java7-jre
openjdk-7-jre-headless is not installed.
openjdk-7-jre is not installed.
oracle-Java7-jre is not installed.
dpkg: error processing the file openfire_4.0.2_all.deb (–install):
predependencia problem - not installed openfire
Errors were encountered while processing:
root @ jabber: / home / jabber # java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4 ~ 16.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
To install 4.0.2 on Debian you have to have Java 7 installed. To run 4.0.2 on Debian you have to have Java 8 installed. This situation should be resolved in 4.0.3 (no requirement to have Java 7 to install). So either do that in this order or use 4.0.1 for now. Ignite Realtime: Download Landing