LibreNMS web installer step shows login instead of the installer - Ubuntu 18.04 with Apache

Hi Guys,

I’m trying to install LibreNMS on Ubuntu 18.04 with Apache following the document :
https://docs.librenms.org/Installation/Installation-Ubuntu-1804-Apache/

I reached the Web Install step :

http://MY.SRVER.IP/install.php

However instead of the installation process (which I have gone through in previous installation of LibreNMS) , i’m being redirected to /login with LibreNMS login page.

validation is below:

====================================

Component Version
LibreNMS 1.53.1-49-gad044f478
DB Schema 2019_05_30_225937_device_groups_rewrite (135)
PHP 7.2.19-0ubuntu0.18.04.1
MySQL 10.1.40-MariaDB-0ubuntu0.18.04.1
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

====================================

[OK] Composer Version: 1.8.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] You have not added any devices yet.
[FIX]:
You can add a device in the webui or with ./addhost.php
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
bootstrap/cache/.gitignore
logs/.gitignore
rrd/.gitignore
storage/app/.gitignore
storage/app/public/.gitignore
storage/debugbar/.gitignore
storage/framework/cache/.gitignore
storage/framework/cache/data/.gitignore
storage/framework/sessions/.gitignore
storage/framework/testing/.gitignore
storage/framework/views/.gitignore
storage/logs/.gitignore

Any idea why is that please ?
I tried to login with different user/password combinations, none of course works, since LibreNMS is not fully installed yet.

Kindly advise

Ok I found the issue:

I have already copied config.php.default to config.php before I run the web installer.
Examining the install.php script, I found:

// Before we do anything, if we see config.php, redirect back to the homepage.

I am not a php programmer, but the line above was self explanatory.
So I deleted the file config.php , and now I can see the web installer.