DICOM Viewer Failing to Recognize .dcm Files - Troubleshooting Exhausted

Hi everyone,

I’m at my wit’s end trying to get DICOM files to open correctly in my Nextcloud instance. Despite extensive troubleshooting, the DICOM viewer app doesn’t seem to recognize or open .dcm files.

My Setup:

  • Nextcloud version: [Your Nextcloud version]
  • DICOM viewer app: [DICOM viewer app name and version]
  • Environment: Running Nextcloud in a Docker container with [Docker image name and version] on [Your operating system].
  • Web server: [Your web server, e.g., Apache, Nginx]

Troubleshooting Steps Taken:

I’ve tried everything I could find, including:

  • DICOM Viewer App: Installed, removed, and reinstalled the app multiple times.
  • MIME Type: Manually added the DICOM MIME type (dcm => application/dicom) to config.php.
  • App Management: Disabled and re-enabled both the files_external and dicomviewer apps.
  • System Restart: Restarted the entire system and the Nextcloud server.
  • Browser Cache: Cleared browser cache and cookies.
  • File Integrity: Verified the integrity of the DICOM files using an external viewer.
  • Conflicting Apps: Checked for any conflicting image viewer or file preview apps.
  • Alternative Files: Tested with different DICOM files.
  • Log Analysis: Inspected Nextcloud and web server logs for any errors, but found nothing relevant.

Current Behavior:

  • When I click on a .dcm file in Nextcloud, it either gets downloaded directly or an error message appears.
  • The DICOM viewer app doesn’t seem to activate or recognize the file type.

Possible Causes:

  • Compatibility Issues: Potential compatibility problems between the DICOM viewer app, my Nextcloud version, or the Docker environment.
  • App Bugs: Possible bugs or limitations in the DICOM viewer app itself.
  • Configuration Errors: Despite my efforts, there might be some hidden configuration errors that I’m overlooking.

Questions:

  • Has anyone else experienced similar issues with the DICOM viewer app?
  • Are there any known compatibility issues or workarounds?
  • Are there alternative DICOM viewer apps or methods for integrating external viewers with Nextcloud?

Any help, suggestions, or insights would be greatly appreciated.

Thanks!

What’s the error message?

It would help if you filled out the support template.

Refs: