feat: enhance abra installation with proper verification and user commands
- Replace incorrect file-based abra verification with functional testing - Add network connectivity monitoring to abra installer service - Implement retry logic with proper error handling - Add user-friendly 'install' command for manual abra repair - Update documentation to include install command and troubleshooting - Fix false positive detection in abra installation verification The enhanced service now: - Uses 'sudo abra --version' for reliable verification - Waits for internet connectivity before attempting installation - Retries up to 3 times with proper backoff - Provides clear success/failure reporting - Includes automatic service restart on failure User can now run 'install' command as fallback when abra installation fails.
This commit is contained in:
@@ -119,8 +119,15 @@ When internet is not available during workshop setup:
|
||||
|
||||
3. **Manual abra Installation** (if needed)
|
||||
```bash
|
||||
# Download abra binary manually on another machine and transfer via USB
|
||||
# Or use a local package repository
|
||||
# Use the install command (preferred)
|
||||
install
|
||||
|
||||
# Or manually restart the service
|
||||
sudo systemctl restart workshop-abra-install
|
||||
|
||||
# Check installation status
|
||||
sudo systemctl status workshop-abra-install
|
||||
sudo abra --version
|
||||
```
|
||||
|
||||
4. **Deploy Local Services**
|
||||
@@ -223,11 +230,14 @@ ping 8.8.8.8
|
||||
# Test DNS
|
||||
nslookup google.com
|
||||
|
||||
# Test workshop services
|
||||
curl http://traefik.workshop.local
|
||||
# Test abra installation
|
||||
sudo abra --version
|
||||
|
||||
# Test abra connectivity
|
||||
sudo abra server ls
|
||||
|
||||
# Test workshop services
|
||||
curl http://traefik.workshop.local
|
||||
```
|
||||
|
||||
## Getting Help
|
||||
|
||||
@@ -78,6 +78,9 @@ setup
|
||||
# See available app recipes
|
||||
recipes
|
||||
|
||||
# If abra installation failed (rare case)
|
||||
install
|
||||
|
||||
# Get help
|
||||
help
|
||||
```
|
||||
@@ -120,3 +123,7 @@ Name: Android, Password: (ask facilitator)
|
||||
→ WiFi should connect automatically to "CODE_CRISPIES"
|
||||
→ If not, use mobile hotspot as backup
|
||||
→ Check: nmcli connection show --active
|
||||
|
||||
**Abra not working**
|
||||
→ Run: install
|
||||
→ Check: sudo systemctl status workshop-abra-install
|
||||
|
||||
Reference in New Issue
Block a user