Syncplicity Support

Follow

Verify and manage WOPI Connector

The following are the 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>/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>/ping;echo

    If the service is accessible, the following message appears:
    pong

  3. Check the WOPI Connector logs. The connector writes log messages to a log file stored in /var/log/syncp-wopi/. 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:
    # tail –f /var/log/syncp-wopi/wopi-2017-06-22.log

The following are 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>/status

  • Check the version of the WOPI Connector by entering the following URL in a browser:
    http://<hostname_or_IP_address_of_wopi_connector_server>/version

    This feature is disabled by default. See Enabling Storage Connector support for the Version API call for details about enabling or disabling.

  • 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