# Troubleshooting

If you are encountering some issues, first the best is to check the server and application logs. e.q /var/log/apache2/error.log and storage/logs/laravel-error.log

Also, it's recommended while debugging an issue, to set debug mode in the .env file, APP_DEBUG=true

  • 404 Not Found Error when accessing https://crm.yourdomain.com/install

    Make sure that your subdomain ROOT Document points to /path/to/concord/public folder and not /path/to/concord folder.

  • I cannot see a folder named install

    The URL /install is a Laravel route and not a folder. You will be redirected to /install if the application detects that the app needs to be installed.

  • Getting error message “Database connection/migration failed” all database credentials are correct.

    Check that your database user has enough privileges to perform database actions, Concord CRM database should be empty or your password contains a #(Hash).

  • My cron job is not running and i get an error ErrorException with message Invalid argument supplied for foreach() in /home/project/vendor/symfony/console/Input/ArgvInput.php

    This error indicates the register_argc_argv option is not enabled.

    Try one of the following commands:

    php -d register_argc_argv=1 /path/to/concord/artisan schedule:run >/dev/null
    
    php -d register_argc_argv=1 /path/to/concord/artisan schedule:run > '/dev/null' 2>&1 &
    

Make sure to replace /path/to/concord/ with the path to your installation. On some shared hostings you may need to specify full path to the PHP executable (for example, /usr/local/bin/php-7.4 instead of php)