Server won't start

jamela year ago

Hey,
My server was working fine but suddenly is stop working
this is my logs :

2022-12-08 16:58:12  INFO: Operating system name: Linux version: 5.4.0-135-generic architecture: amd64
2022-12-08 16:58:15  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Eclipse Adoptium version: 17.0.4+8
2022-12-08 16:58:16  INFO: Memory limit heap: 1942mb non-heap: 0mb
2022-12-08 16:58:17  INFO: Character encoding: UTF-8 charset: UTF-8
2022-12-08 16:58:17  INFO: Version: 5.4
2022-12-08 16:58:17  INFO: Starting server...
2022-12-08 16:58:21  INFO: HikariPool-1 - Starting...
2022-12-08 16:58:34  INFO: HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@36a7abe1
2022-12-08 16:58:35  INFO: HikariPool-1 - Start completed.
2022-12-08 16:58:43  INFO: Set default schema name to public
2022-12-08 16:58:43  INFO: Clearing database change log checksums
2022-12-08 16:58:47  INFO: Waiting for changelog lock....
2022-12-08 16:58:58  INFO: Waiting for changelog lock....
...
2022-12-08 17:00:47  INFO: Waiting for changelog lock....
2022-12-08 17:00:59  INFO: Waiting for changelog lock....
Anton Tananaeva year ago

I recommend searching because this has been discussed a countless number of times.

jamela year ago

i already added the Java heap size and nothing is changing .

Anton Tananaeva year ago

It has nothing to do with Java heap size.

jamela year ago

So what is the problem?
please help !

Anton Tananaeva year ago

Your database is locked. Again, this has been discussed many many times and if you search, you will easily find the solution.

jamela year ago

Hey
i changed the locked attribute to false

update DATABASECHANGELOGLOCK set locked = false;

the server is started but i get 503 Service Unavailable in the ui

jamela year ago

the application is restarting abnormal

jamela year ago

I got this error

Dec 08 20:40:04 vps-fec626e1 systemd[1]: traccar.service: Failed with result 'watchdog'.
Anton Tananaeva year ago

What is abnormal about it? If you want some help, you should provide details.

jamela year ago

my server is restarting every 2 minutes there is this error in the log file

error - Connection refused - ConnectException (... < JsonGeocoder:126 < NotificationManager:99 < *:126 < BaseEventHandler:40 < ...)

and also this error in systemctl status

traccar.service: Failed with result 'watchdog'.
Anton Tananaeva year ago

That error in the log has nothing to do with server restarting.

jamela year ago

I got 503 Service Unavailable in the ui

Anton Tananaeva year ago

That doesn't give us any useful information about the root cause. If you don't plan to provide more details, we won't be able to help.

jamela year ago

I set web.disableHealthCheck to false and now it has been 10min without restarting