How to change the Title "traccar" to something else in the web app

Naveen7 years ago

Hi, which file should be edited to change the title text of web app? How to make this change live after making the change? Please let me know. Thanks

Anton Tananaev7 years ago

You just need to change it in release.html. It's going to be live as soon as you change it.

Naveen7 years ago

Thank you. It worked fine

luis bustos5 years ago

Where is release.html located? I dont find it.

Anton Tananaev5 years ago

I'm the web folder.

luis bustos5 years ago

Great Thanks!

anilsagar3 years ago

Changing release.html not having effect on "Traccar" title. Even after minifying the code, it still remains as Traccar. Even changed the title in debug.html and app.html but with no effect. Has there been a change in the latest releases? How can I change the Traccar" title in the main page header bar.

Anton Tananaev3 years ago

Have you cleared browser cache?

anilsagar3 years ago

Yes. Rebooted the machine also.

Anton Tananaev3 years ago

Just to confirm, you are talking about browser page title of the old web app, right?

anilsagar3 years ago

Yes browser page title but of the new (modern) web app.

Here is the app: Link name. Userid and password as admin.

Here is the release.html code:

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Envirocom</title>
<link rel="icon" sizes="192x192" href="/icon.png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="app.css">
</head>
<body>
<div id="spinner"></div>
<div id="update">Preview <a href="/modern/">modern interface</a></div>
<div id="attribution">Powered by <a href="https://www.traccar.org/">Traccar GPS Tracking System</a></div>
<script id="loadScript" src="load.js"></script>
</body>
</html>
Anton Tananaev3 years ago

Modern web app has its own HTML file. What you posted is HTML file for the old web app.

anilsagar3 years ago

I just installed this version a week back on AWS using the instruction set given here and after checking the logs, it shows version 4.12.

2021-05-06 06:54:45  INFO: Version: 4.12
2021-05-06 06:54:45  INFO: Starting server...
2021-05-06 06:54:46  INFO: jetty-9.4.36.v20210114; built: 2021-01-14T16:44:28.689Z; git: 238ec6997c7806b055319a6d11f8ae7564adc0de; jvm 11.0.8+10-LTS
anilsagar3 years ago

Here is the complete log, if it helps:

2021-05-06 17:06:24  INFO: Health check enabled with period 480000
2021-05-06 17:08:29  INFO: user: 1, action: login
2021-05-06 17:18:30  WARN: HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=1m54s658ms290µs910ns).
2021-05-06 17:24:15  INFO: HikariPool-1 - Starting...
2021-05-06 17:24:15  WARN: Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-05-06 17:24:16  INFO: HikariPool-1 - Start completed.
2021-05-06 17:24:17  INFO: Clearing database change log checksums
2021-05-06 17:24:17  INFO: Successfully acquired change log lock
2021-05-06 17:24:17  INFO: Successfully released change log lock
2021-05-06 17:24:17  INFO: Successfully acquired change log lock
2021-05-06 17:24:17  INFO: Can not use class liquibase.parser.core.yaml.YamlChangeLogParser as a Liquibase service because org.yaml.snakeyaml.constructor.BaseConstructor is not in the classpath
2021-05-06 17:24:17  INFO: Can not use class liquibase.parser.core.json.JsonChangeLogParser as a Liquibase service because org.yaml.snakeyaml.constructor.BaseConstructor is not in the classpath
2021-05-06 17:24:19  INFO: Reading from traccar.DATABASECHANGELOG
2021-05-06 17:24:20  INFO: Reading from traccar.DATABASECHANGELOG
2021-05-06 17:24:20  INFO: Successfully released change log lock
2021-05-06 17:24:20  INFO: Logging initialized @7753ms to org.eclipse.jetty.util.log.Slf4jLog
2021-05-06 17:24:21  INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
2021-05-06 17:24:22  INFO: Operating system name: Linux version: 5.4.0-1047-aws architecture: amd64
2021-05-06 17:24:22  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: ojdkbuild version: 11.0.8+10-LTS
2021-05-06 17:24:22  INFO: Memory limit heap: 237mb non-heap: 0mb
2021-05-06 17:24:22  INFO: Character encoding: UTF-8 charset: UTF-8
2021-05-06 17:24:22  INFO: Version: 4.12
2021-05-06 17:24:22  INFO: Starting server...
2021-05-06 17:24:22  INFO: jetty-9.4.36.v20210114; built: 2021-01-14T16:44:28.689Z; git: 238ec6997c7806b055319a6d11f8ae7564adc0de; jvm 11.0.8+10-LTS
2021-05-06 17:24:23  INFO: Started o.t.w.@c754401{/,null,AVAILABLE}
2021-05-06 17:24:23  INFO: DefaultSessionIdManager workerName=node0
2021-05-06 17:24:23  INFO: No SessionScavenger set, using defaults
2021-05-06 17:24:23  INFO: node0 Scavenging every 600000ms
2021-05-06 17:24:25  INFO: Started o.e.j.s.ServletContextHandler@cfc4601{/,null,AVAILABLE}
2021-05-06 17:24:25  INFO: Started ServerConnector@4ed9f7b1{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2021-05-06 17:24:25  INFO: Started @12299ms
2021-05-06 17:24:25  INFO: Health check enabled with period 480000
2021-05-06 17:25:11  INFO: user: 1, action: login
Anton Tananaev3 years ago

Logs are not needed. I already told you what the problem is.