# Etherpad Lite package

**URL:** https://forum.yunohost.org/t/etherpad-lite-package/68
**Category:** Support apps
**Tags:** french, english
**Created:** [October 21, 2014, 12:34pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68 "2014-10-21T12:34:55Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![kload](https://forum.yunohost.org/user_avatar/forum.yunohost.org/kload/32/100_2.png) [@kload](https://forum.yunohost.org/u/kload)
#### Post date: [October 21, 2014, 12:34pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/1 "2014-10-21T12:34:56Z")

</div>

The Etherpad Lite package, made by @beudbeud, is about to be integrated to the official list.

Sources: [https://github.com/abeudin/etherpadlite\_ynh](https://github.com/abeudin/etherpadlite_ynh)

### Installation

```bash
sudo yunohost app install https://github.com/abeudin/etherpadlite_ynh

```

### Known issues

- The `node` package is broken on Raspberry Pi, due to a compilation incompatibility between Rpi CPU architecture and other ARMs. It leads to a segfault error when a node process is launched.
- The `multi_instance` parameter is set to `true`, thus the app uses only one database. (see [https://github.com/abeudin/etherpadlite\_ynh/issues/3](https://github.com/abeudin/etherpadlite_ynh/issues/3))
- The `upgrade` script is missing: [https://github.com/abeudin/etherpadlite\_ynh/blob/master/scripts/upgrade](https://github.com/abeudin/etherpadlite_ynh/blob/master/scripts/upgrade)

When those 3 things will be resolved, the package will be integrated.

Do not hesitate to help us by testing this package on your server and giving us feedbacks !

---

<div class="post-metadata">

### Author: ![xof](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xof/32/12_2.png) [@xof](https://forum.yunohost.org/u/xof)
#### Post date: [October 22, 2014, 10:10pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/2 "2014-10-22T22:10:21Z")

</div>

Does not work on my Banana Pi (OS=Bananian). I interrupted the installation, on a too long step.  
Executing step that I interrupted:

```
+ sudo /var/www/etherpadlite/bin/installDeps.sh

```

Error message :

```
^CError: Operation interrupted
sudo yunohost app install https://github.com/abeudin/etherpadlite_ynh 8.22s user 1.68s system 2% cpu 6:00.84 total

```

Now… Can you tell me if I’ve better to remove the aborted installation (how?) or if I’ve better to leave it as is. As far as I see, my Yunohost instance is still working…

Thanks

---

<div class="post-metadata">

### Author: ![kload](https://forum.yunohost.org/user_avatar/forum.yunohost.org/kload/32/100_2.png) [@kload](https://forum.yunohost.org/u/kload)
#### Post date: [October 22, 2014, 11:09pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/3 "2014-10-22T23:09:32Z")

</div>

```auto
^CError: Operation interrupted

```

You interrupted the process by typing `CTRL-C` 🙂

Try again “as is”, or contact us on the support chatroom if you want a test instance to try “safely”.

---

<div class="post-metadata">

### Author: ![xof](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xof/32/12_2.png) [@xof](https://forum.yunohost.org/u/xof)
#### Post date: [October 23, 2014, 11:09am UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/4 "2014-10-23T11:09:20Z")

</div>

OK… How else to stop than Ctrl-C ? I understood I had to be more patient. And tried again and… the installation finally completed. But… When I go in the application, I get a “502 Bad Gateway”. I will follow your advice and contact the support chatroom, probably this evening. Afterwards, you are human too, aren’you 😉 ?

Last: I want to say that despite its name, the installation of “Etherpad Lite”, including Node.js, is not “lite”.

---

<div class="post-metadata">

### Author: ![kload](https://forum.yunohost.org/user_avatar/forum.yunohost.org/kload/32/100_2.png) [@kload](https://forum.yunohost.org/u/kload)
#### Post date: [October 24, 2014, 9:15am UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/5 "2014-10-24T09:15:06Z")

</div>

Oh sorry, misread the part saying that you intentionally interrupted the installation…

To properly remove everything installed by etherpad, you can manually follow the commands contained in the `remove` script of the app:

> <https://github.com/abeudin/etherpadlite_ynh/blob/master/scripts/remove>

Then try the installation again 😉

---

<div class="post-metadata">

### Author: ![andrew](https://forum.yunohost.org/user_avatar/forum.yunohost.org/andrew/32/19_2.png) [@andrew](https://forum.yunohost.org/u/andrew)
#### Post date: [November 2, 2014, 8:53pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/6 "2014-11-02T20:53:42Z")

</div>

I installed the app successfully without errors. Nice work.

Does Etherpad Lite lack the Style and Size menus? Why did you choose to package the Lite version instead of the full one?

---

<div class="post-metadata">

### Author: ![kload](https://forum.yunohost.org/user_avatar/forum.yunohost.org/kload/32/100_2.png) [@kload](https://forum.yunohost.org/u/kload)
#### Post date: [November 7, 2014, 10:27am UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/7 "2014-11-07T10:27:25Z")

</div>

> [@andrew](#):
>
> Does Etherpad Lite lack the Style and Size menus?

The style and size menu seem to be removed from the last version of Etherpad Lite.

* * *

> [@andrew](#):
>
> Why did you choose to package the Lite version instead of the full one?

The etherpad Lite is far lighter than the “full one”, but above all it became the main project of [etherpad.org](http://etherpad.org/). We better keep following upstream 🙂

---

<div class="post-metadata">

### Author: ![Bachy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/bachy/32/30_2.png) [@Bachy](https://forum.yunohost.org/u/Bachy)
#### Post date: [December 9, 2014, 10:59am UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/8 "2014-12-09T10:59:03Z")

</div>

Salut,

Installation fonctionnelle sur YunoHost !

Merci beaucoup !

---

<div class="post-metadata">

### Author: ![bacardi55](https://forum.yunohost.org/user_avatar/forum.yunohost.org/bacardi55/32/56_2.png) [@bacardi55](https://forum.yunohost.org/u/bacardi55)
#### Post date: [December 9, 2014, 1:04pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/9 "2014-12-09T13:04:46Z")

</div>

Hi,

Not sure i should answer here or create another entry. I tried to install etherpad today via @beudbeud package but i couldn’t access it after the install was successful. I have a nginx error: bad getway and found this in the logs:

```
2014/12/09 12:55:55 [error] 23356#0: *30244 connect() failed (111: Connection refused) while connecting to upstream, client: X.X.X.X, server: …, request: "GET /pad/ HTTP/1.1", upstream: "http://127.0.0.1:9001/", host: "…", referrer: "https://…" 

```

In etherpad logs, I have these:

```
Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
npm WARN package.json async-stacktrace@0.0.2 No repository field.
npm WARN package.json channels@0.0.4 No repository field.
npm WARN package.json ejs@0.6.1 No repository field.
npm WARN package.json formidable@1.0.9 No repository field.
npm WARN package.json jsdom-nocontextifiy@0.2.10 'repositories' (plural) Not supported.
npm WARN package.json Please pick one as the 'repository' field
npm WARN package.json tinycon@0.0.1 No repository field.
Ensure jQuery is downloaded and up to date...
Clear minfified cache...
ensure custom css/js files are created...
start...
[2014-12-09 13:03:52.209] [ERROR] console - ERROR: Problem while initalizing the database
[2014-12-09 13:03:52.211] [ERROR] console - Error: connect ECONNREFUSED
    at errnoException (net.js:901:11)
    at Object.afterConnect [as oncomplete] (net.js:892:19)
    --------------------
    at Protocol._enqueue (/var/www/etherpadlite/src/node_modules/ueberDB/node_modules/mysql/lib/protocol/Protocol.js:135:48)
    at Protocol.handshake (/var/www/etherpadlite/src/node_modules/ueberDB/node_modules/mysql/lib/protocol/Protocol.js:52:41)
    at Connection.connect (/var/www/etherpadlite/src/node_modules/ueberDB/node_modules/mysql/lib/Connection.js:109:18)
    at Connection._implyConnect (/var/www/etherpadlite/src/node_modules/ueberDB/node_modules/mysql/lib/Connection.js:387:10)
    at Connection.query (/var/www/etherpadlite/src/node_modules/ueberDB/node_modules/mysql/lib/Connection.js:174:8)
    at exports.database.init (/var/www/etherpadlite/src/node_modules/ueberDB/mysql_db.js:59:6)
    at exports.database.init (/var/www/etherpadlite/src/node_modules/ueberDB/CacheAndBufferLayer.js:110:18)
    at exports.database.init (/var/www/etherpadlite/src/node_modules/ueberDB/CloneAndAtomicLayer.js:48:11)
    at Object.exports.init (/var/www/etherpadlite/src/node/db/DB.js:41:6)
    at async.waterfall.hooks.aCallAll.settings (/var/www/etherpadlite/src/node/server.js:62:8)
RESTART!
```

---

<div class="post-metadata">

### Author: ![m2f0u4d](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/46a35a/32.png) [@m2f0u4d](https://forum.yunohost.org/u/m2f0u4d)
#### Post date: [May 22, 2015, 2:14pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/10 "2015-05-22T14:14:28Z")

</div>

just changed the nodejs installation source.  
Etherpadlite now works as expected on bananian

---

<div class="post-metadata">

### Author: ![s0r00t](https://forum.yunohost.org/user_avatar/forum.yunohost.org/s0r00t/32/125_2.png) [@s0r00t](https://forum.yunohost.org/u/s0r00t)
#### Post date: [May 25, 2015, 4:26pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/11 "2015-05-25T16:26:29Z")

</div>

Etherpad isn’t running on subdomains, instead it returns a 502 error.  
Test site : [pad.courtial.me](http://pad.courtial.me)

---

<div class="post-metadata">

### Author: ![m2f0u4d](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/46a35a/32.png) [@m2f0u4d](https://forum.yunohost.org/u/m2f0u4d)
#### Post date: [May 27, 2015, 9:47am UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/12 "2015-05-27T09:47:08Z")

</div>

ok just started from scratch again…

---

<div class="post-metadata">

### Author: ![m2f0u4d](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/46a35a/32.png) [@m2f0u4d](https://forum.yunohost.org/u/m2f0u4d)
#### Post date: [May 27, 2015, 9:54am UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/13 "2015-05-27T09:54:48Z")

</div>

…in a ssh session on bananian I just ran

```
sudo yunohost app install https://github.com/m2f0u4d/etherpadlite_ynh

```

Worked 4 me as mentioned before  
If you still get 502, run

```
curl -sL https://deb.nodesource.com/setup | bash -

```

before app install

---

<div class="post-metadata">

### Author: ![s0r00t](https://forum.yunohost.org/user_avatar/forum.yunohost.org/s0r00t/32/125_2.png) [@s0r00t](https://forum.yunohost.org/u/s0r00t)
#### Post date: [May 27, 2015, 10:22pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/14 "2015-05-27T22:22:53Z")

</div>

Thanks for the tip, it now works.  
Is there any admin panel in EtherpadLite? So we could change name of install, etc…

---

<div class="post-metadata">

### Author: ![Maniack\_Crudelis](https://forum.yunohost.org/user_avatar/forum.yunohost.org/maniack_crudelis/32/13_2.png) [@Maniack\_Crudelis](https://forum.yunohost.org/u/Maniack_Crudelis)
#### Post date: [May 28, 2015, 10:04pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/15 "2015-05-28T22:04:02Z")

</div>

Edit the setting.json and modify:

```
"requireAuthorization": true,

```

Uncomment

```
  "users": {
    "admin": {
      "password": "changeme1",
      "is_admin": true
    },
    "user": {
      "password": "changeme1",
      "is_admin": false
    }
  },

```

Edit the nginx config file and add:

```
proxy_redirect / /pad/;

```

after

```
proxy_pass http://localhost:9001/;

```

Restart nginx and etherpadlite.  
Acces to admin panel at /admin

But, the admin panel is empty…  
I have an nginx error:

```
2015/05/29 00:03:03 [error] 8390#0: *517 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.67, server: crudelis-test.fr, request: "GET /pad/static/js/l10n.js HTTP/1.1", upstream: "http://[::1]:9001/static/js/l10n.js", host: "crudelis-test.fr", referrer: "https://crudelis-test.fr/pad/"
```

---

<div class="post-metadata">

### Author: ![Adrienb](https://forum.yunohost.org/user_avatar/forum.yunohost.org/adrienb/32/124_2.png) [@Adrienb](https://forum.yunohost.org/u/Adrienb)
#### Post date: [May 29, 2015, 12:15am UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/16 "2015-05-29T00:15:27Z")

</div>

First, sorry for my bad english.

For fix the nodejs error, i have created a tutorial in my blog.  
I have tested it in on my RaspberryPi server and it work for me.  
[http://blog.abhd.fr/wiki/mon-pense-bete/#nodejs](http://blog.abhd.fr/wiki/mon-pense-bete/#nodejs) (french)  
[https://abhd.fr/pad/p/r.716555d1ac33d95c0a65e4c1a033d791](https://abhd.fr/pad/p/r.716555d1ac33d95c0a65e4c1a033d791) (english)

---

<div class="post-metadata">

### Author: ![sauko](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sauko](https://forum.yunohost.org/u/sauko)
#### Post date: [May 10, 2016, 8:03pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/17 "2016-05-10T20:03:30Z")

</div>

Hi @Adrienb , the links are broken, could you reproduce the tutorial somewhere?

Thanks!

---

<div class="post-metadata">

### Author: ![Bachy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/bachy/32/30_2.png) [@Bachy](https://forum.yunohost.org/u/Bachy)
#### Post date: [July 10, 2016, 6:58pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/18 "2016-07-10T18:58:14Z")

</div>

Hi,  
i made an update of etherpadlite\_ynh package because i need it on a 2.4 ynh instance  
it works well so far on my testing server (proxmox deb8 container)  
it’s my first package, i followed the documentation but there may be some errors …  
backup and restore are not implemented yet, i’ll do it soon as ther’s not to much things to backup with etherpad  
if some of you want to test it : [https://github.com/bachy/etherpadlite\_ynh](https://github.com/bachy/etherpadlite_ynh)  
i wait for more test before i make a pull request  
cheers

---

<div class="post-metadata">

### Author: ![1xPdd](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/1/a88e4f/32.png) [@1xPdd](https://forum.yunohost.org/u/1xPdd)
#### Post date: [July 10, 2016, 10:09pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/19 "2016-07-10T22:09:32Z")

</div>

Cool! Not having this has been a real headache. Thanks.

---

<div class="post-metadata">

### Author: ![Bachy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/bachy/32/30_2.png) [@Bachy](https://forum.yunohost.org/u/Bachy)
#### Post date: [July 10, 2016, 10:30pm UTC](https://forum.yunohost.org/t/etherpad-lite-package/68/20 "2016-07-10T22:30:45Z")

</div>

de nada 🙂  
backup and restore script added, didn’t tested it …  
and updated etherpad to 1.6.0

[Next page](https://forum.yunohost.org/t/etherpad-lite-package/68.md?page=2)
