Source code installation error.

Anton Tananaev7 years ago

It's not possible for server to run without the main JAR file. You must have some old installation on Linux, that's why it works.

vdovin7 years ago

I generate some installers, so one traccar-linux-1.2.zip(README, traccar.run) and traccar-windows-1.2.zip(README, traccar-setup.exe).So first i install at linux OS, and there is tracker-server.jar.... But when i install traccar under windows when i start traccar service i get an error 1053 and in traccar folder i don't have tracker-server.jar

Anton Tananaev7 years ago

How did it generate an installer with JAR file if there was no JAR file? Anyway, you should check all the output and errors when you create installers.

vdovin7 years ago

I have checked it again. So i can send you 2 zip(linux, windows), that i generate now and if you install it for necessary platform i think you will see that traccar at linux OS works, but at windows nope...Maybe there is problem in package_windows() method??

vdovin7 years ago

So, there are structure of traccar at windows http://joxi.net/v29LOyaS3povym
at linux http://joxi.net/EA4QKbWtwpQBer

vdovin7 years ago

Sorry, you are right! Linux package also not fully

vdovin7 years ago

Anton, I compiled tracker-server.jar through Intelij idea.So when i start package.sh for windows i don't any errors.Now my setup size increased by 20 mb. But I when i installed it at windows I also got 1053 error.... But it works at linux now:) Because i before sudo ./traccan.run i made

sudo /opt/traccar/bin/uninstallDaemon.sh
sudo rm -r /opt/traccar

So i think i delete traccar fully.
Then i try to install installer from site, but i've also had a 1053 error. But i with installer from site my logs folder isn't empty, so after unsuccessful attempt to start service i got a file wrapper.log.20170210 with

WARNING|wrapper|Service traccar|17-02-10 12:21:05|YAJSW: yajsw-beta-12.07
WARNING|wrapper|Service traccar|17-02-10 12:21:05|OS   : Windows 7/6.1/amd64
WARNING|wrapper|Service traccar|17-02-10 12:21:05|JVM  : Oracle Corporation/1.8.0_121/C:\Program Files\Java\jre1.8.0_121/64
WARNING|wrapper|Service traccar|17-02-10 12:24:31|YAJSW: yajsw-beta-12.07
WARNING|wrapper|Service traccar|17-02-10 12:24:31|OS   : Windows 7/6.1/amd64
WARNING|wrapper|Service traccar|17-02-10 12:24:31|JVM  : Oracle Corporation/1.8.0_121/C:\Program Files\Java\jre1.8.0_121/64
WARNING|wrapper|Service traccar|17-02-10 12:28:06|YAJSW: yajsw-beta-12.07
WARNING|wrapper|Service traccar|17-02-10 12:28:06|OS   : Windows 7/6.1/amd64
WARNING|wrapper|Service traccar|17-02-10 12:28:06|JVM  : Oracle Corporation/1.8.0_121/C:\Program Files\Java\jre1.8.0_121/64
WARNING|wrapper|Service traccar|17-02-10 12:30:23|YAJSW: yajsw-beta-12.07
WARNING|wrapper|Service traccar|17-02-10 12:30:23|OS   : Windows 7/6.1/amd64
WARNING|wrapper|Service traccar|17-02-10 12:30:23|JVM  : Oracle Corporation/1.8.0_121/C:\Program Files\Java\jre1.8.0_121/64

I think maybe my installer works but i have some other problems with OS???

Anton Tananaev7 years ago

I'm not sure what the problem is. I don't see any errors.

By installer "from site" do you mean official Traccar release? It doesn't work?

vdovin7 years ago

Yes, i have same error... So, i decided that there is a problem at my computer

Anton Tananaev7 years ago

How much free memory do you have?

vdovin7 years ago

Disk C - 36GB, D - 270GB, Intel I3-3120M, 250GHz, 8GB Ram, Intel Graphics 4000, Windows 7 Ultimate 64bit SP1

Anton Tananaev7 years ago

Hardware is fine. It shouldn't be a problem. I can take a look if you want, but make sure you have the latest official release installed.

vdovin7 years ago

Now i have installed my installer at another computer, and my service started! But there is infinitely loading screen when i try to visit localhost:8082:)And in logs nothing special... So i will try to install installer from site

vdovin7 years ago

How can I contact with you?

Anton Tananaev7 years ago

Email address is at the bottom of the page.