Skip to content
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

Only Office Community version, file upload not synchronized #2730

Closed
1 task done
Mr-XuanSu opened this issue May 13, 2024 · 8 comments
Closed
1 task done

Only Office Community version, file upload not synchronized #2730

Mr-XuanSu opened this issue May 13, 2024 · 8 comments
Labels
question Issues that look for answers

Comments

@Mr-XuanSu
Copy link

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Docker

Version information

6.3.1.56

Expected Behavior

The results obtained by accessing the only office using IP: 8.130.96.170 are consistent with those obtained by accessing the only office using IP 119.165.74.130

Actual Behavior

The results of accessing two IPs are inconsistent. I found that when I upload files on IP: 8.130.96.170, I cannot view them when accessing the only office using IP: 119.165.74.130. I found that the uploaded files were all saved to the server under/onlyoffice//var/lib/onlyoffice/documentserver example/files, and then the files were saved separately based on their IP addresses.
For example:
I uploaded the a.docx file using IP: 8.130.96.170, and the file was saved under/onlyoffice/var/lib/onlyoffice/documentserver-example/files/8.130.96.170. When I access using IP: 119.165.74.130, I can only see files in the/onlyoffice//var/lib/onlyoffice/documentserver example/files/119.165.74.130 directory
Can I put all the uploaded files in one place and see consistent data regardless of which IP address I use to access them.

Reproduction Steps

No response

Additional information

image

@avdddd1111
Copy link

Hello @Mr-XuanSu !

Please update the document server to the latest version. And check if the issue persists. Since we only support the current latest version, and your issue may already be fixed in it.

@Rita-Bubnova Rita-Bubnova added the waiting feedback Issues that we waiting to be answered from author of issue label May 17, 2024
@Mr-XuanSu
Copy link
Author

I used Docker for deployment, I pulled the image again, and after running it, the situation remained the same
image

@avdddd1111
Copy link

Did you just download the image or update to a new one? The latest version now 8.0.1, you can see it in the editor left panel.
2024-05-20_10-46

@Mr-XuanSu
Copy link
Author

I am using the latest image, version 8.0.1.31
image

@Rita-Bubnova Rita-Bubnova removed the waiting feedback Issues that we waiting to be answered from author of issue label May 20, 2024
@avdddd1111
Copy link

Inside the Docker container, in the nginx config, set up a proxy to replace the IP in the X-Forwarded-For header with the proxy_host in /etc/nginx/includes/ds-example.conf. After that, restart nginx.
proxy_set_header X-Forwarded-For $proxy_host;
2024-05-20_14-07

@Rita-Bubnova Rita-Bubnova added question Issues that look for answers waiting feedback Issues that we waiting to be answered from author of issue labels May 20, 2024
@Mr-XuanSu
Copy link
Author

I made the modifications according to your configuration and restarted nginx. I also tried to restart the container, but still couldn't achieve the expected effect. If you have any requirements, I can enable SSH for your IP address and allow you to log in to the server to view it
image

@avdddd1111
Copy link

You used wrong path. Do it that:
cd /etc/nginx/includes nano ds-example.conf
change 13 line like this:
proxy_set_header X-Forwarded-For $proxy_host;

After save chanes and restart nginx
service nginx restart

If you want us to assist with support, you can contact us at sales@onlyoffice.com.

@Mr-XuanSu
Copy link
Author

My problem has been solved, thank you very much

@Rita-Bubnova Rita-Bubnova removed the waiting feedback Issues that we waiting to be answered from author of issue label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issues that look for answers
Projects
None yet
Development

No branches or pull requests

3 participants