jgraph / docker-drawio

Dockerized draw.io based on whichever is the most secure image at the time.
GNU General Public License v3.0
1.49k stars 361 forks source link

Problem with docker image 20.1.1 #109

Closed Bazis007 closed 11 months ago

Bazis007 commented 2 years ago

I am running draw.io with docker-compose. After updating i got error:

drawio    | 0-3
drawio    | Offline cpus:
drawio    |
drawio    | BIOS frequency limitation:
drawio    | <Not Available>
drawio    | Frequency switch latency (ns):
drawio    | 0
drawio    | Available cpu frequencies:
drawio    | <Not Available>
drawio    | Current governor:
drawio    | powersave
drawio    | Core performance/turbo boost:
drawio    | <Not Available>
drawio    |
drawio    | Memory: 4k page, physical 16280128k(10191464k free), swap 18845692k(18845692k free)
drawio    |
drawio    | vm_info: OpenJDK 64-Bit Server VM (11.0.15+10) for linux-amd64 JRE (11.0.15+10), built on Apr 19 2022 21:36:55 by "" with gcc 7.5.0
drawio    |
drawio    | END.
drawio    | Cannot find /usr/local/tomcat/bin/setclasspath.sh
drawio    | This file is needed to run this program

When I rollback to pervious version, problem was gone (to 20.0.4).

My docker compose:

version: '3.5'
services:
  drawio:
    image: jgraph/drawio
    container_name: drawio
    restart: unless-stopped
    ports:
      - 23080:8080
      - 23443:8443
    environment:
      PUBLIC_DNS: drawio.averus.org
      ORGANISATION_UNIT: unit
      ORGANISATION: org
      CITY: city
      STATE: state
      COUNTRY_CODE: country
#    healthcheck:
#      test: ["CMD-SHELL", "curl -f http://domain:8080 || exit 1"]
#      interval: 1m30s
#      timeout: 10s
#      retries: 5
#      start_period: 10s

git log:

Author: Ashraf Teleb <ashraf.teleb85@gmail.com>
Date:   Tue Jul 12 11:49:22 2022 +0200

    Updated image export base image

commit d818a34a39634cdd9d8c643b227716e053fab8ef
Author: Ashraf Teleb <ashraf.teleb85@gmail.com>
Date:   Thu Jun 30 18:59:57 2022 +0200

    Moving to tomcat 9 base image

commit 1f0eed7a2519011f9fee840eeceb8c5357d27ac1
Author: David Benson <david@jgraph.com>
Date:   Thu Jun 30 10:26:43 2022 +0100

    Update README.md

commit c153de6eee25404bd644b6cf9307bf95337f7215
Author: David Benson <david@jgraph.com>
Date:   Thu Jun 30 10:24:37 2022 +0100

    Switches to official tomcat docker image
SalehCoder commented 1 year ago

I have the same issue here and the docker-compose container hasn't been working for months until I stumbled to your post. I've rolled back to the version you have suggested (20.0.4) and it's working fine for now.

Alderaaan commented 1 year ago

Hello, Some news about that ?, same error on my side. The 20.0.4 works. @SalehCoder, @Bazis007 are you solved this issue on your side ?

tks

m-mohamedin commented 11 months ago

Is this still an issue in the latest version?