diff --git a/fhem/configDB.pm b/fhem/configDB.pm index ad9185379..32b39b258 100644 --- a/fhem/configDB.pm +++ b/fhem/configDB.pm @@ -307,6 +307,7 @@ sub cfgDB_Init() { my $count = $fhem_dbh->selectrow_array('SELECT count(*) FROM fhemconfig'); if($count < 1) { # insert default entries to get fhem running + $attr{global}{modpath} = '.'; $fhem_dbh->commit(); my $uuid = _cfgDB_Uuid; $fhem_dbh->do("INSERT INTO fhemversions values (0, '$uuid')");