/* Update */ des rätsels lösung stand weiter unten im artikel
authorDaniel Bohrer <Daniel Bohrer@stratum0.org/mediawiki>
Sat, 25 Aug 2018 11:21:18 +0000 (11:21 +0000)
committerDaniel Bohrer <Daniel Bohrer@stratum0.org/mediawiki>
Sat, 25 Aug 2018 11:21:18 +0000 (11:21 +0000)
Gapadriel.mw

index 0df2f10..bbab3b8 100644 (file)
@@ -64,19 +64,22 @@ Etherpad-Updates etc. bitte per <tt>sudo</tt>, nicht <tt>sudo -u etherpad</tt>.
  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
- sudo npm install --unsafe-perm wd
- sudo bin/installDeps.sh  # und dann warten.
+ # 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
 
- # irgendwas geht schief. Einmal als root starten hilft. wtf, etherpad?
- sudo bin/run.sh --root  # und dann strg-c drücken
+ # 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:
This page took 0.02418 seconds and 4 git commands to generate.