Describe the bug
When trying to install the DICOM-Viewer in a docker container of Nextcloud, the described build steps fail due to an error with @ohif/app:build:viewer:nextcloud. It is possible to enable the Dicom-Viewer app (without downloading it, so the app itself is available), but .dcm-files are not opened, only downloaded.
Clone DICOM-Viewer app: cd apps, git clone https://github.com/ayselafsar/dicomviewer.git
Replace empty acanio-viewer folder with clone of the repo: rm -rf acanio-viewer, git clone https://github.com/acanio/acanio-viewer.git
Run build of DICOM-Viewer: npm run build (fails with exit code 1, see screenshots below)
Open Nextcloud on localhost:8080, login and enable the DICOM Viewer app.
Upload a .dcm-file and try to open it in browser.
Expected behavior
I can build the DICOM Viewer package, enable the DICOM-Viewer app in my Nextcloud and it displays .dcm files in the browser as intended.
Screenshots
Terminal output:
Trying to open a .dcm file after enabling the app shows this error message:
Client details:
OS: MacOS Sonoma 14.6.1
Device: Safari Desktop
Docker Desktop Version 4.33.0
Compose: v2.29.1-desktop.1
Engine: 27.1.1
Server details
**DICOM viewer app version:** 2.1.2
**Operating system**: Linux 6.10.0-linuxkit
**Web server:**
**Database:**
**PHP version:**
**Nextcloud version:** Nextcloud Hub 8 (29.0.6)
Logs
#### Nextcloud log (data/nextcloud.log)
```
Insert your Nextcloud log here
```
#### Browser log
```
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
```
Describe the bug When trying to install the DICOM-Viewer in a docker container of Nextcloud, the described build steps fail due to an error with
@ohif/app:build:viewer:nextcloud
. It is possible to enable the Dicom-Viewer app (without downloading it, so the app itself is available), but.dcm
-files are not opened, only downloaded.To Reproduce Steps to reproduce the behavior:
docker compose up -d
anddocker exec -it <containername> bash
apt-get -y update
+apt-get -y install git
nvm
as described in the homepagenpm install yarn
cd apps
,git clone https://github.com/ayselafsar/dicomviewer.git
acanio-viewer
folder with clone of the repo:rm -rf acanio-viewer
,git clone https://github.com/acanio/acanio-viewer.git
npm run build
(fails with exit code 1, see screenshots below)localhost:8080
, login and enable the DICOM Viewer app..dcm
-file and try to open it in browser.Expected behavior I can build the DICOM Viewer package, enable the DICOM-Viewer app in my Nextcloud and it displays .dcm files in the browser as intended.
Screenshots Terminal output:
Trying to open a
.dcm
file after enabling the app shows this error message:Client details:
Server details
**DICOM viewer app version:** 2.1.2 **Operating system**: Linux 6.10.0-linuxkit **Web server:** **Database:** **PHP version:** **Nextcloud version:** Nextcloud Hub 8 (29.0.6)Logs
#### Nextcloud log (data/nextcloud.log) ``` Insert your Nextcloud log here ``` #### Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```