Dolibarr redirecting to install/index.php

All of a sudden, my Dolibarr 12.0.4 instance is acting weired. It is redirecting to install/index.php automatically no matter which URL I try to go to.
What could be the problem?

Hi,

Dolibarr do that if it detects that the database version doesn’t match the program version.

1 Like

But I was using the same and there were no changes made. How can I diagnose this?

Hi guy!
Maybe you should check the file “install.lock” in: “\documents” is exists. Full path: dolibarr\documents\install.lock.
Regards.

1 Like

Hi,

Could you print screen the install/index.php page ?

You should have something like :
Last update version: 12.0.4 - Software version: 12.0.4

The last update version is the value of the MAIN_VERSION_LAST_UPGRADE constant on the llx_const table
And the Software version is written on a PHP file.

If you have a mismatch, Dolibarr is requesting you to do the upgrade.

1 Like

It’s the first thing I checked. It’s there.

Hi,

Most probable root cause is that conf.php is not readable (User Rights ?) or do not exist

1 Like

It exists and permission is also granted. I restored the instance to a previous backup and is working now.