Websoft9Archive / ansible-seafile

Automatic installation for Seafile on Linux(Seafile 自动安装程序)
Other
2 stars 1 forks source link

doc file preview error #7

Closed chendelin1982 closed 3 years ago

chendelin1982 commented 3 years ago

Offer ID: cmjj00043548 version: 3.7.5-new (but it is 3.7.4 actually)

image

chendelin1982 commented 3 years ago

Is /data/wwwroot/seafile/connect-onlyoffice.conf not correct?

chendelin1982 commented 3 years ago

3.7.4 need to restart Docker, but new image have not error

chendelin1982 commented 3 years ago

![Uploading image.png…]()

chendelin1982 commented 3 years ago

I use Seafile8.0.4 community, connect OnlyOffice by http (not https), the error below image

then, I modify onlyofficedocumentserver, set - JWT_ENABLED=flase, and I can edit docs

version: '3'
services:     
  onlyoffice-document-server:
    container_name: onlyoffice-docs
    image: onlyoffice/documentserver:6.0.2
    stdin_open: true
    tty: true
    restart: always
    environment:
     - JWT_ENABLED=flase
     - JWT_SECRET=jwt_secret
     - JWT_HEADER=AuthorizationJwt
    ports:
     - '9003:80'
    expose:
      - '80'
      - '443'
    volumes:
       - ./document_data:/var/www/onlyoffice/Data
       - ./document_log:/var/log/onlyoffice
       - ./document_fonts:/usr/share/fonts/truetype/custom
       - ./document_forgotten:/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten

image

qiaofeng1227 commented 3 years ago

Done