lorawan-server icon indicating copy to clipboard operation
lorawan-server copied to clipboard

DB vanished after changing hostname

Open stefanobimbo opened this issue 6 years ago • 1 comments

Version 0.6.7

I use lorawan-server in a raspberry pi: pi@lora_ES:~ $ uname -a Linux lora_ES 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux

With the lorawan-server running, I changed pi user password and hostname using raspi-config. Then I rebooted. When the server was up again, DB seems to be empty and all configured items are lost.

The debug.log follows: debug.log

stefanobimbo avatar Jun 28 '19 11:06 stefanobimbo

The database is stored in a directory named based on the hostname. Change the hostname back and the data will re-appear.

gotthardp avatar Jul 01 '19 07:07 gotthardp