Abort during initial installation
![](https://secure.gravatar.com/avatar/ea446c8d6f13c43cd232c268bbb5c386.jpg?s=120&d=mm&r=g)
I have the following problem.
On a freshly installed Debian11 system I get the following error message.
It doesn't matter whether I do the installation via script or manually.
#### ERROR ####
root@netservice:/opt/observium# ./discovery.php -u
PHP Fatal error: Uncaught mysqli_sql_exception: Table 'observium.observium_attribs' doesn't exist in /opt/observium/includes/db/mysqli.inc.php:315
Stack trace:
#0 /opt/observium/includes/db/mysqli.inc.php(315): mysqli_query()
#1 /opt/observium/includes/db.inc.php(224): dbCallQuery()
#2 /opt/observium/includes/db/mysqli.inc.php(426): dbQuery()
#3 /opt/observium/includes/common.inc.php(170): dbFetchRow()
#4 /opt/observium/includes/sql-config.inc.php(100): get_obs_attrib()
#5 /opt/observium/discovery.php(19): include('...')
#6 {main}
thrown in /opt/observium/includes/db/mysqli.inc.php on line 315
########
what am I doing wrong?
I knit according to the instructions.
![](https://secure.gravatar.com/avatar/11b54b3dd25b712395dab9818c67596f.jpg?s=120&d=mm&r=g)
I already answered you twice on irc but you’re too impatient and keep leaving before I reply.
You seem to have an odd PHP setup which is throwing a fatal when we try to check the database schema version (there is no schema at this stage so the select should fail, but it shouldn’t be fatal).
Are you using a modified PHP config, and/or a non standard PHP package?
Adam.
Sent from my iPhone
On 26 Jan 2022, at 11:43, Marco via observium observium@observium.org wrote:
I have the following problem.
On a freshly installed Debian11 system I get the following error message.
It doesn't matter whether I do the installation via script or manually.
#### ERROR #### root@netservice:/opt/observium# ./discovery.php -u PHP Fatal error: Uncaught mysqli_sql_exception: Table 'observium.observium_attribs' doesn't exist in /opt/observium/includes/db/mysqli.inc.php:315 Stack trace: #0 /opt/observium/includes/db/mysqli.inc.php(315): mysqli_query() #1 /opt/observium/includes/db.inc.php(224): dbCallQuery() #2 /opt/observium/includes/db/mysqli.inc.php(426): dbQuery() #3 /opt/observium/includes/common.inc.php(170): dbFetchRow() #4 /opt/observium/includes/sql-config.inc.php(100): get_obs_attrib() #5 /opt/observium/discovery.php(19): include('...') #6 {main} thrown in /opt/observium/includes/db/mysqli.inc.php on line 315 ########
what am I doing wrong?
I knit according to the instructions.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
marco@gallux.de