Closed jdeluyck closed 3 years ago
I can't reproduce this problem. I can add multiple devices and I see multiple rows in the devices
table.
MariaDB [observium]> select device_id from devices;
+-----------+
| device_id |
+-----------+
| 1 |
| 2 |
+-----------+
2 rows in set (0.000 sec)
MariaDB [observium]> describe devices device_id;
+-----------+---------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------+------+-----+---------+----------------+
| device_id | int(11) | NO | PRI | NULL | auto_increment |
+-----------+---------+------+-----+---------+----------------+
1 row in set (0.000 sec)
Just installed the https://hub.docker.com/r/uberchuckie/observium container.
Observium started, but I could only add one device. After some digging i found out the db was missing auto_increment on the device_id column.
fixed it. Perhaps something to take along?