Symptoms
After installing or upgrading to Acronis Cyber Files 7.2.x and newer, LibreOffice will also be installed. If you uninstall LibreOffice, the Acronis Access Tomcat service will become unreachable at the next startup and you will not be able to open the web interface.
Cause
Web Previewing of files is a new feature introduced in version 7.2 of Acronis Cyber Files which requires LibreOffice to render the previews. This means that LibreOffice will always be installed with recent versions of Acronis Cyber Files.
Solution
You will have to manually download LibreOffice and install it.
- Download and run the stand-alone LibreOffice installer from the official site - https://www.libreoffice.org/download/.
- In the Welcome screen press Next.
- Select Custom and press Next.
- Leave the settings as they are, but pay special attention to the installation directory. It must be in a specific location in order for Tomcat to use it.
Note: You can find this location by navigating to your Acronis Access Installation directory and finding your Tomcat's configuration folder (by default C:\Program Files (x86)\Acronis\Access\Common\apache-tomcat-7.0.59\conf). Once there, open server.xml and find the following line:
- <Context path="/AccessPreviewServlet" docBase="C:\Program Files (x86)\Acronis\Access\Access Server\AccessPreviewServlet">
<Loader className="org.apache.catalina.loader.VirtualWebappLoader" virtualClasspath="C:\Program Files\LibreOffice 5\program\classes*.jar"/></Context>
- The bolded and underlined part is how the folder structure should look. In this case, you should install LibreOffice to C:\Program Files\LibreOffice 5\.
- Once you have found and selected the proper directory, press Next.
- Do not select any file associations unless you specifically want them. Press Next.
- Disable LibreOffice from starting automatically, un-check "Create a start link on desktop" and press Install.
- Once the installation finishes, open Control Panel -> Administrative tools -> Services and restart the Acronis Access Tomcat Service. Your Acronis Access web interface should now be reachable.
More information
If you need to uninstall LibreOffice, follow the steps below:
Note: Web Previewing feature will not work without LibreOffice.
- Disable web preview support via the Access administration page. See this article for more information http://www.acronis.com/en-us/support/documentation/AcronisAccessAdvanced/index.html#35052.html.
- Shut down the Acronis Access Tomcat service. You can do this from Control Panel -> Administrative tools -> Services.
- Uninstall LibreOffice.
- Navigate to your Acronis Access Installation directory and finding your Tomcat's configuration folder (by default C:\Program Files (x86)\Acronis\Access\Common\apache-tomcat-7.0.59\conf).
- Make a backup copy of your server.xml.
- Open the original server.xml with a text editing software and comment-out the following:
- Note: Commenting is done by wrapping the desired text in <!—and -->. (e.g. <!— This is a comment -->)
<!— <Context path="/AccessPreviewServlet" docBase="C:\Program Files (x86)\Acronis\Access\Access Server\AccessPreviewServlet"><Loader className="org.apache.catalina.loader.VirtualWebappLoader" virtualClasspath="C:\Program Files\LibreOffice 5\program\classes*.jar"/></Context> -->
- Note: Make sure the </Host> is NOT commented out.
- Save any changes made to server.xml.
- Start the Acronis Access Tomcat service.