Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after reciving tracker data in traccar.log #527

Closed
thogo1977 opened this issue Feb 17, 2016 · 8 comments
Closed

Error after reciving tracker data in traccar.log #527

thogo1977 opened this issue Feb 17, 2016 · 8 comments

Comments

@thogo1977
Copy link

Hello,
after i maked a new install with drop database i get following warning. What does it means?

Thanks a lot

Thomas

2016-02-17 16:31:56 INFO: [XXXX] connected
2016-02-17 16:31:56 DEBUG: [XXXX: 55002 < IP-Adress] HEX:
2016-02-17 16:31:56 WARN: Column "STATUS" not found; SQL statement:
UPDATE devices SET status = ?, lastUpdate = ? WHERE id = ?; [42122-190] - JdbcSQLException (... < QueryBuilder:61 < *:131 < DataManager:254 < ConnectionManager:110 < ...)

@gsiotas
Copy link
Contributor

gsiotas commented Feb 17, 2016

Check: #524 (comment)

@thogo1977
Copy link
Author

hello.
thanks for fast answer.

First I stopt traccar
sudo /opt/traccar/bin/traccar stop

in traccar.xml i comment out the changelog

then i DROP TABLE positions; in my h2 database

then traccar start new.

The table positions will rebulied fine but i get same error.

Have you some idears?

Thanks Thomas

@gsiotas
Copy link
Contributor

gsiotas commented Feb 17, 2016

The problem is with the 'devices' table. I suggest dropping all tables, before restarting traccar

@thogo1977
Copy link
Author

sorry. i stop traccar thei droped the full database and restart it. but the same. Sorry. then i removed traccar complete restart my pi and installed it new. the same error. What is my mistake? Thanks Thomas

@gsiotas
Copy link
Contributor

gsiotas commented Feb 17, 2016

OK sorry I didn't get it at your first post, but this warning is know. You can find more info here: #439

You can comment it or leave it as it is. Traccar-web should work fine.

@thogo1977
Copy link
Author

ok when you comment out

UPDATE devices SET status = :status, lastUpdate = :lastUpdate WHERE id = :id; it

out you get this

info: 2016-02-17 19:14:17 INFO: Query not provided: database.updateDeviceStatus

Is it right? I think traccar works fine.

Thanks for helping

Thomas

@gsiotas
Copy link
Contributor

gsiotas commented Feb 17, 2016

Yeap this is right for now.

@thogo1977
Copy link
Author

many thanks and good night

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants