I am trying to get Xwiki set up on CentOS 8 after hearing about Atlassian discontinuing the on-prem version of Confluence. I have my tomcat server set up and am now trying to deploy the war file. I am using the community version of xwiki.
Here is the errors that I am getting after deploying the war file. I have specified my xwiki data dir in my systemd service file. I know that I am missing some of the other components such as the jdbc files for mysql/postgresql/oracle/mssql. I am working on getting those and documenting this. Unless I absolutely need this to start the tomcat servlet? If I do it is no big deal. I just need t o know where to put them. Can someone please assist?
Attached is the copied text from the 500 http error.
Ok i’m getting further. I am able to deploy tomcat with ansible and almost able to do the same w/ XWiki. However I am running into an error with my ansible deploy. I am getting the following:
TASK [create the xwiki context configuration file] ****************************************************************************************************************************************************************
fatal: [10.150.10.37]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'xwiki_encryption_key' is undefined"}
I don’t see in the documentation where to set that up.
xwiki_encryption_key is a variable that needs to be defined. In the playbook I have create a encryption key? I think I saw something about this in the documentation. Similar to graylog where I generate the base64 key but don’t use it. Is this the same thing? I wish there was an easier way to install xwiki similar to confluence.