- Organized 252 files across project - Root directory: 187 → 2 files (98.9% reduction) - Moved configuration guides to docs/04-configuration/ - Moved troubleshooting guides to docs/09-troubleshooting/ - Moved quick start guides to docs/01-getting-started/ - Moved reports to reports/ directory - Archived temporary files - Generated comprehensive reports and documentation - Created maintenance scripts and guides All files organized according to established standards.
1.5 KiB
1.5 KiB
Fix Permissions and Complete Key Loading
The keys were copied successfully, but the chmod command failed. Here's how to fix it:
Quick Fix
Run these commands:
# 1. Set permissions manually
ssh root@192.168.11.11 "pct exec 107 -- bash -c 'for f in /opt/web3signer/data/keys/*.json; do [ -f \"\$f\" ] && chmod 644 \"\$f\"; done'"
# 2. Verify files
ssh root@192.168.11.11 "pct exec 107 -- ls -lh /opt/web3signer/data/keys/"
# 3. Restart Web3Signer
ssh root@192.168.11.11 "pct exec 107 -- systemctl restart web3signer && sleep 5"
# 4. Verify keys loaded
curl http://192.168.11.111:9000/api/v1/eth1/publicKeys
Or Use the Fix Script
/tmp/fix-permissions.sh
Then Configure Allowlist
Once keys are loaded:
cd /home/intlc/projects/proxmox/rpc-translator-138
ADDRESSES=$(curl -s http://192.168.11.111:9000/api/v1/eth1/publicKeys | jq -r '.[]' | tr '\n' ',' | sed 's/,$//')
./scripts/configure-wallet-allowlist.sh "$ADDRESSES"
All-in-One Fix
# Fix permissions and restart
ssh root@192.168.11.11 "pct exec 107 -- bash -c 'for f in /opt/web3signer/data/keys/*.json; do [ -f \"\$f\" ] && chmod 644 \"\$f\"; done' && pct exec 107 -- systemctl restart web3signer && sleep 5"
# Verify
curl http://192.168.11.111:9000/api/v1/eth1/publicKeys
# Configure allowlist
cd /home/intlc/projects/proxmox/rpc-translator-138
ADDRESSES=$(curl -s http://192.168.11.111:9000/api/v1/eth1/publicKeys | jq -r '.[]' | tr '\n' ',' | sed 's/,$//')
./scripts/configure-wallet-allowlist.sh "$ADDRESSES"