However, I’ve succeeded in creating a docker container with an environment where the documentserver works without any problems (at least I’m not avare of any and I’ve been using it every day for at least 2 months now).
The only requirements are docker, docker-compose and time as the creation of the docker image takes quite a long while. Make a coffee, make yourself comfortable and after some time, it will install.
I download your Docker-DocumentServer-Arm64 form github.
but the docservice can’t work.What should I do?
/var/www/onlyoffice/documentserver/server/DocService/docservice: cannot execute binary file: Exec format error
dear,I checked your image(sudo apt install qemu qemu-user-static binfmt-support). the packages are installed. and onlyoffice has run successfully.
root@577b17745f89:/# sudo apt list qemu binfmt-support qemu-user-static
binfmt-support/stable,now 2.2.1-1 arm64 [installed]
qemu-user-static/bullseye-backports,now 1:6.2+dfsg-2~bpo11+1 arm64 [installed]
qemu/bullseye-backports,now 1:6.2+dfsg-2~bpo11+1 arm64 [installed] When I perform its example, the following error occurred：
root@23622424a194:/# sudo supervisorctl start ds:example
ds:example: ERROR (spawn error) In documentserver-example log file has the following error message:
supervisor: couldn’t exec /var/www/onlyoffice/documentserver-example/example: ENOEXEC
supervisor: child process was not spawned
These packages should be installed on your system. Don’t worry about what’s in the image, you have to install it on the host. For whatever reason they don’t work if they’re only in the container, they have to be on the host as well. I mention this in the README on DockerHub and on GitHub in the Requirements section.
Please install the packeges sudo apt install qemu binfmt-support qemu-user-static on your host and tell me if it works.
many thanks. My os is centos 7 arm64. I tryed to install qemu ** on my system.But very difficult. CentOS yum repo don’t have those packages. Anybody has solution？although I’ve succeeded in creating a docker container base on your docker container and cwdata-com compiled onlyOffice for aarch64 architecture.
Please migrate away from CentOS as fast as possible. That OS is End Of Life, it won’t be receiving any updates and considering you want to run it as a server, it is a really bad idea as there won’t be any security patches. I’m sorry but I can’t help you with this one. I’m not installing EOL OS on my Pi to figure out how to get package for a OS that isn’t supported anymore.