Install my instance of Etherpad Lite on raspberrypi (apache)

Hi everyone,

I know it can seem to be a bad place to ask for help on etherpad but I think many people can be interested in setting up a light collaboration tool from A to Z on their personal cloud installation. The easier it will get to install new features, the more nextcloud will be attractive.

So, I set up my nextcloud instance on my raspberry pi and it works like a charm. Now I want to set up an online text collaboration solution for my friends and I. I first thought of onlyoffice and collabora online but quickly realized it required way to much computational power to run on my raspberry. Etherpad Lite seemed to be exactly what I need, so I installed ownpad and got it to work using a public instance of etherpad. This is great but :

  1. I would like to be able to add my own plugins so that I can put pictures and other cool stuff.
  2. I want to be 100% selfhosted
  3. I just discovered etherpad but I find it really awesome and want to get to know it better.

For these good reasons, I want to get my own instance of Etherpad up and running ! I followed tutorials to install etherpad lite and got it to work on localhost by typing in the url the ip adress of my raspberry followed by :9001 (so 192.168.0.17:9001 --> I’m french). Then I got more familiar with the concept of virtualhost using this very good tutorial [ https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts ] and bought a real domain name (not a no-ip one because it wouldn’t work) that I managed to link to the virtualhost. Let’s say it’s “example.com”. From there I modified the virtualhost listening to example.com following the instructions I found there [ https://github.com/ether/etherpad-lite/wiki/How-to-put-Etherpad-Lite-behind-a-reverse-Proxy ] using the section dedicated to apache and replaced “etherpad.domain.org” by “example.com” and activated all the services ( mod_proxy , mod_proxy_http , mod_headers , proxy_wstunnel , mod_deflate and mod_rewrite). BUT IT DOESN’T WORK !!! I get the following error :


Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Apache/2.4.25 (Raspbian) Server at example.com Port 80


I really feel like I am missing something. I want to access my instance through “example.com” and thought setting up a reverse proxy would be the right way to do it, but now I am not sure anymore. Maybe reverse proxy just has nothing to do with what I am trying to do. Please help <3

Server version: Apache/2.4.25
Php version : PHP 7.0.30-0+deb9u1 (cli)

Operating system and version :
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.4 (stretch)
Release: 9.4
Node.js is up to date
I don’t have ssl activated

Not sure if I understand you correctly, you want to make url of etherpad a sub-domain of your nextcloud?
Quite some people here set up a wordpress server with their nextcloud that way. Read their posts may give you some insight.

Thanks for your answer. What I want to do in a nutshell is just install etherpad lite on my apache server and access it from url like any website.
My final goal is to use my own instance of etherpad in the ownpad plugin. For now in the ownpad parameters I use : https://etherpad.wikimedia.org/
and I would like to use my own instance http://example.com

Thanks :slight_smile: