Config Notes

We notice where important server files get installed. See also Wiki Admin, Wiki Relocation

Find npm global installs.

npm list -g --depth=0

asia.wiki.org

/usr/local/bin/wiki -- executable

/etc/systemd/system/wiki.service -- systemd service

/root/wiki.conf.json -- security config

journalctl -u wiki

asia.wiki.org (disabled)

/usr/local/lib/node_modules/wiki -- global install

~/.wiki -- site flat file database

/etc/init/wiki.conf -- upstart script site

/etc/init/wiki.conf.json -- security config

/var/log/upstart/wiki.log -- server log

bay.wiki.org

/usr/lib/node_modules/wiki -- global install

/root/.wiki -- site flat file database

/etc/init/wiki.conf -- upstart script (obsolete)

/etc/systemd/system/wiki.service

/root/wiki.conf.json -- security config

/var/log/upstart/wiki.log -- server log (obsolete)

journalctl -f -u wiki

/etc/nginx/sites-enabled/default -- nginx sites

nginx -s reload

eu.wiki.org

Setup help Firewall help Caddy help

/usr/bin/wiki -- old

/usr/local/bin/wiki -- new

/etc/caddy/Caddyfile -- caddy sites

/root/caddy.service -- caddy config

/root/config.json -- security config

systemctl restart caddy

CADDYPATH=/etc/ssl/caddy

/etc/ssl/caddy/acme/acme-v01.api.letsencrypt.org/sites/

journalctl -u caddy

Setting up systemd. node caddy

cat .wiki/*.wiki.innovateoregon.org/status/owner.json | jq -r '.name' | sort | uniq -c | sort -nr