Syncplicity Support

Follow

Verify and manage WOPI Connector

Steps to verify the WOPI Connector service

  1. On each WOPI Connector server, type the following command to confirm whether it is running correctly:
    sudo systemctl status syncp-wopi
    If the service is running correctly the output contains active (running) state of Active property.
  2. For each WOPI Connector server, type the following URL in a browser to confirm whether the connector service is accessible:
    http://<hostname_or_IP_address_of_wopi_connector_server>:9000/ping
    If the service is accessible, the following message appears in the browser:
    pong
    If you are unable to access the service using a browser, on each WOPI Connector server type the following command:
    curl http://<wopi_connector_host_or_IP>:9000/ping
    If the service is accessible, the following message appears:
    pong
  3. Check the WOPI Connector logs. By default, the connector writes log messages to /var/log/syncp-wopi/wopi-yyyy-mm-dd.log. You can view or change the log location path and/or filename pattern. For details, see Customizing the name of the log file in Configuring WOPI Connector. A common way to view activity of the WOPI Connector, or to troubleshoot an issue, is to observe the log in a second terminal window while executing some actions on the WOPI Connector.
    To do this, type the following command (replace the example log file name with your log file name):
    sudo tail -f /var/log/syncp-wopi/wopi-2019-04-09.log

Basic commands to manage the WOPI Connector

Start the syncp-wopi service

sudo systemctl start syncp-wopi

Stop the syncp-wopi service

sudo systemctl stop syncp-wopi

Restart the syncp-wopi service

sudo systemctl restart syncp-wopi

Check the status of the syncp-wopi service

sudo systemctl status syncp-wopi
Alternatively, you can do this from a browser by entering the following URL:
http://<hostname_or_IP_address_of_wopi_connector_server>:9000/status

Check the version of the WOPI Connector

You can check the version of the WOPI Connector by entering the following URL in a browser:

http://<hostname_or_IP_address_of_wopi_connector_server>:9000/version
This feature is disabled by default. See Enabling Storage Connector support for the Version API call for details about enabling or disabling this feature.

View the WOPI Connector log file

sudo tail -f /var/log/syncp-wopi/<filename>

Read or edit the WOPI Connector configuration files

sudo vi /etc/syncp-wopi/syncp-wopi.conf
sudo vi /etc/syncp-wopi/logger.xml

Powered by Zendesk