I’im currently installing onlyoffice-documentserver on a Debian server without internet acess, i did clone the entire onlyoffice repository.
The problem occurs when installing the package, the installer is trying to get sourceforge.net/sourceforge/corefonts/arialb32.exe to download however it’s impossible in my environment.
Is it possible to improve this process or include the package somewhere ? make it a dependency ?
I’m not sure that I understand your whole installation steps, but I assume that the best way to deploy Document server on the server without access to Internet is the docker installation. Could you please follow and check the result?
- Download image with ONLYOFFICE Document Server from the official repository from the DockerHub on a server with Internet access using command:
sudo docker pull onlyoffice/documentserver
- Save image as files with the command:
sudo docker save -o documentserver.docker onlyoffice/documentserver
- Transfer image file to a machine without Internet access and deploy them as Docker images with the command:
sudo docker load -i documentserver.docker
More information can be found in the article at the link (offline files - Downloading docker image for transfer to non-internet-connected machine - Server Fault).
- Execute following command to run a new Docker container with Document Server:
sudo docker run -i -t -d -p 80:80 -p 443:443 --name=onlyoffice-document-server --restart=always \
-v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
-v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice \
-v /app/onlyoffice/DocumentServer/db:/var/lib/postgresql onlyoffice/documentserver
Hi Alexandre thanks for you kind reply.
I believe this has nothing to do with the onlyoffice package, for security reasons i do not want to run containers on my servers.
This problem occurs when configuring the package ttf-mscorefonts-installer
I managed to offline download the fonts manually here Microsoft's TrueType core fonts download | SourceForge.net
# Dropping fonts into fonts directory
scp corefonts/*.exe user@server:/usr/local/share/corefonts/
# Configure package to set fonts path
echo "ttf-mscorefonts-installer msttcorefonts/dldir string /usr/local/share/corefonts" | debconf-set-selections
# Finish installation
dpkg --configure -a
# If dependencies are missing
apt install -f
Oh, does it mean that the issue is solved?
Yes it is.
I’ll be glad to help for the documentation or to find a better way to run Onlyoffice docs server in an internet isolated environment.
You can post your whole guide here, so it will help other users in the same situations. The guide which I posted was tested before (docker), so it should work. But if you want to share your steps, please feel free to do it.