eNMS-automation / eNMS

An enterprise-grade vendor-agnostic network automation platform.
https://www.enms.io/
GNU General Public License v3.0
812 stars 162 forks source link

Initial DB credential example data population fails. (mariadb / postgresql) #389

Open jpvrenen opened 1 year ago

jpvrenen commented 1 year ago

When using postgresql the initial population with all the test/example data fails. It appears the 'credential' tabel does not get populated but is referenced in another import statement.

Tested this with the default sqlite DB and this works fine.

Seems as if the import for postgresql is not working for the 'credential' table.

jpvrenen commented 1 year ago

This also seems the case for mariadb, credential table not filled on initial loading of example data.

As a workaround: We did an export of the data using sqlite and imported this into mariadb.

haithammog commented 1 year ago

I have the same problem. I tried with MariaDB and Mysql. Both have the issue.