Misleading ERROR logged to Linux systemd 'journalctl -xe' output on openfire startup

Dec 02 16:27:28 upgrade-test.localdomain openfire[6631]: Starting openfire:
Dec 02 16:27:29 upgrade-test.localdomain postgres[6698]: [8-1] 2022-12-02 21:27:29.627 GMT [6698] ERROR:  relation "jiveversion" does not exist at character 8
Dec 02 16:27:29 upgrade-test.localdomain postgres[6698]: [8-2] 2022-12-02 21:27:29.627 GMT [6698] STATEMENT:  UPDATE jiveVersion SET name='openfire' WHERE name='wildfire'

this ‘ERROR’ is caused by some legacy code in ‘xmppserver/src/main/java/org/jivesoftware/database/SchemaManager.java’ which tries to change the product name from ‘wildfire’ to ‘openfire’.

This function just blindly updates the value without checking that the value is currently set to ‘wildfire’ or not, let alone not checking that the ‘jiveversion’ table even exists. I believe at this point in time, the whole function and the call in ‘CheckOpenfireSchema’ can be removed.

Thanks for reporting this. I’ve created a ticket for this in our issue tracker: [OF-2558] - Ignite Realtime Jira