OverviewFilesCommitsIssuesDocsReleasesPeers

server-info-kb commits / cc4a588

Add Wirecore deployment documentation
Tabertron: - Wirecore deployment guide - Start/stop procedures - Troubleshooting steps 7rnx.net: - Apache update procedure for wirecore rename Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
cc4a588e1f76a42e0ba7446f08114bb3499c3957
by plankatron <fleeky@gmail.com> · 2026-01-18T21:41:21.000Z

Changed files (2) +231 -0

7rnx.net/UPDATE_TO_WIRECORE.md +98 -0
……@@ -0,0 +1,98 @@
1# Update 7rnx.net: Fedicore → Wirecore
2
3**Date**: 2026-01-18
4**Status**: Ready to apply
5
6---
7
8## Changes Required
9
10Update Apache reverse proxy configuration to use `/wirecore/` instead of `/fedicore/`.
11
12---
13
14## Commands to Run on 7rnx.net
15
16```bash
17# SSH into 7rnx.net
18ssh 7rnx.net
19
20# Copy updated config to Apache
21sudo cp /tmp/000-default-le-ssl.conf /etc/apache2/sites-available/000-default-le-ssl.conf
22
23# Test Apache configuration
24sudo apache2ctl configtest
25
26# Reload Apache
27sudo systemctl reload apache2
28
29# Verify
30curl -I https://7rnx.net/wirecore/
31```
32
33---
34
35## What Changed
36
37**Old paths**:
38- `/fedicore` → `http://10.22.0.1:3000`
39- WebSocket: `/fedicore/`
40
41**New paths**:
42- `/wirecore` → `http://10.22.0.1:3000`
43- WebSocket: `/wirecore/`
44
45---
46
47## Updated Configuration
48
49The updated config file is at: `/tmp/000-default-le-ssl.conf` on 7rnx.net
50
51Key changes:
52```apache
53# Old
54<Location /fedicore>
55 ProxyPass http://10.22.0.1:3000
56 ProxyPassReverse http://10.22.0.1:3000
57 ...
58</Location>
59
60RewriteRule ^/fedicore(.*)$ ws://10.22.0.1:3000$1 [P,L]
61
62# New
63<Location /wirecore>
64 ProxyPass http://10.22.0.1:3000
65 ProxyPassReverse http://10.22.0.1:3000
66 ...
67</Location>
68
69RewriteRule ^/wirecore(.*)$ ws://10.22.0.1:3000$1 [P,L]
70```
71
72---
73
74## Test After Update
75
76```bash
77# Check HTTPS access
78curl -I https://7rnx.net/wirecore/
79
80# Should return 200 OK
81
82# Check in browser
83# Open: https://7rnx.net/wirecore/
84```
85
86---
87
88## Rollback (if needed)
89
90```bash
91# Restore old config
92sudo cp /etc/apache2/sites-available/000-default-le-ssl.conf.backup /etc/apache2/sites-available/000-default-le-ssl.conf
93sudo systemctl reload apache2
94```
95
96---
97
98Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
tabertron/WIRECORE_DEPLOYMENT.md +133 -0
……@@ -0,0 +1,133 @@
1# Wirecore Deployment on Tabertron
2
3**Date**: 2026-01-18
4**Status**: Running in production
5
6---
7
8## Current Status
9
10✅ **Wirecore running**: PID 539745
11✅ **Port**: 3000
12✅ **Node version**: v22.20.0
13✅ **Storage**: `./wirecore-web-storage/`
14✅ **Public access**: https://7rnx.net/wirecore/
15✅ **Git repo**: git://tabertron.local/wirecore.git
16
17---
18
19## Location
20
21```
22/storage/projects/code/hypercore-kb/hyper-fleeky/repos/wirecore/
23```
24
25---
26
27## Starting Wirecore
28
29```bash
30cd /storage/projects/code/hypercore-kb/hyper-fleeky/repos/wirecore
31
32# Start server (Node v22.20.0 required for ES modules)
33~/.nvm/versions/node/v22.20.0/bin/node server.js > /tmp/wirecore.log 2>&1 &
34
35# Check status
36tail -f /tmp/wirecore.log
37
38# Verify running
39ps aux | grep "node server.js"
40```
41
42---
43
44## Stopping Wirecore
45
46```bash
47# Find PID
48ps aux | grep "node server.js" | grep -v grep
49
50# Stop gracefully
51kill <PID>
52
53# Force stop if needed
54pkill -9 -f "node server.js"
55```
56
57---
58
59## Troubleshooting
60
61### Lock File Error
62
63```
64Error: ELOCKED: File is locked
65```
66
67**Solution**:
68```bash
69# Ensure no node processes running
70ps aux | grep "node server.js"
71
72# Remove lock file
73rm -f wirecore-web-storage/feeds/primary-key
74
75# Restart
76~/.nvm/versions/node/v22.20.0/bin/node server.js > /tmp/wirecore.log 2>&1 &
77```
78
79### Wrong Node Version
80
81Wirecore requires Node v22+ for ES modules.
82
83```bash
84# Check version
85node --version
86
87# Use correct version
88~/.nvm/versions/node/v22.20.0/bin/node server.js
89```
90
91---
92
93## Accessing Wirecore
94
95**Local**:
96- http://localhost:3000
97
98**Public** (via hyperident-gateway → 7rnx.net):
99- https://7rnx.net/wirecore/
100
101---
102
103## Updates
104
105### Pull Latest Code
106
107```bash
108cd /storage/projects/code/hypercore-kb/hyper-fleeky/repos/wirecore
109git pull origin master
110```
111
112### Restart After Updates
113
114```bash
115pkill -f "node server.js"
116sleep 2
117~/.nvm/versions/node/v22.20.0/bin/node server.js > /tmp/wirecore.log 2>&1 &
118```
119
120---
121
122## Hyperident Gateway Connection
123
124Wirecore on tabertron (10.22.0.1:3000) is accessible via:
125- Apache reverse proxy on 7rnx.net
126- Proxied through hyperident-gateway P2P network
127- Public URL: https://7rnx.net/wirecore/
128
129See: `/storage/projects/code/server-info-kb/7rnx.net/APACHE_PROXY_SETUP.md`
130
131---
132
133Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>