Description
Description
I self-host cryptpad using docker cryptpad/cryptpad:version-2025.3.1
. Set CPAD_INSTALL_ONLYOFFICE
env variable to "yes" and restarted container. Cryptpad keeps working fine but OnlyOffice documents are still not available.
Then I ran install-onlyoffice.sh
script manually inside the container and got an error regarding "less" - command was not found.
It seems that this line causes the issue: https://github.com/cryptpad/cryptpad/blob/main/install-onlyoffice.sh#L121
. Docker image is missing "less" shell command, but the install script requires it.
Installing less
solves the issue.
Steps to reproduce
- Install cryptpad using docker
- Set "CPAD_INSTALL_ONLYOFFICE" env variable to "yes"
- Restart container
Relevant logs
Expected behavior
Onlyoffice is installed upon container startup and Onlyoffice's documents are available for creation in Cryptpad.
Which operating system are you using?
Linux/BSD/UNIX
What browsers are you seeing the problem on?
Microsoft Edge
Extensions
None
Version
2025.3.0