KiraCore/kira

kiramanager not fully working / halting

Closed this issue · 1 comments

I started with a clean machine.
When asked for a peer I didnt choose the Autodiscovery so I aborted and re-initialized.

(After a while it got stuck on discovering public and internal ip, but for that I create another issue.)

After a while when it was installed I ran kira but the menu didnt completely start:

image

The kirascan service status and journalctl log showing:

May 03 17:17:26 v2202103130286148075 systemd[1]: kirascan.service: Failed with result 'exit-code'.
May 03 17:17:31 v2202103130286148075 systemd[1]: kirascan.service: Scheduled restart job, restart counter is at 14.
May 03 17:17:31 v2202103130286148075 systemd[1]: Stopped Kira Console UI Monitoring Service.
May 03 17:17:31 v2202103130286148075 systemd[1]: Started Kira Console UI Monitoring Service.
May 03 17:17:31 v2202103130286148075 bash[3859237]: + echoInfo 'INFO: Started kira network scan v0.3.0.0'
May 03 17:17:31 v2202103130286148075 bash[3859237]: + echo -e '\e[0m\e[36;1mINFO: Started kira network scan v0.3.0.0\e[0m'
May 03 17:17:31 v2202103130286148075 bash[3859237]: INFO: Started kira network scan v0.3.0.0
May 03 17:17:31 v2202103130286148075 bash[3859237]: + SCAN_LOGS=/home/bart/kirascan/logs
May 03 17:17:31 v2202103130286148075 bash[3859237]: + SCAN_DONE=/home/bart/kirascan/done
May 03 17:17:31 v2202103130286148075 bash[3859237]: + CONTAINERS_SCAN_PATH=/home/bart/kirascan/containers
May 03 17:17:31 v2202103130286148075 bash[3859237]: + NETWORKS_SCAN_PATH=/home/bart/kirascan/networks
May 03 17:17:31 v2202103130286148075 bash[3859237]: + HOSTS_SCAN_PATH=/home/bart/kirascan/hosts
May 03 17:17:31 v2202103130286148075 bash[3859237]: + STATUS_SCAN_PATH=/home/bart/kirascan/status
May 03 17:17:31 v2202103130286148075 bash[3859237]: + VALINFO_SCAN_PATH=/home/bart/kirascan/valinfo
May 03 17:17:31 v2202103130286148075 bash[3859237]: + SNAPSHOT_SCAN_PATH=/home/bart/kirascan/snapshot
May 03 17:17:31 v2202103130286148075 bash[3859237]: + HARDWARE_SCAN_PATH=/home/bart/kirascan/hardware
May 03 17:17:31 v2202103130286148075 bash[3859237]: + PEERS_SCAN_PATH=/home/bart/kirascan/peers
May 03 17:17:31 v2202103130286148075 bash[3859237]: + SNAP_STATUS=/home/bart/snap/status
May 03 17:17:31 v2202103130286148075 bash[3859237]: + SNAP_PROGRESS=/home/bart/snap/status/progress
May 03 17:17:31 v2202103130286148075 bash[3859237]: + SNAP_DONE=/home/bart/snap/status/done
May 03 17:17:31 v2202103130286148075 bash[3859237]: + SNAP_LATEST=/home/bart/snap/status/latest
May 03 17:17:31 v2202103130286148075 bash[3859237]: + SCAN_DUMP=/home/bart/dump/kirascan
May 03 17:17:31 v2202103130286148075 bash[3859237]: + :
May 03 17:17:31 v2202103130286148075 bash[3859248]: ++ date -u +%s
May 03 17:17:31 v2202103130286148075 bash[3859237]: + START_TIME=1620055051
May 03 17:17:31 v2202103130286148075 bash[3859237]: + command -v docker
May 03 17:17:31 v2202103130286148075 bash[3859237]: /usr/bin/docker
May 03 17:17:31 v2202103130286148075 bash[3859237]: + mkdir -p /home/bart/kirascan /home/bart/kirascan/status /home/bart/kirascan/logs /home/bart/snap/status /home/bart/dump/kirascan
May 03 17:17:31 v2202103130286148075 bash[3859249]: mkdir: cannot create directory ‘/home/bart/dump/kirascan’: File exists
May 03 17:17:31 v2202103130286148075 systemd[1]: kirascan.service: Main process exited, code=exited, status=1/FAILURE
May 03 17:17:31 v2202103130286148075 systemd[1]: kirascan.service: Failed with result 'exit-code'.

So I stopped the service and rename the dump and kirascan folder. I started kira again and the problem was solved.

Should be resolved with v0.3.2.3