6.9.0 refuses to load legacy app

Jon Williams17 days ago

My upgrade process preserve the legacy app as my user base MUCH prefers it.

After I upgraded to V6.9.0 (from 6.8.1) the server starts OK, but the legacy app just shows a 404 error.

Have reverted back to 6.8.1 for now as it works fine.

Can you advise (without forcing the new GUI please)

Anton Tananaev16 days ago

Someone needs to investigate it to understand what the root cause is and how to solve it. It's probably not something that can be done over a forum thread, but if you are interested, we can provide professional services.

Jon Williams16 days ago

"It's probably not something that can be done over a forum thread"

Ah - A challenge! Lets see then.

404 error indicates the initial page is not found. For the legacy app this is "release.html". Looking at the new app (which still works) this is the more usual "index.html"

So there should be an easy fix then. Copy "release.html" to "index.html"

Yes that works!

Now I wonder why the jetty web server is not looking for release.html any more?

Well src/main/java/org/traccar/web/WebServer.java was certainly changed in 6.9.0, with a lot of new code added to the initWebApp function.

My guess is that the .setWelcomeFiles method (which specifies the server should look for release.html AND index.html) needs to be performed before a lot of that new code, not afterwards as it is now.

Anton Tananaev16 days ago

It might be the OverrideFileFilter.

Jon Williams15 days ago

I'll bow to your expertise.

Seems like an easy fix for 6.9.1?

Anton Tananaev15 days ago

Feel free to send a pull request and we'll include it.

Richard15 days ago

Hello everyone, I also installed the 6.9.0 update and can no longer access the web interface.
Actually, I seem to be too stupid. What exactly do I need to change and where to get the GUI to load again?

Best regards


Hallo ihr lieben, ich habe auch das 6.9.0 Update installiert und kann auch nicht mehr auf die Weboberfläche zugreifen.
tatsächlich scheine ich zu doof zu sein , was muss ich wo genau ändern, damit die GUI wieder geladen wird ?

liebe grüße

Jon Williams15 days ago

The short term workaround is to go to the directory containing the legacy web app and copy the file release.html to index.html

For example

cd /usr/local/traccar/legacy
cp release.html index.html

Then restart the traccar service and you should be OK.

Richard15 days ago

So, for anyone who's as stubborn as I am, rename the release.html in the /legacy/ folder to index.html.
Refresh your browser with F5 and, look, it works. =)


also für alle die auch ein Brett vorm Kopf haben wie ich, in dem Ordner /legacy/ die release.html umbenennen in index.html
Browser mit F5 aktualisieren und siehe da es funktioniert =)

Thanks for the help Jon, I was writing my post when you just replied =)