Help set up the server Gerbera

System Openwrt 21.02.1 Mikrotik hap ac2
Hi.Installed gerbera package on external overlay.
The home / tmp / gerbera directory, therefore, after a reboot, all settings and scan data are lost. After changing the Home directory in the / etc / config / gerbera and /etc/init.d/gerbera files, the server stops starting.