# Quick Fix for Web3Signer Path

**Issue**: Service file update failed. The binary is at `/opt/web3signer-23.10.0/bin/web3signer` and keys are at `/opt/web3signer/data/keys/`.

## Manual Fix

Run these commands:

```bash
# Update the systemd service file
ssh root@192.168.11.11 "pct exec 107 -- bash -c 'cat > /etc/systemd/system/web3signer.service <<\"ENDOFFILE\"
[Unit]
Description=Web3Signer - Ethereum Signing Service
After=network.target

[Service]
Type=simple
User=root
WorkingDirectory=/opt/web3signer-23.10.0
ExecStart=/opt/web3signer-23.10.0/bin/web3signer --http-listen-port=9000 --http-listen-host=192.168.11.111 --http-host-allowlist=* --data-path=/opt/web3signer/data eth1 --chain-id=138
Restart=always
RestartSec=5
StandardOutput=journal
StandardError=journal
SyslogIdentifier=web3signer

[Install]
WantedBy=multi-user.target
ENDOFFILE
'"

# Reload systemd and restart
ssh root@192.168.11.11 "pct exec 107 -- systemctl daemon-reload && systemctl restart web3signer && sleep 5"

# Verify keys are loaded
curl http://192.168.11.111:9000/api/v1/eth1/publicKeys
```

## Or Run the Updated Script

```bash
cd /home/intlc/projects/proxmox/rpc-translator-138
./scripts/fix-web3signer-path.sh
```

---

**Key Points**:
- Binary: `/opt/web3signer-23.10.0/bin/web3signer`
- Data path: `/opt/web3signer/data` (keys are in `/opt/web3signer/data/keys/`)
- The `--data-path` parameter tells Web3Signer where to look for keys
