Traccar: Fix “The write format 1 is smaller than the supported format 2”

systemctl stop traccar
mkdir /opt/FIXH2
cd /opt/FIXH2
mv h2 ./h2.2019
mv h2 ./h2.2022
find ./ -name "*.jar"
cp -p /opt/traccar.4.13/data/ /opt/FIXH2
java -cp ./h2.2019/bin/h2-1.4.200.jar -url jdbc:h2:./database -user sa -script -options compression zip
java -cp ./h2.2022/bin/h2-2.0.206.jar -url jdbc:h2:./database_new -user sa -script -options compression zip
cp ./ /opt/traccar/data/
systemctl start traccar

HOWTO extract Nginx logs for the past hour/s

Here’s a quick and handy “awk” snippet to extract data from Nginx’s access or error log file for the past hour/s.

# awk -v d1="$(date --date '-60 min' '+%d/%b/%Y:%T')" '{gsub(/^[\[\t]+/, "", $4);}; $4 > d1' /var/log/nginx/access.log

This example shows how to extract data from /var/log/nginx/access.log for the past 60 minutes – ‘-60 min’.

Enable “Subject:” logging in Postfix

Edit the Postfix’s file and add the following line (or uncomment it):

header_checks = regexp:/etc/postfix/header_checks

Create /etc/postfix/header_checks file and add the following line:

/^subject:/ WARN

Finally, reload/restart Postfix. From now on there will be a “warrning: header subject” in your maillog.

Quick Fix: Support for HiDPI in Caprine for Windows

In order to fix the wired looking (small) font of Caprine for Windows you just have to change (add) the “zoomFactor” parameter in ressources\app\index.js right after webPreferences:
zoomFactor: 1.2,


Save the file and re-run the app. The font should be readable now.

More about Caprine –