Integrity constraint violation: 1062 Duplicate entry ” for key ‘modules_code_unique’

Laraship QuestionsCategory: TechnicalIntegrity constraint violation: 1062 Duplicate entry ” for key ‘modules_code_unique’
scott asked 4 years ago
From the logs, I am getting this error after a fresh install: [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'modules_code_unique' at /var/www/html/dev/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:127 We're running php 7.2 on Ubuntu 18.04 via an AWS EC2 Instance.  The database was empty during the install.  The website threw the 500 error and the above was in the logs.  If you need more info, please ask. Thanks! Scott Kallen Kingfisherfiles.com
1 Answers
laraship Staff answered 4 years ago
Hello, I think you're trying to do fresh installation on an existing application, please try cleaning cache by running the clear cache at corals installer command