Troubleshooting

In this section, you can find solutions for common issues with MetaDefender Software Supply Chain.

Running behind a proxy

If you need to deploy MetaDefender Software Supply Chain behind a proxy please consider the following:

  • *.docker.io needs to be accessible in order to download the code
  • activation.dl.opswat.com needs to be accessible in order to activate the license
  • the service unit you plan to integrate with needs to be accessible such that MetaDefender Software Supply Chain can access its APIs for different operations (e.g. file discovery, user listing, file download, file upload, file deletion, file renaming, etc.)

You will need to edit /etc/mdssc/customer.env and add the following environment variables to use a proxy server:

customer.env
Copy

If a proxy is required to access to docker hub in order to pull MDSSC images, then this guide should be followed: https://docs.docker.com/network/proxy/

The following section contain detailed instructions on how to troubleshoot or generate a support package based on your Unix operating system type.

Generating support package

In order to generate a support package you can run the next command:

Bash
Copy

For more advanced users we offer the following commands:

Bash
Copy

This will allow you to save the logs of the containers.

Bash
Copy

This will run some testes and gather info about your system.

Bash
Copy

This command will save the relevant setting from your MDSSC instance.

The archives will be created in /etc/mdssc/

In addition, we offer the option to export your database if you need to use it for migration or debugging purposes.

Installation issues

In order to troubleshoot please run LOG_LEVEL=7 [command] where command is the command that has an issue. For example, if MetaDefender Software Supply Chain cannot be started please run the following command:

Bash
Copy

Unable to remove the network

If you encounter some message regarding your network ( similar to network mdssc_stack id xxx has active endpoints ) while you tried to remove or update MDSSC, please try to restart docker:

Bash
Copy

"Permission denied" while uninstalling

On some Linux distributions that have SELinux enabled by default you may encounter a "Permission denied" message when uninstalling MDSSC. The uninstall still completes successfully and only some docker containers might still be left running if mdssc -u clean was not executed before the uninstall. This is due to SELinux policies and can be avoided by disabling SELinux temporarily before uninstalling by running:

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard