Fixing WordPress Website Asking to Install Again

There could be many reasons for getting the install screen on an existing WordPress website. If you have already confirmed your wp-config.php file is intact and your database isn’t corrupt, it might be due to an error like:

WordPress database error: [Can’t open file errno: 24)]

If this is the case, to fix this, you will need to add the following code to the mysql.conf file that defines the upstart service. It is located in /etc/init/mysql.conf. Add the following lines before the pre-start block:

# NB: Upstart scripts do not respect
# /etc/security/limits.conf, so the open-file limits
# settings need to be applied here.
limit nofile 32000 32000
limit nproc 32000 32000