Hi supporter.
I 'm trying to setup python.example on a docker. after install sucessfully, to access is abnormality
the problem is:
- GET /static/images/download.svg or css is 404 error.
- when I edit new file , i get blank page.
- I trying to direct access onlyoffice document-server server is normal. as edit, views is OK.
browser show:
I can’t upload picture,
when I create new file . I get blank page. such as link "http://192.168.163.130/edit?filename=new%20(7).docx"
docker status:
[root@template Python_Example]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
15e49c33145b onlyoffice/documentserver:7.5 "/app/ds/run-documen…" About an hour ago Up 29 minutes 80/tcp, 443/tcp document-server
54f7eea4500f python_example_example:latest "make server-prod" About an hour ago Up 29 minutes 80/tcp example
554f60847aa7 python_example_proxy:latest "/docker-entrypoint.…" About an hour ago Up 29 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp proxy
compose-base.yml:
version: "3.8"
services:
document-server:
container_name: document-server
image: onlyoffice/documentserver:7.5
expose:
- "80"
environment:
- JWT_SECRET="TxGbNM9hcZG9BBEdib1GYdJDZrO0iqlJ"
example:
container_name: example
image: python_example_example:latest
expose:
- "80"
environment:
- ADDRESS=0.0.0.0
- DOCUMENT_SERVER_PRIVATE_URL=http://proxy:8080
- DOCUMENT_SERVER_PUBLIC_URL=http://localhost:8080
- EXAMPLE_URL=http://proxy
- JWT_SECRET="TxGbNM9hcZG9BBEdib1GYdJDZrO0iqlJ"
- PORT=80
proxy:
container_name: proxy
image: python_example_proxy:latest
ports:
- "80:80"
- "8080:8080"
proxy logs :
192.168.163.1 - - [29/Feb/2024:02:36:25 +0000] "GET /create?fileType=word HTTP/1.1" 302 5 "http://192.168.163.130/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:36:26 +0000] "GET /edit?filename=new%20(6).docx HTTP/1.1" 200 19355 "http://192.168.163.130/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:36:26 +0000] "GET /static/css/editor.css HTTP/1.1" 404 190 "http://192.168.163.130/edit?filename=new%20(6).docx" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:36:27 +0000] "GET / HTTP/1.1" 200 75189 "http://192.168.163.130/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:36:27 +0000] "GET /static/images/desktop.svg HTTP/1.1" 404 190 "http://192.168.163.130/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:36:27 +0000] "GET /static/images/mobile.svg HTTP/1.1" 404 190 "http://192.168.163.130/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:36:27 +0000] "GET /static/images/comment.svg HTTP/1.1" 404 190 "http://192.168.163.130/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:36:27 +0000] "GET /static/images/review.svg HTTP/1.1" 404 190 "http://192.168.163.130/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:36:27 +0000] "GET /static/images/block-content.svg HTTP/1.1" 404 190 "http://192.168.163.130/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:36:27 +0000] "GET /static/images/embeded.svg HTTP/1.1" 404 190 "http://192.168.163.130/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:36:27 +0000] "GET /static/images/download.svg HTTP/1.1" 404 190 "http://192.168.163.130/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:36:27 +0000] "GET /static/images/delete.svg HTTP/1.1" 404 190 "http://192.168.163.130/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:37:15 +0000] "GET /static/css/editor.css HTTP/1.1" 404 190 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
192.168.163.1 - - [29/Feb/2024:02:37:22 +0000] "GET /css/editor.css HTTP/1.1" 404 190 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
please help me , thank you!