-
Notifications
You must be signed in to change notification settings - Fork 145
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
STATUS and Address problem #439
Comments
Hello, For addresse NOT display.... |
About the status problem after updating to traccar 3.3 I got the same error. After fiddling with the traccar.xml I think maybe the query in the updateDeviceStatus entry should change. I am talking about this one:
For the meantime I have commented it, but I still get a relevant warning message in the log files:
Edit: I am using traccer web 0.10.3 |
This query is not yet supported, i.e. there are no |
i use the last Android client and last server version and i see no location of all my devices ... |
Do we have info about the 'status' column? Could we just add the field to the table...? It's annoying to have error messages in the log every couple of seconds. It does not help to find other errors and clogs the server available space (I'm on a EC2 server, with limited disk space). |
@peptoni you can either add column of following type: <column name="status" type="VARCHAR(128)" /> Or just comment out the <!-- entry key='database.updateDeviceStatus'>
UPDATE devices SET status = :status, lastUpdate = :lastUpdate WHERE id = :id;
</entry --> In future I think it's worth to have such column in the web UI mod. |
Thank you. I also had to add column "lastUpdate" as TIMESTAMP. Now all errors have gone. |
Shit... lastUpdate initializes as not null... And I get this error: |
Ok. I solved doing this: Now it's working. |
So, the complete thing goes here: msql -u USER -pPASSWORD |
Hello, my traccar show me this error on tracker log.
2015-12-31 01:44:25 WARN: Unknown column 'status' in 'field list' - MySQLSyntaxErrorException (... < QueryBuilder:431 < DataManager:256 < ConnectionManager:110 < ...)
and my devices don't show the address.
Traccar version: 3.3
Thanks
The text was updated successfully, but these errors were encountered: