RaspiBlitz v1.12.0 rc3: electrs reports as not installed and not configured
- Dominant language
- Python
- Stars
- 25
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
The `app_state_update_message` reports the following:
```
// other apps ...
{
"id": "electrs",
"version": "v0.10.6",
"installed": true,
"configured": true,
"status": "online",
"local_ip": "",
"http_port": null,
"https_port": null,
"https_forced": false,
"https_self_signed": false,
"hidden_service": null,
"address": "http://:None",
"auth_method": "none",
"details": null,
"error": null
},
```
But when going to the app page, which calls `/api/apps/status_advanced/electrs`:
```
{
"id": "electrs",
"version": "v0.10.6",
"installed": false,
"configured": false,
"status": "offline",
"local_ip": "",
"http_port": "50001",
"https_port": "50002",
"https_forced": null,
"https_self_signed": null,
"hidden_service": ".onion",
"address": "",
"auth_method": null,
"details": {
"initial_sync_done": true,
"block_height": "0",
"blockheightPercent": "0",
"info_sync": "",
"electrum_responding": "1"
},
"error": null
}
```
Thus the webUI displays the wrong message.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the app_state_update_message output and the /api/apps/status_advanced/electrs endpoint, then compare how each determines electrs installation, configuration, and status. Done means both responses agree and the webUI displays the correct electrs message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fastapi, python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100