imp/exp/show/cookie
Build Service / BuildPackage (push) Has been cancelled

This commit is contained in:
2026-05-14 18:27:20 -04:00
parent 172e3f63ac
commit 2cdc4a5f34
9 changed files with 409 additions and 38 deletions
+7
View File
@@ -92,9 +92,12 @@ mainnet-only.
| --- | --- | --- | --- | --- |
| `reset-password` | Reset Web UI Password | Enabled | Any | Regenerates the web-UI password and restarts the terminal daemon |
| `show-credentials` | Show Web UI Credentials | Hidden | Any | Surfaces the current `admin` username + masked password (launched by the first-install task) |
| `show-password` | Show Web UI Password | Enabled | Any | Same as `show-credentials` but visible in the actions list, for routine re-display of the current admin credentials |
| `set-bitcoin-rpc` | Set up Bitcoin RPC | Enabled | Any | Re-invokes bitcoind's `generate-rpc-dependent` with the stored credentials. Safe to call repeatedly. |
| `sync-status` | Sync Status | Enabled | Only running | Runs `space-cli getserverinfo` inside the daemon container and returns the JSON output |
| `reset-spaced-state` | Reset Spaced State | Enabled | Any | Deletes `/data/mainnet/` so spaced resyncs its index from spaces' anchor. Preserves `store.json` (passwords + RPC credentials). Use when spaced crash-loops on a stale or corrupt index. |
| `export-wallet` | Export Wallet | Enabled | Only running | Runs `space-cli exportwallet /data/mainnet/wallets_backup/default.json` and surfaces the resulting JSON as a masked/copyable result. The file is also persisted inside the volume at that path. |
| `import-wallet` | Import Wallet | Enabled | Only running | Accepts a pasted JSON payload (textarea), writes it to `/data/mainnet/wallets_backup/default.json` (rotating the existing file to `.bakNNN`), rotates `/data/mainnet/wallets/default` to `.bakNNN`, then runs `space-cli importwallet` + `loadwallet`. |
## Backups and Restore
@@ -177,6 +180,7 @@ startos_managed_env_vars:
- SPACED_BITCOIN_RPC_URL
- SPACED_BITCOIN_RPC_USER
- SPACED_BITCOIN_RPC_PASSWORD
- SPACED_RPC_COOKIE
- BTC_RPC_HOST
- BTC_RPC_PORT
- BTC_RPC_USER
@@ -186,7 +190,10 @@ startos_managed_env_vars:
actions:
- reset-password
- show-credentials
- show-password
- set-bitcoin-rpc
- sync-status
- reset-spaced-state
- export-wallet
- import-wallet
```