404 - Not Found. 5.3 just installed

Richard Acosta2 years ago

Hello again, I just installed 5.3 on my test server (Arm64) and got 404 Not Found error.
Log file has some statements I never found (first two) other than that, traccar is up and running, just not answering my web requests.

2022-09-18 17:34:02  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.json.JsonChangeLogParser Unable to get public no-arg constructor
2022-09-18 17:34:02  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.yaml.YamlChangeLogParser Unable to get public no-arg constructor
2022-09-18 17:34:09  INFO: Reading from rastreo.DATABASECHANGELOG
2022-09-18 17:34:11  INFO: Reading from rastreo.DATABASECHANGELOG
2022-09-18 17:34:11  INFO: Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
2022-09-18 17:34:11  INFO: Successfully released change log lock
2022-09-18 17:34:25  INFO: jetty-10.0.7; built: 2021-10-06T19:34:02.766Z; git: da8a4553af9dd84080931fa0f8c678cd2d60f3d9; jvm 11.0.12+7-post-Debian-2
2022-09-18 17:34:25  INFO: Started o.t.w.@1d2def55{/,null,AVAILABLE}
2022-09-18 17:34:25  INFO: Session workerName=node0
2022-09-18 17:34:27  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2022-09-18 17:34:30  INFO: Started o.e.j.s.ServletContextHandler@2ace1cd3{/,null,AVAILABLE}
2022-09-18 17:34:30  INFO: Started ServerConnector@2e45a357{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2022-09-18 17:34:30  INFO: Started Server@6f0a4e30{STARTING}[10.0.7,sto=0] @41969ms
2022-09-18 17:34:30  INFO: Health check enabled with period 480000
Anton Tananaev2 years ago

Logs look good. Are you sure you didn't change anything in the code or config files? Just standard default Traccar?

Richard Acosta2 years ago

Just to add more info. I read about "modern" missing folder issue, but I never used modern interface so I don't believe it's related.
Also tried with other browser/s that had never visited the page, and the same appears.
Tried also with the default xml config files, and also the same result.

Only thing I ever changed is the java call because built in one does not work on this server, so I link traccar-server.jar to already installed java bin, which have always worked fine till now.

Richard Acosta2 years ago

And also I touch nothing on server code, I know .nil. java...

Macan2 years ago

Is the firewall enabled on your server and ports sre opened?

Richard Acosta2 years ago

There's no firewall at all.
It's been working till new install.

Macan2 years ago

Try this command one by one:

apt install default-jre-headless

rm /opt/traccar/jre/bin/java

ln -s /usr/bin/java

/opt/traccar/jre/bin/java

reboot

Richard Acosta2 years ago

That's how it's been working since day 1.

Richard Acosta2 years ago

Actually traccar it is working, I see the running process when calling htop. It just seems not in the mood to answer my calls.

Richard Acosta2 years ago
Richard Acosta2 years ago

And after checking open ports, the only closed port is Traccar web's, devices ports are all open...

Anton Tananaev2 years ago

the only closed port is Traccar web's

Then how did you get the API response if the port is closed?

Richard Acosta2 years ago

Nope, my mistake, it was during a stop and restart and port was not open yet because it takes some time, it's an small arm box.

Richard Acosta2 years ago

Just read changelog for 5.3...

Web app selection - switch between modern and legacy web apps is now done in the configuration file.

What would be the sentence? I can't figure out any that may do that.

Anton Tananaev2 years ago