Dolibarr upgrade failed

NethServer Version: 7.9

I try to update dolibarr:

But on the end I am still on the beginnig:

The config looks like this:

Question: is dolibarr module intended to upgrade/update the underlying software with integrated update procedures?
Or it’s like nethserver-nextcloud, aka : “if you upgrade via nextcloud different things are not gonna work”?

The upgrade or the installation should be handled automatically, however if after an upgrade something is wrong, the dolibarr software will ask you to perform manually the upgrade through the web installer. For security reason a file is present to avoid automatic upgrade , you have to remove it first

If you can see mysql error at the login after an upgrade please go to https://IPofServer/dolibarr/install/index.php and follow the step to upgrade the database(think to remove the install.lock).

rm /usr/share/dolibarr/documents/install.lock

then after the upgrade you should verify it is still present or make it again

touch /usr/share/dolibarr/documents/install.lock

1 Like

I did all these steps but I am still in the Install/Upgrade-Loop…

sorry for the late

could you post in a gist the log you could find at /usr/share/dolibarr/rpm_logs/

could you post in a gist also what you have in the log messages during the rpm upgrade


Are the logfiles ok so far?

need to dive but I saw that your server answered an error

1 Like

cat: install_step3: No such file or directory

i think it is install_step2

you miss also the log for upgrade ???

does it is an upgrade or a first install

[root@ns7loc rpm_logs]# ll /usr/share/dolibarr/rpm_logs
total 1420
-rw-r--r-- 1 root root    2278 Dec  3 13:42 dolibarr_step5.php
-rw-r--r-- 1 root root    2705 Dec  3 13:42 dolibarr_upgrade2.php
-rw-r--r-- 1 root root  160482 Dec  3 13:42 dolibarr_upgrade.php
-rw-r--r-- 1 root root   12225 Dec  3 13:39 install_fileconf
-rw-r--r-- 1 root root    3108 Dec  3 13:39 install_step1
-rw-r--r-- 1 root root 1242791 Dec  3 13:39 install_step2
-rw-r--r-- 1 root root    2893 Dec  3 13:39 install_step4
-rw-r--r-- 1 root root   14967 Dec  3 13:39 install_step5

Upgrade, but its a while ago, I cannot remember what version it was…