Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no pads displayed #40

Open
robert-winkler opened this issue Nov 12, 2019 · 20 comments
Open

no pads displayed #40

robert-winkler opened this issue Nov 12, 2019 · 20 comments

Comments

@robert-winkler
Copy link

Hi, I just installed Etherpad on a webserver; it workes fine (actual github version).
I also installed the ep_adminpads via the admin/plugin manager.
However, I cannot see any Pads.
Could you please help me to fix this issue?
Best, Robert

@korablin
Copy link

Same here. Installed ep_adminpads 0.12 with etherpad 1.8.0.
It works with DirtyDB, but doesn't work when use Postgres as a backend db.

Maybe you could use https://etherpad.org/doc/v1.7.5/#index_listallpads ?
etherpad.company.com/api/1.2.13/listAllPads?apikey=fooBar

@schaumburg
Copy link

1.8.0 does not work. 1.7.5 working well. MySQL MariaDB.

@sellth
Copy link

sellth commented Jan 3, 2020

This was apparently fixed with 49a9ba2 but the changes are not published on npm yet.

Correction: Pad list shows up, but last edited column is still not working.

@lupa18
Copy link

lupa18 commented Mar 5, 2020

same here!

@t3k4y
Copy link

t3k4y commented Mar 6, 2020

1.8.0 does not work. MySQL MariaDB.

same here

@FredMa01
Copy link

Is there any easy way to delete pads and versions pads with etherpad 1.8 and MySQL ?
ep_adminpads was nice ;(
Thanks

@julianmiguel
Copy link

Not working for me too with 1.8 and mysql
It was a very nice plugin, can you update it
Thanks a lot

@buchdag
Copy link

buchdag commented Apr 7, 2020

Hi.

Not working with 1.8 + MySQL either.

@anoymouserver
Copy link

anoymouserver commented Apr 9, 2020

As mentioned here, the current master solves the main issue.

You could install the plugin directly from Github by running the following command as your etherpad user in the root directory:
npm install spcsser/ep_adminpads#49a9ba2
After that it should be enough to simply restart etherpad.

I've restricted it to the currently latest commit (49a9ba2). If that's unwanted remove the #49a9ba2 part.

@julianmiguel
Copy link

Thanks a lot for your answer but i dont really understand where i have to put this:
"ep_adminpads": "spcsser/ep_adminpads#49a9ba2"

I have a pakage.json in /src but it is not talking at all about the plugin
I have a package.json in /nodemodules/ep_adminpads
but nothing happen when i put the spcsser
thanks for your help

@anoymouserver
Copy link

Oh, apparently my Etherpad configuration is not the default anymore, since I've done some modifications. I also have a package.json inside the root directory.

I have updated my previous comment with a better way.

@julianmiguel
Copy link

thanks again but seems a new problem when installing npm :
[..................] - rollbackFailedOptional: verb npm-session 07801897eb57cbf3

hang

@FredMa01
Copy link

FredMa01 commented Apr 13, 2020

All thanks @anoymouserver your soluce with the command as the etherpad user in the root directory: ''npm install spcsser/ep_adminpads#49a9ba2'' is the soluce for me !
ep_adminpads 0.0.13 with etherpad-lite 1.8 is ok

@julianmiguel
Copy link

Working for me thanks a lot
dowload zip file unzip it in etherpad lite root folder
npm install package name

restart etherpad lite

Thanks

@thmo
Copy link

thmo commented Apr 15, 2020

So I guess the question goes to @spcsser: can you cut a new release to ease installation?

@LilaRest
Copy link

Working for me thanks a lot
dowload zip file unzip it in etherpad lite root folder
npm install package name

restart etherpad lite

Thanks

Precision for who that are not fluent with npm, linux, etc :

  1. Go into your etherpad lite root folder
  2. Retrieve the repository : wget https://github.com/spcsser/ep_adminpads/archive/master.zip
  3. Unzip the repository content : unzip master.zip
  4. Install the ep_adminpads plugin executing npm link ep_adminpads-master

@buchdag
Copy link

buchdag commented May 3, 2020

If you want to use the Docker version of Etherpad you'll have to build the image yourself.

This is the modified Dockerfile I'm using (based on 1.8.3):

# Etherpad Lite Dockerfile
#
# https://github.com/ether/etherpad-lite
#
# Author: muxator

FROM node:10-buster-slim
LABEL maintainer="Etherpad team, https://github.com/ether/etherpad-lite"

# plugins to install while building the container. By default no plugins are
# installed.
# If given a value, it has to be a space-separated, quoted list of plugin names.
#
# EXAMPLE:
#   ETHERPAD_PLUGINS="ep_codepad ep_author_neat"
ARG ETHERPAD_PLUGINS="spcsser/ep_adminpads"

# By default, Etherpad container is built and run in "production" mode. This is
# leaner (development dependencies are not installed) and runs faster (among
# other things, assets are minified & compressed).
ENV NODE_ENV=production

# Follow the principle of least privilege: run as unprivileged user.
#
# Running as non-root enables running this image in platforms like OpenShift
# that do not allow images running as root.
RUN useradd --uid 5001 --create-home etherpad

RUN mkdir /opt/etherpad-lite && chown etherpad:0 /opt/etherpad-lite

RUN apt update && apt install git -y

USER etherpad

WORKDIR /opt/etherpad-lite

COPY --chown=etherpad:0 ./ ./

# install node dependencies for Etherpad
RUN bin/installDeps.sh && \
	rm -rf ~/.npm/_cacache

# Install the plugins, if ETHERPAD_PLUGINS is not empty.
#
# Bash trick: in the for loop ${ETHERPAD_PLUGINS} is NOT quoted, in order to be
# able to split at spaces.
RUN for PLUGIN_NAME in ${ETHERPAD_PLUGINS}; do npm install "${PLUGIN_NAME}"; done

# Copy the configuration file.
COPY --chown=etherpad:0 ./settings.json.docker /opt/etherpad-lite/settings.json

# Fix permissions for root group
RUN chmod -R g=u .

EXPOSE 9001
CMD ["node", "node_modules/ep_etherpad-lite/node/server.js"]

and the diff:

@@ -13,7 +13,7 @@
 #
 # EXAMPLE:
 #   ETHERPAD_PLUGINS="ep_codepad ep_author_neat"
-ARG ETHERPAD_PLUGINS=
+ARG ETHERPAD_PLUGINS="spcsser/ep_adminpads"
 
 # By default, Etherpad container is built and run in "production" mode. This is
 # leaner (development dependencies are not installed) and runs faster (among
@@ -28,6 +28,8 @@
 
 RUN mkdir /opt/etherpad-lite && chown etherpad:0 /opt/etherpad-lite
 
+RUN apt update && apt install git -y
+
 USER etherpad
 
 WORKDIR /opt/etherpad-lite

@haivala
Copy link

haivala commented May 15, 2020

@spcsser: please! cut a new release to ease installation?

@rhansen
Copy link

rhansen commented May 17, 2020

I forked this repository, made a fix, and published the result as ep_adminpads2. Please try it out. If you have any problems, please open a new issue at https://github.com/rhansen/ep_adminpads2/issues.

@t3k4y
Copy link

t3k4y commented Jan 11, 2021

I forked this repository, made a fix, and published the result as ep_adminpads2. Please try it out. If you have any problems, please open a new issue at https://github.com/rhansen/ep_adminpads2/issues.

Thank you @rhansen - it works as expected!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests