64 lines
1.4 KiB
Markdown
64 lines
1.4 KiB
Markdown
# Simple NPMplus Update Instructions
|
|
|
|
**Target**: Update to `zoeyvid/npmplus:2026-01-20-r2`
|
|
|
|
---
|
|
|
|
## Quick Update (Run on r630-01)
|
|
|
|
```bash
|
|
# SSH to Proxmox host
|
|
ssh root@192.168.11.10
|
|
ssh root@r630-01
|
|
|
|
# Run these commands:
|
|
pct exec 10233 -- docker pull zoeyvid/npmplus:2026-01-20-r2
|
|
pct exec 10233 -- docker stop npmplus
|
|
pct exec 10233 -- docker rm npmplus
|
|
pct exec 10233 -- docker run -d \
|
|
--name npmplus \
|
|
--restart unless-stopped \
|
|
--network bridge \
|
|
-p 80:80 \
|
|
-p 443:443 \
|
|
-p 81:81 \
|
|
-v /data/npmplus:/data \
|
|
-v /data/letsencrypt:/etc/letsencrypt \
|
|
zoeyvid/npmplus:2026-01-20-r2
|
|
|
|
# Verify
|
|
pct exec 10233 -- docker ps --filter name=npmplus
|
|
curl -I http://192.168.11.167:80
|
|
```
|
|
|
|
---
|
|
|
|
## If Network Timeout During Pull
|
|
|
|
The Docker pull may timeout due to network issues. In that case:
|
|
|
|
1. **Wait for container creation** - Docker will pull the image automatically when creating the container
|
|
2. **Or pull manually later** - The container will work with `latest` tag, then you can pull the specific version later
|
|
|
|
---
|
|
|
|
## Verification
|
|
|
|
After update:
|
|
|
|
```bash
|
|
# Check version
|
|
pct exec 10233 -- docker inspect npmplus --format '{{.Config.Image}}'
|
|
|
|
# Test accessibility
|
|
curl -I http://192.168.11.167:80
|
|
curl -I https://192.168.11.167:81 -k
|
|
|
|
# Test proxy
|
|
curl -H "Host: explorer.d-bis.org" http://192.168.11.167:80
|
|
```
|
|
|
|
---
|
|
|
|
**Status**: Ready to update - run commands above on r630-01
|