Last modified by Thomas Mortagne on 2024/03/12

<
From version < 156.1 >
edited by Thomas Mortagne
on 2020/01/02
To version < 157.1 >
edited by Thomas Mortagne
on 2020/01/02
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -204,6 +204,29 @@
204 204  
205 205  = Troubleshooting =
206 206  
207 +d
208 +
209 +== My wiki is empty after upgrading a Tomcat9 based package ==
210 +
211 +=== Upgrading from another Tomcat 9 based package ===
212 +
213 +This generally means that you installed a Tomcat 9 based package before one of 10.11.11, 11.3.7, 12.0-rc-1 or 11.10.3 and the data were store in a temporary location (generally /var/cache/tomcat9/Catalina/localhost/xwiki).
214 +
215 +You will need to find where was the data stored and move it to ##/var/lib/xwiki/data##.
216 +
217 +If you don't find the previous data take a look at a previous logs (in /var/log/tomcat9/) and search for "Falling back on".
218 +
219 +=== Previous from a package based on a version of Tomcat lower than 9 ===
220 +
221 +This is caused by the bug https://jira.xwiki.org/browse/XWIKI-16943 which is fixed in 10.11.11, 11.3.7, 12.0-rc-1 an 11.10.3.
222 +
223 +The workaround is to execute the following commands:
224 +
225 +* {{code language="sh"}}mkdir /etc/systemd/system/tomcat9.service.d/{{/code}}
226 +* {{code language="sh"}}echo -e "[Service]\nReadWritePaths=/var/lib/xwiki/data" > /etc/systemd/system/tomcat9.service.d/override.conf{{/code}}
227 +* {{code language="sh"}}systemctl daemon-reload{{/code}}
228 +* {{code language="sh"}}systemctl restart tomcat9.service{{/code}}
229 +
207 207  == Tomcat ==
208 208  
209 209  See [[Tomcat Installation>>platform:AdminGuide.InstallationTomcat||anchor="HTroubleshooting"]] for generic Tomcat related issues.

Get Connected