Thanks I have seen this already .. Just looking for the SSH commands ?
Look this https://www.bysmax.com/traccar/traccar/como-actualizar-traccar-a-la-version-mas-reciente-en-digital-ocean, is in spanish, but, have the commands
Stop and uninstall the Traccar service:
service traccar stop && sudo rm /etc/systemd/system/traccar.service
Download and install the latest version of Traccar:
rm traccar-linux* && wget https://www.traccar.org/download/traccar-linux-64-latest.zip
unzip traccar-linux-*.zip && ./traccar.run
Replace the traccar.xml
configuration file (if you have modified it before):
cat > /opt/traccar/conf/traccar.xml << EOF
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key="config.default">./conf/default.xml</entry>
<entry key='database.driver'>com.mysql.jdbc.Driver</entry>
<entry key='database.url'>jdbc:mysql://localhost/traccar?zeroDateTimeBehavior=round&serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
<entry key='database.user'>root</entry>
<entry key='database.password'>root</entry>
</properties>
EOF
Start the Traccar service:
service traccar start
Update the custom frontend (if applicable):
Replace the custom files in the modern
folder.
If the web interface does not display after accessing Traccar, try restarting the service:
service traccar stop && service traccar start
Hi all,
Does anyone have step by step commands to update.
Thanks