|
|
## Installation
|
|
|
|
|
|
first install in 2010, see https://fairkom.net/dokuwiki/doku.php?id=cloudservices:admin:etherpadlite
|
|
|
|
|
|
See also README.txt in root dir
|
|
|
|
|
|
## Directories
|
|
|
|
|
|
etherpad-lite has been installed in `/opt/etherpad-lite`
|
|
|
|
|
|
Runs as a systemd service /etc/systemd/system/etherpad.service
|
|
|
|
|
|
`systemctl start etherpad`
|
|
|
|
|
|
In `/etc/systemd/system/etherpad.service` we start the service with
|
|
|
`ExecStart=/usr/bin/nodejs --max-old-space-size=1800 /opt/etherpad-lite/node_modules/ep_etherpad-lite/node/server.js`
|
|
|
|
|
|
## upgrade etherpad
|
|
|
|
|
|
```
|
|
|
service etherpad stop
|
|
|
n latest
|
|
|
su etherpad
|
|
|
cd /opt/etherpad-lite
|
|
|
git pull origin
|
|
|
exit
|
|
|
bin/run.sh # updates dependencies
|
|
|
Ctrl - C
|
|
|
service etherpad start
|
|
|
```
|
|
|
|
|
|
do backup before updating:
|
|
|
|
|
|
/opt# tar -cvzf etherpad-lite1.6.1backup.tgz etherpad-lite/
|
|
|
|
|
|
added .gitignore files in some dirctories in locale / custom / static
|
|
|
|
|
|
## upgrade mariaDB
|
|
|
|
|
|
as this may take too long for ep, we have marked it as hold
|
|
|
|
|
|
```
|
|
|
systemctl stop etherpad
|
|
|
apt-mark unhold mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1
|
|
|
apt upgrade
|
|
|
apt-mark hold mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1
|
|
|
``` |