Dolibarr Install keeps calling the installer

NethServer Version: 7.9.2009
Module: Dolibarr

@stephdl

Salut Stéphane

I’ve installed your Dolibarr module and the installation went without any errors.
After going to the page: http://192.168.31.20/dolibarr
all I get is an error message like you listed, with removing an install_lock file.

This keeps repeating, I cannot get out of the circle. Any ideas or tips?

Thanks
Andy

Salut Andy,

Are you talking about the file documents/install.lock in read only mode ?

Michel-André

Yes, I’ve tried a few things, but it keeps going there…

I’ve created a FQDN, but that doesn’t change anything.

I have done this install on 2 other servers, no issues, so I’m a bit stumped at the moment.
This is my home NethServer…

This file must not be empty and in 444.

Michel-André

The second time round the file is not empty (Contains a few config lines) and is 444…

But still no change…

I have a note in my doc:

It is strongly recommended to use the domain name otherwise, later, if you use a domain name, you will then have to modify the htdocs/conf/conf.php file and change the IP address everywhere for the domain name.

Michel-André

Even with a domain name, it still won’t allow me past the documents/install.lock error message.
Even if i click thru the installer, it lands in nowhere (The URL contains just the domain, no host part, and a path which doesn’t exist on the server as such…). :frowning:

This is the URL (end part, after the domain:

/admin/index.php?mainmenu=home&leftmenu=setup

Andy

Please describe what you did, is it an upgrade, a fresh installation

@stephdl

Salut Stéphane

This is a server running now about two years, updated to 7.9.2009 a week ago. No issues so far.

As I would like to change my ERP by end of the year, and I did a test installation a couple of months ago on a test NethServer installation (all worked), I thought I’ll just install this Dolibarr module on my server at home…

My home NethServer is running AD, Files, Nextcloud, MeshCentral, DocuWiki. It is NOT firewall, only one NIC.

Dolibarr as such is a fresh install.
Due to the problems, I removed Dolibarr, checked folders, and reinstalled.
The exact same restults.

I have a FQDN for Dolibarr, https://dolibarr.r7.anwi.ch, but this get’s the same results.

I land on a page with half german, half english error message:

Die Anwendung hat versucht, sich selbst zu aktualisieren, aber die Installations-/Upgrade-Seiten wurden aus Sicherheitsgründen deaktiviert (durch die Existenz einer Sperrdatei **install.lock** im Dokumenten-Verzeichnis).
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.
[Hier klicken um zu Ihrer Anwendung zu kommen](https://dolibarr.r7.anwi.ch/admin/index.php?mainmenu=home&leftmenu=setup) 

If it helps, I can provide logs… (Just a hint which ones…)

Andy

All looks ok…

Content of install.lock:

This is a lock file to prevent use of install pages (set with permission 444)

● My file contain just one line of text only.

● In /etc/httpd/conf/httpd.conf, you have:

<Directory "/var/www/html">
...
AllowOverride All
...
</Directory>

● Everything is apache:apache.

● Also, you created dolibarr/documents ?

dolibarr/documents/dolibarr.log have the write permissions ?

Michel-André

Sry, now the file only contains one line:

This is a lock file to prevent use of install pages (set with permission 444)

The folder dolibarr/documents is where the install.loch file is, so the folder is obviously there… :slight_smile:

/htdocs/conf/conf.php have write permission ?

The file is full of “plausible” config and paths…
Yes, owner is apache, it has read/write permissions

From the above screen capture it looks like it is an update, not a new installation ?

I know, but as Dolibarr is not on my server, I don’t know further… :frowning:

On the page itself, top left, it does say Installation OR Update…

Another note I have when updating:

To be able to run the update, you must delete the install.lock file otherwise, it will not be possible to proceed with it.

Michel-André

I can’t “proceed” with or without the lock.

proceed means actually moving forwards, and I’m moving in circles! :slight_smile:

The last line: Installation is grey ?

I clicked on it and it proceed !

Did you mean THIS line?

The very last line, the grey Start