Web GUI: 404 - Not Found from one day to another

Felix Bühler2 years ago

Hey together,

i didn't change a single thing on my traccar docker container, and from one day to another, the web interface is not accessible. I only get a "404 - Not Found" page. I even restartet the docker container and deleted it completely, still the same error.
It works tho, i get my daily email from my tracker which goes online, but I can't access the web interface.

In my logs, after starting the container, i get this as last message:

2022-08-13 10:33:03  WARN: No systemd support - Unable to load library 'systemd':
Error loading shared library libsystemd.so: No such file or directory
Error loading shared library libsystemd.so: No such file or directory
Native library (linux-x86-64/libsystemd.so) not found in resource path (tracker-server.jar) - UnsatisfiedLinkError (... < TaskHealthCheck:49 < <gener:-1 < *:-1 < ... < ScheduleManager:42 < ...)

I don't know, if that's the reason for my problem, but I also added the line

<entry key='web.healthCheck'>false</entry>

in my conf, no success.

I'm using Traccar on my Synology DS918+ with MariaDB as my database.

Any idea, where to start digging for the problem?

Best Regards
Felix

Anton Tananaev2 years ago

What Traccar version?

Felix Bühler2 years ago

traccar-traccar-latest, according to the environment variables and logs version 5.3.

Anton Tananaev2 years ago

What URL is returning 404?

Felix Bühler2 years ago

All of them. https://traccar.mydomain.net aswell as /modern and /modern/login aswell as /foo and /bar.

It's by the way an own traccar 404 i suppose, not the default browser one or the one from my synology.

Anton Tananaev2 years ago

Version 5.3 doesn't use /modern path anymore. Make sure you clear browser cache after upgrading.

Felix Bühler2 years ago

I did clear the cache, but the normal URL doesn't work as well.

Anton Tananaev2 years ago

And you haven't changed anything in the configs from the defaults?

Felix Bühler2 years ago

Correct, no changes made. I did switch temporarely to PHP 8.0 on my Synology, but reverted to 7.4 after the error, thinking it might had something to do with that. But that didn't solve the problem.
Apart from that, no changes made.

Felix Bühler2 years ago

This is the full log after the start of the docker container.

2022-08-14 13:33:33  INFO: Stopping server...
2022-08-14 13:33:56  INFO: Operating system name: Linux version: 4.4.180+ architecture: amd64
2022-08-14 13:33:56  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Alpine version: 11.0.16+8-alpine-r0
2022-08-14 13:33:56  INFO: Memory limit heap: 494mb non-heap: 0mb
2022-08-14 13:33:56  INFO: Character encoding: UTF-8 charset: UTF-8
2022-08-14 13:33:56  INFO: Version: 5.3
2022-08-14 13:33:56  INFO: Starting server...
2022-08-14 13:33:57  INFO: HikariPool-1 - Starting...
2022-08-14 13:33:58  INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@54e81b21
2022-08-14 13:33:58  INFO: HikariPool-1 - Start completed.
2022-08-14 13:33:59  INFO: Clearing database change log checksums
2022-08-14 13:33:59  INFO: Successfully acquired change log lock
2022-08-14 13:34:00  INFO: Successfully released change log lock
2022-08-14 13:34:00  INFO: Successfully acquired change log lock
2022-08-14 13:34:00  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.json.JsonChangeLogParser Unable to get public no-arg constructor
2022-08-14 13:34:00  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.yaml.YamlChangeLogParser Unable to get public no-arg constructor
2022-08-14 13:34:03  INFO: Reading from traccar.DATABASECHANGELOG
2022-08-14 13:34:06  INFO: Reading from traccar.DATABASECHANGELOG
2022-08-14 13:34:06  INFO: Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
2022-08-14 13:34:06  INFO: Successfully released change log lock
2022-08-14 13:34:12  INFO: jetty-10.0.7; built: 2021-10-06T19:34:02.766Z; git: da8a4553af9dd84080931fa0f8c678cd2d60f3d9; jvm 11.0.16+8-alpine-r0
2022-08-14 13:34:12  INFO: Started o.t.w.@2d24cdd9{/,null,AVAILABLE}
2022-08-14 13:34:12  INFO: Session workerName=node0
2022-08-14 13:34:13  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2022-08-14 13:34:14  INFO: Started o.e.j.s.ServletContextHandler@3149409c{/,null,AVAILABLE}
2022-08-14 13:34:14  INFO: Started ServerConnector@ee96866{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2022-08-14 13:34:14  INFO: Started Server@d62472f{STARTING}[10.0.7,sto=0] @22272ms
2022-08-14 13:34:14  WARN: No systemd support - Unable to load library 'systemd':
Error loading shared library libsystemd.so: No such file or directory
Error loading shared library libsystemd.so: No such file or directory
Native library (linux-x86-64/libsystemd.so) not found in resource path (tracker-server.jar) - UnsatisfiedLinkError (... < TaskHealthCheck:49 < <gener:-1 < *:-1 < ... < ScheduleManager:42 < ...)
Anton Tananaev2 years ago

Don't have any more ideas. Do you have a public URL you can share?

Felix Bühler2 years ago
Anton Tananaev2 years ago

The API is working:

https://traccar.maalik.net/api/server

So the issue must be with the web folder.

Felix Bühler2 years ago

But shouldn't that get fixed, once the image is restarted?
Where's the web folder supposed to be in the filesystem? Under /opt/traccar?

Anton Tananaev2 years ago

It should, so I suspect you're not telling us something about your setup.