Hello,
I am encountering an error in upgrading from 1.2.0 to 1.3.2:
dvproc@dicom-viewer-dev:~/radiology-viewer/osimis$ sudo docker-compose up --build
Creating network “osimis_default” with the default driver
Building orthanc
Step 1/2 : FROM osimis/orthanc:18.4.3
—> cfc764a534fe
Step 2/2 : COPY orthanc.json /etc/orthanc/
—> Using cache
—> cc5770e1bb26
Successfully built cc5770e1bb26
Successfully tagged osimis_orthanc:latest
Creating osimis_orthanc-index_1
Creating osimis_orthanc_1
Attaching to osimis_orthanc-index_1, osimis_orthanc_1
orthanc-index_1 | 2018-05-01 18:13:52.594 UTC [1] LOG: listening on IPv4 address “0.0.0.0”, port 5432
orthanc-index_1 | 2018-05-01 18:13:52.594 UTC [1] LOG: listening on IPv6 address “::”, port 5432
orthanc-index_1 | 2018-05-01 18:13:52.598 UTC [1] LOG: listening on Unix socket “/var/run/postgresql/.s.PGSQL.5432”
orthanc-index_1 | 2018-05-01 18:13:52.615 UTC [20] LOG: database system was shut down at 2018-05-01 18:10:01 UTC
orthanc-index_1 | 2018-05-01 18:13:52.621 UTC [1] LOG: database system is ready to accept connections
orthanc_1 | PLUGINS: Generating ‘/etc/orthanc/plugins.json’…
orthanc_1 | STORAGE: Generating ‘/etc/orthanc/storage.json’…
orthanc_1 | HTTP: Generating ‘/etc/orthanc/http.json’…
orthanc_1 | GENERAL: ‘/etc/orthanc/orthanc.json’ taking precendence over related env vars (note: file might have been generated from env vars during a previous start)
orthanc_1 | LISTENER: Generating ‘/etc/orthanc/remote-access.json’…
orthanc_1 | Startup command: Orthanc /etc/orthanc
orthanc_1 | W0501 18:13:53.020157 main.cpp:1298] Orthanc version: 1.3.2
orthanc_1 | W0501 18:13:53.021562 OrthancInitialization.cpp:168] Scanning folder “/etc/orthanc” for configuration files
orthanc_1 | W0501 18:13:53.021724 OrthancInitialization.cpp:120] Reading the configuration from: “/etc/orthanc/plugins.json”
orthanc_1 | W0501 18:13:53.022432 OrthancInitialization.cpp:120] Reading the configuration from: “/etc/orthanc/storage.json”
orthanc_1 | W0501 18:13:53.022537 OrthancInitialization.cpp:120] Reading the configuration from: “/etc/orthanc/remote-access.json”
orthanc_1 | W0501 18:13:53.022732 OrthancInitialization.cpp:120] Reading the configuration from: “/etc/orthanc/http.json”
orthanc_1 | W0501 18:13:53.022905 OrthancInitialization.cpp:120] Reading the configuration from: “/etc/orthanc/orthanc.json”
orthanc_1 | W0501 18:13:53.050019 main.cpp:671] Loading plugin(s) from: /usr/share/orthanc/plugins
orthanc_1 | W0501 18:13:53.050106 OrthancInitialization.cpp:1004] SQLite index directory: “/var/lib/orthanc/db”
orthanc_1 | E0501 18:13:53.050521 main.cpp:1324] Uncaught exception, stopping now: [SQLite: Unable to open the database] (code 1002)
orthanc_1 | W0501 18:13:53.050791 main.cpp:1357] Orthanc has stopped
osimis_orthanc_1 exited with code 255
It appears that SQLite can’t open the database created under 1.2.0. Is there a know SQLite incompatibility? I can successfully start the 1.2.0 version again, so the SQLite DB is basically intact.
I am using the following docker-compose.yml:
version: “2”
services:
orthanc:
build: orthanc
depends_on: [orthanc-index]
restart: unless-stopped
#ports: [“104:4242”, “8042:8042”]
ports: [“8042:8042”]
volumes: [“/mnt/disks/orthanc-db/storage:/var/lib/orthanc/db:Z”]orthanc-index:
image: postgres
restart: unless-stopped
volumes: [“/mnt/disks/orthanc-index/postgresql/data:/var/lib/postgresql/data:Z”]
Thanks in advance for your help,
Bill