Nach der Vorstandssitzung ist vor der Vorstandssitzung.
[stratum0-wiki.git] / Gapadriel.mw
index b193aeb..77868ca 100644 (file)
@@ -43,7 +43,7 @@ Debian hat kein npm mehr. Etherpad braucht npm. (Keine schöne, aber eine) Lösu
  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
+ echo "deb 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
@@ -61,13 +61,25 @@ Etherpad-Updates etc. bitte per <tt>sudo</tt>, nicht <tt>sudo -u etherpad</tt>.
 ==== Update ====
  cd /var/lib/etherpad/etherpad-lite
  sudo git fetch
- systemctl stop etherpad.service
+ sudo 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
+ # falls wd failt: (siehe https://github.com/admc/wd/issues/483#issuecomment-410725658 )
+ # sudo npm install --unsafe-perm wd
+ # sudo bin/installDeps.sh  # und dann warten.
+ sudo chmod go-w .
+ sudo chown root:etherpad .
+ sudo chmod g+rw -R var/    # CSS minified cache muss schreibbar sein
+ sudo chown etherpad:etherpad -R var/
+ sudo chmod g+r -R settings.json     # config muss lesbar sein
+ sudo chown root:etherpad settings.json
+ # damit etherpad Plugins initialisieren und ep_$module/.ep_initialized anlegen kann -.-
+ sudo chmod g+w node_modules/ep_*
+ sudo systemctl start etherpad.service
+ sudo chmod g-w node_modules/ep_*
 
 ==== Plugins installieren ====
 Admin-Login auf der Weboberfläche funktioniert zwar lesend, aber kann halt keine Packages installieren, weil der etherpad-User in <tt>node_modules/</tt> nicht schreiben soll. Stattdessen:
@@ -90,7 +102,6 @@ Admin-Login auf der Weboberfläche funktioniert zwar lesend, aber kann halt kein
    ep_latexexport \
    ep_markdown \
    ep_pad_activity_nofication_in_title \
-   ep_ruler \
    ep_scrollto \
    ep_subscript \
    ep_superscript \
This page took 0.028609 seconds and 4 git commands to generate.