The problem is that you're not using an official release and you haven't updated all the required files.
strange, I installed traccar normaly (latest version) . Only thing that I changed is removing some map tiles (locationIQ Satelite and hybrid) from MapBase.js and do compile app.min.js and replace it with new one.
I will try to uninstall and install again traccar and let you know is everything ok.
Than you.
I found our that the problem is with my newly compiled app.min.js file , when I use that compiled app.min.js error came up .
I was using this tutorial to compile , is it still ok to use this tutorial: https://www.traccar.org/forums/topic/build-traccar-from-source-via-command-line-method-on-ubuntu-server-16-10/
This is outdated. With the latest code you should use npm
to compile the app.
I think the actual issue is that you are not taking the corresponding version of the web app. It seems like you're taking latest master and that's exactly what I mean by "not using an official release". Your web app version should match backend version obviously.
thank you Anton.
Well for the installation I was used this link: https://github.com/traccar/traccar/releases/download/v4.15/traccar-linux-64-4.15.zip
but when I compile app.min.js , I was used this links:
$ git clone https://github.com/tananaev/traccar.git
$ git clone https://github.com/tananaev/traccar-web.git
That's exactly the problem. You are using source code from the work-in-progress future version of Traccar, so it's not guaranteed to be compatible with 4.15 backend. You should use source code from the tag, as we clearly recommend in the documentation.
Ah sorry, I understand now. I will do like you wrote.
Thank you again !
Hello,
I just backup the database from one server and restore it to another server, everything is fine except that I can not create new users in the traccar , I get this error when I try to create an user account:
Can someone help me