@aifabrix/server-setup 1.5.5 → 1.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -218,3 +218,24 @@ If you SSH as a non-root user, that user must be able to sudo. The script will a
218
218
  - **Docker TLS** — Copies certs and configures `/etc/docker/daemon.json` for TLS (using website cert and builder-server CA).
219
219
 
220
220
  Result: after both steps, the server has Docker, nginx (HTTPS for your domain), the builder-server container (if image present), and Mutagen—ready for the Builder CLI to use.
221
+
222
+ ---
223
+
224
+ ## Troubleshooting
225
+
226
+ ### `af-server --version` shows an old version after installing a newer one
227
+
228
+ If you ran `sudo npm install -g @aifabrix/server-setup@1.5.6` but `af-server --version` still reports an older version (e.g. 1.5.3):
229
+
230
+ 1. **Check which binary is used**
231
+ Run `which af-server` and `sudo which af-server`. If they differ, your shell may be using a user-level install while the new one was installed for root.
232
+
233
+ 2. **Uninstall, clear cache, then reinstall**
234
+
235
+ ```bash
236
+ sudo npm uninstall -g @aifabrix/server-setup
237
+ npm cache clean --force
238
+ sudo npm install -g @aifabrix/server-setup@1.5.6
239
+ hash -r # clear shell’s command cache
240
+ af-server --version
241
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aifabrix/server-setup",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "description": "CLI to install, backup, and restore AI Fabrix builder-server (config + DB) over SSH",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",