-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
How to import pdf and images in etherpad on jitsi meet #6159
Comments
There is this plugin by @citizenos https://www.npmjs.org/package/ep_image_upload and this one for PDFs: https://www.npmjs.org/package/ep_print_preview_pdf |
okay with these plugins can i export pdf and images files please explain |
can you tell how to add these plugins in etherpad.yml file |
esppecially PDFs: https://www.npmjs.org/package/ep_print_preview_pdf |
just tell how to add these plugins |
You need to map src/installed_plugins and can then install your plugins via /admin in your browser |
can you please elaborate this |
You need to add a volume ./my-plugins:/opt/etherpad-lite/src/plugin_packages. After that start Etherpad. Go to http:///admin. Enter there the password of the user that you assigned to in the settings.json and from there you can just point and click and install plugins as you wish. |
i have no settings.json i have only etherpad.yml services: abiword:
|
Try this: version: '3.0'
services:
etherpad:
image: etherpad/etherpad:1.9.6
restart: ${RESTART_POLICY:-unless-stopped}
environment:
- TITLE=${ETHERPAD_TITLE}
- DEFAULT_PAD_TEXT=${ETHERPAD_DEFAULT_PAD_TEXT}
- SKIN_NAME=${ETHERPAD_SKIN_NAME}
- SKIN_VARIANTS=${ETHERPAD_SKIN_VARIANTS}
- SUPPRESS_ERRORS_IN_PAD_TEXT=true
- "NODE_ENV=production" # Adding this line to set NODE_ENV to production
- "EP_IMAGE_UPLOAD__STORAGE__TYPE=base64" # Set the storage type to base64
- "EP_IMAGE_UPLOAD__FILETYPES=jpeg,jpg,bmp,gif,png" # Specify allowed file types
- "EP_IMAGE_UPLOAD__MAXFILESIZE=5000000" # Set max file size in bytes
- "EP_PRINT_PREVIEW_PDF__FILE_NAME=etherpad.pdf" # Specify the PDF file name
- "WORKER_INIT_TIMEOUT=20000"
networks:
meet.jitsi:
aliases:
- etherpad.meet.jitsi
volumes:
- ./my-plugins:/opt/etherpad-lite/src/plugin_packages
- ./settings.json:/opt/etherpad-lite/settings.json
abiword:
image: debian:stable
command: >
sh -c "apt-get update && apt-get install -y --no-install-recommends abiword ispell aspell hunspell aspell-en &&
apt-get clean && rm -rf /var/lib/apt/lists/*" |
this is the error i am getting |
do i need install these files - ./my-plugins:/opt/etherpad-lite/src/plugin_packages |
Oh remove the settings.json folder, copy the settings.json content from GitHub and create a local settings.json file with the copied content. Then do docker-compose up -d |
it is not working abiword: this is settings.json file /*
/*
/*
*/ /*
/*
/*
/*
/* /*
"dbType": "dirty", /*
/* /*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
}, /*
/*
/*
}, /*
*/ /* /*
"socketIo": { /*
/**
/*
/* /*
}, /*
/*
}, /*
/* /*
/*
/* Override any strings found in locale directories */ /* Disable Admin UI tests */ /*
|
i have tried everything it is not still working |
Could you please elaborate what the error is and please format your code appropriately. I can't really read it. You need to put 3 ` around it. |
settings.json abiword: |
okay now i know how to adfd plugins but ep_print_preview_pdf cant be installed |
the ep_print_preview_pdf is not working |
okay tell me how to install libreoffice for etherpad |
To install Libreoffice you need to create your own Docker Image and set INSTALL_SOFFICE to true. That will install Libreoffice for you. |
where to set the set INSTALL_SOFFICE to true. in which file and of what i have to create docker image |
docker build --build-arg INSTALL_SOFFICE=true . in the root directory of Etherpad |
yu mean in the etherpad container |
I meant on the host system where you have docker installed. Then you need to replace etherpad/etherpad:1.9.6 with your tag. |
can you please guide me |
okay libreoffice is now working but how to add the ep_image_upload plugin in my new custom container |
You need to do that in the build: |
i tried this but it is giving me this error every single time npm ERR! A complete log of this run can be found in: |
this is the error i am getting after the image is built and the plugin is working |
Interesting. So you used the Dockerfile on the develop branch and you still get that error? |
hi i am running jitsi meet through docker and i want to import pdf files and images it is given in the etherpad website how to do it but not in a detailed way can you please help me with this
this is my etherpad.yml file
version: '3.5'
services:
etherpad:
image: etherpad/etherpad:1.9.6
restart: ${RESTART_POLICY:-unless-stopped}
environment:
networks:
meet.jitsi:
aliases:
if you need any config files please ask
The text was updated successfully, but these errors were encountered: