diff --git a/htdocs/install/inc.php b/htdocs/install/inc.php index a2939ac48e2..561e3f363d0 100644 --- a/htdocs/install/inc.php +++ b/htdocs/install/inc.php @@ -322,7 +322,7 @@ if ($islocked) { // Pages are locked print $langs->trans("YouTryUpgradeDisabledByMissingFileUnLock").'
'; } if (!empty($dolibarr_main_url_root)) { - if (GETPOST('action') != 'upgrade') { + if (GETPOST('action') != 'upgrade' && (!file_exists($conffile) || !isset($dolibarr_main_url_root))) { print $langs->trans("ClickOnLinkOrRemoveManualy").'
'; } else { print $langs->trans("ClickOnLinkOrCreateUnlockFileManualy").'
'; diff --git a/htdocs/langs/en_US/install.lang b/htdocs/langs/en_US/install.lang index 58e57018ac3..1aa1bbbe60e 100644 --- a/htdocs/langs/en_US/install.lang +++ b/htdocs/langs/en_US/install.lang @@ -211,7 +211,7 @@ YouTryInstallDisabledByFileLock=The application tried to self-upgrade, but the i YouTryUpgradeDisabledByMissingFileUnLock=The application tried to self-upgrade, but the upgrade process is currently not allowed.
ClickHereToGoToApp=Click here to go to your application ClickOnLinkOrRemoveManualy=If an upgrade is in progress, please wait. If not, click on the following link. If you always see this same page, you must remove/rename the file install.lock in the documents directory. -ClickOnLinkOrCreateUnlockFileManualy=If an upgrade is in progress, please wait... If not, you must create a file upgrade.unlock into the Dolibarr documents directory. +ClickOnLinkOrCreateUnlockFileManualy=If an upgrade is in progress, please wait... If not, you must remove the file install.lock or create a file upgrade.unlock into the Dolibarr documents directory. Loaded=Loaded FunctionTest=Function test NodoUpgradeAfterDB=No action requested by external modules after upgrade of database