Closed jot4p closed 1 year ago
hi @jot4p!
Based on the provided info I suppose you followed the next guide: https://thingsboard.io/docs/mqtt-broker/install/docker/ Please correct me if I am wrong.
Based on the following error: "Caused by: org.postgresql.util.PSQLException: ERROR: relation "admin_settings" does not exist" it seems the database was not successfully installed.
could you pls let me know if the next command: docker compose run --no-deps --rm -e INSTALL_TB=true tb-mqtt-broker was executed successfully.
You should have seen the following lines for successful installation:
YOUR_DATE_TIME [main] INFO o.t.m.b.i.ThingsboardMqttBrokerInstallService - Loading system data... YOUR_DATE_TIME [main] INFO o.t.m.b.i.ThingsboardMqttBrokerInstallService - Installation finished successfully!
Additionally, I could suggest logging in to the Postgres container, connecting to DB and check what tables are present there.
The above screenshot shows that there are no tables created thus the installation was not successful.
Hi,
After remake the command: docker compose pull and docker compose up -d postgres ...
Everything work fine!!
Maybe I execute "sudo docker compose up -d postgres" before...
Hi, Can you help ?
Best Regards.