-
Notifications
You must be signed in to change notification settings - Fork 0
07 Update Maintenance EN
🇬🇧 English · 🇮🇷 فارسی
Since v0.2.2, update refreshes both the binary and the CLI script itself:
sudo pg-node-agent update # on each node
sudo pg-panel update # on the panelKeys, certificate, config and database are all preserved.
Specific version:
sudo pg-node-agent update v0.4.2Since node v0.5.0 and panel v0.6.0, from Panel → Nodes → Details you can, without SSH:
- Start / restart / stop the core,
- Switch the Xray version (the node downloads it and restarts),
- Update the node binary (like running the script).
Note: "update node from the panel" only works for nodes already on v0.5.0+. Update a node once with the script the first time (
sudo pg-node-agent update); afterwards the panel button works too.
If your installed version is older than v0.2.1 (no self-update yet), refresh the script once by re-running
install(keys/data are preserved):sudo bash -c "$(curl -sL https://raw.githubusercontent.com/loopy-iri/NodeAgent/main/scripts/pg-node.sh)" @ install sudo bash -c "$(curl -sL https://raw.githubusercontent.com/loopy-iri/NodePanel/main/scripts/pg-panel.sh)" @ install
sudo pg-node-agent core-update # latest
sudo pg-node-agent core-update v1.8.23 # specific versionsudo pg-node-agent renew-certThen re-pin the new certificate in the main panel (or, if using TOFU, delete the old record so it's re-fetched).
- Node: the whole
/var/lib/pg-node-agent/(includestenants.bolt,certs/,fixed-config.json). - Panel: the database
/var/lib/pg-panel/panel.dband/opt/pg-panel/.env(includes the token).
--name separates the paths/service/CLI:
sudo bash -c "$(curl -sL .../pg-node.sh)" @ install --name pg-node-agentThen manage with that name: sudo pg-node-agent status.
sudo pg-node-agent uninstall # data kept in /var/lib/... (remove manually)
sudo pg-panel uninstallاپراتور
- ۱) نصب پنل
- ۲) نصب نود
- ۳) افزودن نود و فروش
- تنظیم هستهی نود (Xray)
- استفادهی شخصی + فروش
- آپدیت و نگهداری
- عیبیابی
مشتری
توسعهدهنده
Operator
- 1) Install the panel
- 2) Install a node
- 3) Add a node & sell
- Configure the node core (Xray)
- Personal use + selling
- Update & maintenance
- Troubleshooting
Customer
Developer