Adding new user gives error and Password cannot be changed for admin account

Obaid Khan7 years ago

I recently upgraded traccar to 3.15. When I add a new user I get the following error

Unrecognized field "distanceUnit" (class org.traccar.model.User), not marked as ignorable (22 known properties: "readonly", "limitCommands", "deviceLimit", "login", "name", "latitude", "phone", "admin", "userLimit", "zoom", "twelveHourFormat", "attributes", "deviceReadonly", "token", "id", "email", "longitude", "password", "map", "coordinateFormat", "disabled", "expirationTime"])
 at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@18d61f7d; line: 1, column: 118] (through reference chain: org.traccar.model.User["distanceUnit"])

I even tried to remove the database files. The database files are auto created when I start the traccar service but the error does not goes away.
When I change the password for the admin account, I did not get any error but the password won't change.

Any help would be much appreciated.

Anton Tananaev7 years ago

It means that you are not using compatible version of web app and back-end, which in turn means that you either not using official release or you haven't upgraded it properly.