Install dcm4chee on Debian based distribution - nroduit/openmediavault-dcm4chee GitHub Wiki

Install/Upgrade dcm4chee and Weasis

  1. Download the latest dcm4chee-psql_x.x.x_all.deb at https://github.com/nroduit/openmediavault-dcm4chee/releases
  2. sudo apt-get install postgresql (superior or egal to postgresql 9)
  3. sudo dpkg -i dcm4chee-psql_x.x.x_all.deb
    => may have dependency errors, execute the next command to install the dependencies.
    sudo apt-get -f install
  4. Install Weasis

Start the PACS: sudo service dcm4chee start

CLI for PACS management (restart PACS): sudo service dcm4chee {status|start|stop|restart}
CLI for current log: tail -f /var/lib/dcm4chee/server/default/log/server.log

Note: in case of db connection error, try to replace the postgres client located in /var/lib/dcm4chee/server/default/lib/postgresql-x.x.jar with the postgres client related to your db version (jre7).

Configuration of dcm4chee

Remove dcm4chee

  1. sudo service dcm4chee stop
  2. sudo apt-get remove dcm4chee-psql or sudo dpkg -r dcm4chee-psql
    => will remove the binaries, but not the configuration or data files created by dcm4chee-psql. It will also leave dependencies installed with it on installation time untouched.

Note: for removing all the files (including the generated files), type sudo apt-get purge dcm4chee-psql or sudo dpkg -P dcm4chee-psql. This will remove about everything regarding the package dcm4chee-psql (all the content of /var/lib/dcm4chee/ and drop the postgres database), but not the dependencies installed with it on installation. Both commands are equivalent. If you use the default image directory located in the installed directory (/var/lib/dcm4chee/archive), all the images will be deleted.