Closed crile closed 4 years ago
Did you connect to the Admin interface and created some Bees and Chains?
Yes I did. I even try with "-config
" flag.
I stop the server with "CTRL+C".
The file is not generated during the startup ?
@crile Could you paste Beehive's output just before & after hitting CTRL-C?
Extract of the console output below.
INFO[0213] Handling request Method=GET URL=/v1/bees
INFO[0213] Finished request Duration="996.8µs" Method=GET Response=200 URL=/v1/bees
INFO[0217] Got signal: interrupt
INFO[0217] Storing config...
I attached the log file beehive.log
Sorry, it is not a beehive bug.
I use an alternative console (nyagos.exe
), and I think that the kill signal force beehive.exe
to stop so it doesn't have the time to write its configuration file.
It is the first time that I encounter this kind of issue.
Thanks anyway.
Interesting! So you can't reproduce this when starting from a "normal" cmd? There's already a PR which changes this behavior a bit and stores the config before shutdown. I guess this should improve the situation, even though it's clearly never ideal if the console kills the process while it's shutting down.
Yes, "CRTL+c" in "normal" cmd works properly. Thanks.
Hi,
I simply run "beehive.exe" but nothing is created in the current directory.