Update from 2.3.1 to 2.4.0 with Postgresql
See original GitHub issueAfter updating to version 2.4.0 from 2.3.1 thingsboard, using debian package doesn’t find my devices.
I’m using PostgreSQL.
cat /var/log/thingsboard/thingsboard.log | grep ERROR
2019-07-23 05:30:52,089 [nioEventLoopGroup-6-8] ERROR o.t.s.t.mqtt.MqttTransportHandler - [e1d3825a-288b-4be1-ac7f-4332c493f869] Unexpected Exception 2019-07-23 07:14:30,003 [pool-33-thread-1] ERROR o.h.e.jdbc.spi.SqlExceptionHelper - ERROR: column deviceenti0_.label does not exist 2019-07-23 07:14:33,064 [pool-7-thread-1] ERROR o.h.e.jdbc.spi.SqlExceptionHelper - ERROR: column deviceenti0_.label does not exist Caused by: org.postgresql.util.PSQLException: ERROR: column deviceenti0_.label does not exist 2019-07-23 07:14:33,548 [pool-7-thread-2] ERROR o.h.e.jdbc.spi.SqlExceptionHelper - ERROR: column deviceenti0_.label does not exist Caused by: org.postgresql.util.PSQLException: ERROR: column deviceenti0_.label does not exist 2019-07-23 07:14:34,715 [pool-7-thread-3] ERROR o.h.e.jdbc.spi.SqlExceptionHelper - ERROR: column deviceenti0_.label does not exist Caused by: org.postgresql.util.PSQLException: ERROR: column deviceenti0_.label does not exist 2019-07-23 07:14:35,186 [pool-7-thread-4] ERROR o.h.e.jdbc.spi.SqlExceptionHelper - ERROR: column deviceenti0_.label does not exist Caused by: org.postgresql.util.PSQLException: ERROR: column deviceenti0_.label does not exist 2019-07-23 07:14:36,376 [pool-7-thread-5] ERROR o.h.e.jdbc.spi.SqlExceptionHelper - ERROR: column deviceenti0_.label does not exist Caused by: org.postgresql.util.PSQLException: ERROR: column deviceenti0_.label does not exist 2019-07-23 07:14:36,822 [pool-7-thread-6] ERROR o.h.e.jdbc.spi.SqlExceptionHelper - ERROR: column deviceenti0_.label does not exist Caused by: org.postgresql.util.PSQLException: ERROR: column deviceenti0_.label does not exist …
service thingsboard status
- thingsboard.service - thingsboard Loaded: loaded (/lib/systemd/system/thingsboard.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2019-07-23 07:25:28 UTC; 4s ago Main PID: 29848 (thingsboard.jar) Tasks: 19 (limit: 4915) CGroup: /system.slice/thingsboard.service |-29848 /bin/bash /usr/share/thingsboard/bin/thingsboard.jar `-29863 /usr/bin/java -Dsun.misc.URLClassPath.disableJarChecking=true -Dplatform=deb -Dinstall.data_dir=/usr/share/thingsboard/d
Jul 23 07:25:28 cooxyVPS systemd[1]: thingsboard.service: Failed to reset devices.list: Operation not permitted Jul 23 07:25:28 cooxyVPS systemd[1]: thingsboard.service: Failed to set invocation ID on control group /system.slice/thingsboard.service, i Jul 23 07:25:28 cooxyVPS systemd[1]: Started thingsboard. Jul 23 07:25:30 cooxyVPS thingsboard.jar[29848]: =================================================== Jul 23 07:25:30 cooxyVPS thingsboard.jar[29848]: :: ThingsBoard :: (v2.4.0) Jul 23 07:25:30 cooxyVPS thingsboard.jar[29848]: =================================================== root@cooxyVPS:/etc/thingsboard/conf# service thingsboard status
- thingsboard.service - thingsboard Loaded: loaded (/lib/systemd/system/thingsboard.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2019-07-23 07:25:28 UTC; 36s ago Main PID: 29848 (thingsboard.jar) Tasks: 100 (limit: 4915) CGroup: /system.slice/thingsboard.service |-29848 /bin/bash /usr/share/thingsboard/bin/thingsboard.jar `-29863 /usr/bin/java -Dsun.misc.URLClassPath.disableJarChecking=true -Dplatform=deb -Dinstall.data_dir=/usr/share/thingsboard/d
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Sorry, I forgot this step …
Did you run the upgrade-script?