-
Notifications
You must be signed in to change notification settings - Fork 14
Open
1 / 11 of 1 issue completedOpen
1 / 11 of 1 issue completed
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
After a power outage, my Algorand node went down. I attempted to restart it, but it failed. To resolve this, I completely uninstalled both Algorand (installed via package manager) and NodeKit before attempting a fresh installation using NodeKit only.
However, NodeKit gets stuck on installing Algorand during the bootstrap process.
To Reproduce
- Uninstall Algorand & NodeKit
sudo systemctl disable algorand
# Remove NodeKit
rm -rf ~/.nodekit
rm -rf /usr/local/bin/nodekit
rm -rf /usr/bin/nodekit
rm -rf /var/lib/nodekit
rm -rf /etc/systemd/system/nodekit.service
rm -rf ~/nodekit*
# Remove Algorand installed via apt
sudo apt remove --purge algorand -y
sudo apt autoremove -y
sudo rm -rf /var/lib/algorand
sudo rm -rf /etc/apt/sources.list.d/algorand.list
sudo rm -rf /etc/apt/trusted.gpg.d/algorand.asc
- Rebooted system
- Ran
wget -qO- https://nodekit.run/install.sh | bash - Hit
Y&Yfor do you want to run after install and catchup - Install stops on command
sudo apt-get install -y algorand
Error logs: ./nodekit debug
INFO Collecting debug information...
WARN (You may be prompted for your password)
panic: runtime error: slice bounds out of range [:3] with length 0
goroutine 1 [running]:
github.com/algorandfoundation/nodekit/cmd.init.func1(0xc0001f6f08, {0xd51707?, 0x4?, 0xd515b3?})
/home/runner/work/nodekit/nodekit/cmd/debug.go:81 +0x62e
github.com/spf13/cobra.(*Command).execute(0xc0001f6f08, {0x1616480, 0x0, 0x0})
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:985 +0xaaa
github.com/spf13/cobra.(*Command).ExecuteC(0xc0001f7208)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
github.com/algorandfoundation/nodekit/cmd.Execute(...)
/home/runner/work/nodekit/nodekit/cmd/root.go:116
main.main()
/home/runner/work/nodekit/nodekit/main.go:41 +0x1b3
Expected behavior
NodeKit should complete the bootstrap process successfully.
The Algorand node should install and start running.
Screenshots
This is after trying and it freezing:

System Info
OS: Ubuntu 24.04.2 LTS (Noble Numbat)
Kernel: 6.8.0-52-generic
CPU: AMD Ryzen 7 5800H with Radeon Graphics (16 threads)
RAM: 11GB total, 9.1GB free
Storage: NVMe SSD, 100GB allocated to LVM
Sub-issues
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
