Open JoeyGH opened 1 year ago
Hello @JoeyGH Docker specifies Google DNS servers by default. If your ONLYOFFICE Workspace server is not going to have access to the Internet, we recommend that you change the default Docker DNS address to the address of your local DNS server. To do that go to the /etc/default/docker
file and change the IP address in the following line to the IP address of a DNS server in your local network:
docker_OPTS="--dns 8.8.8.8"
More information in our guide.
Hello @Carazyda, thank you for your reply. I already tried that and set the DNS to my local DNS server, but still, working very slowly as before. Is there a specific file inside community server's docker container that I can edit to prevent it from trying to access the internet?
Did you restart docker service? Also please try to reinstall Onlyoffice containers.
I restarted the docker service and I also restarted the whole computer. Won't I lose all the data if I reinstall OnlyOffice containers? I installed everything using a bash script, provided on OnlyOffice website. The script installed communityserver, controlpanel, documentserver, elastisearch and mysql containers.
If you installed using our script (workspace-install.sh) - all data is stored in the /app/ folder. Only if you haven't made changes to the configs inside the container. You can remove all containers and run the script again for a fresh install.
Hi, I am deploying on a private network without a DNS server. My current solution is to set the DNS timeout to 1 second. Currently, it still takes about 2 seconds to switch menus. What should I do? Can you give me some advice?
Document Server version: communityserver 12.1.0.1760 Type of installation: Docker OS: Linux Debian 11 Hardware: 4 core (8 threads) CPU, 16 GB of RAM
I have a Docker version of Community Server installed on linux - Debian 11. When Debian had access to the internet, everything was working smoothly. Now I disabled the internet access and for some reason, everything is working extremely slowly. It doesn’t matter if I access the server/app via browser or OnlyOffice Editors, every request takes almost 10 seconds to complete.
For example, if I just go to the initial page via browser and click on “Documents”, it takes around 10 seconds to show me my documents page. If I open a document, it takes around 10 seconds to load the document. If I switch pages, for example from “Documents” to “Projects” or “CRM” or “People”, it takes around 10 seconds to switch to that page. Literally every request (or every click) I make on the website takes that long.
I checked resource consumption and CPU usage only stays at around 20%, there’s more than enough memory left and more than enough disk space left.
I assume that the server is trying to access the web for some reason and waits for some kind of timeout, since it doesn’t have internet access.
What should I do? How do I speed this up? I can’t give it internet access for security reasons. Server is only accessible via local network.