Hallo,
ich versuche gerade mein Homegear Setup nach Docker zu migrieren, bisher ohne Erfolg.
Ausgangssystem: Homegear 0.7.38-2757
auf RPI 3
Zielsystem: Homegear in Docker auf RPI 3
Die Config vom Ausgangssystem wurde gesichert und in die Verzeichnisse des Docker Setups kopiert, wie hier beschrieben.
Der Container wurde über folgendes Kommando (aus der Anleitung) gestartet:
docker run -d --rm -v /opt/homegear-data/etc:/etc/homegear:Z -v /opt/homegear-data/lib:/var/lib/homegear:Z -v /opt/homegear-data/log:/var/log/homegear:Z -e TZ=Europe/Berlin -e HOST_USER_ID=$(id -u) -e HOST_USER_GID=$(id -g) -p 2001:2001 -p 2002:2002 -p 2003:2003 --device /dev/ttyAMA0 --name homegear homegear/rpi-homegear:stable
Dabei bekomme ich folgendes Log:
03/20/19 08:02:04.475 Starting Homegear...
03/20/19 08:02:04.476 Homegear version 0.7.37-2722
03/20/19 08:02:04.477 Git commit SHA of libhomegear-base: -
03/20/19 08:02:04.477 Git branch of libhomegear-base: -
03/20/19 08:02:04.477 Git commit SHA of Homegear: -
03/20/19 08:02:04.477 Git branch of Homegear: -
03/20/19 08:02:04.480 Starting Homegear...
03/20/19 08:02:04.480 Homegear version 0.7.37-2722
03/20/19 08:02:04.481 Git commit SHA of libhomegear-base: -
03/20/19 08:02:04.481 Git branch of libhomegear-base: -
03/20/19 08:02:04.481 Git commit SHA of Homegear: -
03/20/19 08:02:04.481 Git branch of Homegear: -
03/20/19 08:02:04.481 Info: Setting allowed core file size to "4294967295" for user with id 0 and group with id 0.
03/20/19 08:02:04.481 Info: Core file size now is "4294967295".
03/20/19 08:02:04.481 Info: Setting maximum thread priority to "0" for user with id 0 and group with id 0.
03/20/19 08:02:04.482 Info: Maximum thread priority now is "0".
03/20/19 08:02:04.483 Info: Setting allowed core file size to "4294967295" for user with id 0 and group with id 0.
03/20/19 08:02:04.483 Info: Core file size now is "4294967295".
03/20/19 08:02:04.483 Info: Setting maximum thread priority to "0" for user with id 0 and group with id 0.
03/20/19 08:02:04.483 Info: Maximum thread priority now is "0".
03/20/19 08:02:04.563 Info: Backing up database...
03/20/19 08:02:04.759 Initializing database...
03/20/19 08:02:04.766 Closing database...
03/20/19 08:02:05.002 Critical: Unknown database version: 0.7.10
03/20/19 08:02:05.005 Closing database...
03/20/19 08:02:05.093 Info: Process with id 966 ended.
03/20/19 08:02:05.093 Info: Homegear exited with exit code 0. Stopping monitor process.
Eine Idee wie Critical: Unknown database version: 0.7.10
behoben werden kann?
Danke