From: Daniel Bohrer Date: Sat, 25 Aug 2018 09:28:07 +0000 (+0000) Subject: /* Doku */ etherpad-lite 1.7.0 braucht neueres npm. X-Git-Url: https://git.rohieb.name/stratum0-wiki.git/commitdiff_plain/d851376afac417edeaff3fad50bb75966aabd950 /* Doku */ etherpad-lite 1.7.0 braucht neueres npm. --- diff --git a/Gapadriel.mw b/Gapadriel.mw index 9e4eb62de..638d6a12a 100644 --- a/Gapadriel.mw +++ b/Gapadriel.mw @@ -36,6 +36,19 @@ * Netzwerk intern, per DHCP * HTTP kommt über [[gandolf]] als (SSL-)Proxy +=== Node.js / npm === + +Debian hat kein npm mehr. Etherpad braucht npm. (Keine schöne, aber eine) Lösung: [https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions] + + sudo apt install apt-transport-https + NODEREPO="node_10.x" + DISTRO=$(lsb_release -c -s) + echo "deb-src https://deb.nodesource.com/${NODEREPO} ${DISTRO} main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list + wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key + sudo apt-key add nodesource.gpg.key + sudo apt update + sudo apt install nodejs # bringt npm mit + === Etherpad === Etherpad-Lite liegt als Git-Repo in /var/lib/etherpad/etherpad-lite, wird aus [https://stratum0.org/wiki/Gapadriel/etherpad-service?action=raw /etc/systemd/system/etherpad.service] als User etherpad gestartet und loggt nach /var/log/syslog. @@ -51,6 +64,9 @@ Etherpad-Updates etc. bitte per sudo, nicht sudo -u etherpad. systemctl stop etherpad.service sudo git rebase -i $version sudo bin/installDeps.sh # und dann warten. + # wd fails. https://github.com/admc/wd/issues/483#issuecomment-410725658 + suod npm install --unsafe-perm wd + sudo bin/installDeps.sh # und dann warten. systemctl start etherpad.service ==== Plugins installieren ====