Stirling-Tools / Stirling-PDF

#1 Locally hosted web application that allows you to perform various operations on PDF files
https://stirlingpdf.com
MIT License
43.34k stars 3.51k forks source link

unable to open pdf in view-pdf #1375

Closed nmersi closed 3 months ago

nmersi commented 4 months ago

Surely I'm doing something wrong but I cannot find what. I'm using docker to deploy stirlingpdf. The image is frooodle/s-pdf:latest If I choose "View PDF" i'm not able to open any file, I cannot find hou pdf to be viewed/annotated are opened. The function high on the right (open file) do not work.

Thank you

the docker-compose.yml file is the following:

version: '3.3'
services:
  stirling-pdf:
    image: frooodle/s-pdf:latest
    restart: unless-stopped
    ports:
      - '8888:8080'
    volumes:
      - ./trainingData:/usr/share/tessdata #Required for extra OCR languages
      - ./extraConfigs:/configs
      - ./customFiles:/customFiles/
      - ./trainingData:/usr/share/tessdata
#      - ./logs:/logs/
    environment:
      - DOCKER_ENABLE_SECURITY=false
      - INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false
      - ENDPOINTS_TO_REMOVE=cert-sign,remove-cert-sign,change-permissions
      - UI_APP_NAME=PDF Tools
      - UI_HOME_DESCRIPTION=Comune di Sesto Fiorentino Tools per la manipolazione PDF
      - UI_APP_NAVBAR_NAME=Stirling PDF
      - LANGS=it_IT
Frooodle commented 4 months ago

can you try with 0.25.2

nmersi commented 3 months ago

Sorry for my late answer, I have updated to 0.26.0 I did not noticed that the problem is present only with firefox browser, with chrome the button to open a file in viewer works.