Error: unable to execute 'x86_64-linux-gnu-gcc': No such file or directory

This happens when using the MAYAN_APT_INSTALLS feature. It means that the GCC package is required to compile the packages specified with MAYAN_APT_INSTALLS.

Solution: Include gcc in the list of packages specified with MAYAN_APT_INSTALLS.

The system fails to start or some features are not working

Execute the checkdependencies command to verify that all the dependencies needed for a production installation are present and accessible to the system.

MAYAN_MEDIA_ROOT=<your Mayan media root setting> /<installation directory> checkdependencies

If installed using the Direct deployment method, this would be:

MAYAN_MEDIA_ROOT=/opt/mayan-edms/media /opt/mayan-edms/bin/ checkdependencies

The Docker image includes all dependencies and this process is not required.