Program setup

wlodek3 years ago

Good afternoon, Anton
Installed the latest version of Traccar on Ubuntu 20 LTS and MySQL Ver 8.0.26
I would like to transfer the entire Traccar program and MySQL database to another drive (SSD)
On installing MySQL I have set Name, username, password the same as before

https://wladsoftware.blogspot.com/p/path-to-folders-and-file.html

But after copying folders and files from the first drive to the second, the Traccar service does not start
Please tell me what else needs to be done, maybe I need to start additional processes or services or something else?
I ask for your help, thanks in advance

Anton Tananaev3 years ago

What's the error?

wlodek3 years ago

Hello, Anton
screenshot: terminal and file traccar.service
https://wladsoftware.blogspot.com/p/traccar-failed.html

wlodek3 years ago

I can send the file syslog, to you by mail
https://wladsoftware.blogspot.com/p/log.html

or how to do

Anton Tananaev3 years ago

You need to check Traccar logs.

wlodek3 years ago

Hello Anton
Have looked into Traccar logs, there are nothing (Traccar isn't launching)
/opt/traccar/logs
I'll explain what I want to do one more
I want to transfer traccar system to another disk drive:
have transferred to flashdrive (ext4)
https://wladsoftware.blogspot.com/p/path-to-folders-and-file.html

And then have transferred to another disk drive, but the Traccar isn't working.
Could you please specify the unpacking algorithm of the installation file
traccar-linux-64-4.14.zip
As I understand, it is unpacking here:
https://wladsoftware.blogspot.com/p/path-to-folders-and-file.html
Or is there any other place?

How to copy system to another disk drive?
Do I need to run anything else?
The same question applies to system backup or restore.

I ask for your help, thanks in advance

Anton Tananaev3 years ago

You have to update paths in your service file and the configuration.

wlodek3 years ago

folder path is the same

Anton Tananaev3 years ago

How did you keep it the same? Did you mount your drive to the original Traccar location?