Ubuntu 12.10 install / issues

tmccormi wrote on Monday, February 04, 2013:

I normaly manually install openemr on all my systems, I prefer to be in complete control, however I thought I give the Unbuntu installer a run since I had to do a brand new Ubuntu build.   So… installed Ubuntu 12.10 and the very first thing I installed after that was the openemr package.

The install went fine, but all subsequent installs of any new package and any automatic updates give this error now:

Ubuntu 12.10 
Setting up openemr (4.1.1-1) ...
dpkg: error processing openemr (--configure):
 subprocess installed post-installation script returned error exit status 1

Brady?  Any thought one this?

-Tony

tmccormi wrote on Monday, February 04, 2013:

Also, on every login the system reports an “error has occurred” , it attempts to use apport to report the error, but it can’t.  So it recommends uninstalling the package.
-Tony

bradymiller wrote on Monday, February 04, 2013:

Hi Tony,

Per the instructions, did you do ‘sudo apt-get install -f’:
http://open-emr.org/wiki/index.php/OpenEMR_4.1.1_Ubuntu-Debian_Package_Installation

Pretty sure i tested 12.10 desktop on the 4.1.1 release package. Let me know if above didn’t work and then I’ll download ubuntu 12.10 and try it again. And let me know if you are using Ubuntu Desktop or Server.

-brady
OpenEMR

tmccormi wrote on Monday, February 04, 2013:

I downloaded the .deb file and installed it from the local disk.  Same command, just not via the http url

Mostly I was testing how good it was at dealing with the dependencies on a base Unbuntu install.

-Tony

tmccormi wrote on Sunday, February 10, 2013:

Still getting this error consistently every time an automatic update runs or you try and install a new package…
-Tony

kodusote wrote on Sunday, February 10, 2013:

Dear Tony,

This may or may not be related but I had issues with using the Debian package on Ubuntu 12.04 LTS.  At different times, some functions (not always the same) would not behave correctly.  I ended up installing from the *.tar.gz file and this worked very well for me.

Kayode

bradymiller wrote on Sunday, February 10, 2013:

Hi Tony,
Need to know whether you are using the Server or Desktop version.
-brady
OpenEMR

tmccormi wrote on Sunday, February 10, 2013:

Desktop Version. 

For Kayode:  I only did this as  a test, I personally would not use any installer, I prefer to build from the github source tree directly.    I just did this test as part of QA process

I also tried with 5 Health IT students to install the XAMPP based setup 5 different computers in a class room setting and they all failed to be able to successfully be able to start up XAMPP… but that is another topic for another thread and needs more testing before I can report anything substantive. I don’t normally have access to windows PCs at all…

-Tony

bradymiller wrote on Monday, February 11, 2013:

Hi Tony,

Works for me. Here is what I did (followed the command line instructions here http://open-emr.org/wiki/index.php/OpenEMR_4.1.1_Ubuntu-Debian_Package_Installation#Command_line_Ubuntu_Installation):
1. Installed Ubuntu 12.10 server
2. wget downloads.sourceforge.net/openemr/openemr_4.1.1-1_all.deb
3. sudo apt-get update
4. sudo dpkg -i openemr_4.1.1-1_all.deb
5. sudo apt-get install -f
(note i entered in the password ‘howdy’ when prompted for the mysql installation and then the openemr installation)

At this point OpenEMR is installed (and already configured; you should be taken directly to the login screen) and is working. Then did the following to ensure can still install more packages:
1. apt-get update
2. apt-get upgrade

And then about 200 or so packages were successfully installed and OpenEMR still works fine.

Let me know if you did anything differently from above (now that I have this Ubuntu 12.10 appliance set up, it’s easy for me to test out different methods on native Ubuntu 12.10 Desktop installs).

The real power of this package lies in the following:
1. All dependencies are brought in for OpenEMR
2. It will perform the version upgrades (so if you had version 4.0.0 and install 4.1.0, it will do the entire upgrade automatically; it even upgrades all the multisite intallations) (it can skip versions on upgrades) (and it can even upgrade versions that were not previous ubuntu packages; as long as installed at var/www/openemr directory). If your a bash script type, you can check out the bash scripts that do all this here:
http://github.com/openemr/openemr/tree/master/contrib/util/ubuntu_package_scripts/production
(the preinst, postinst, prerm, postrm scripts)

A very cool related package is the development package, which will bring in the most recent development code and install/configure it with an easy method to then remove it (note it can be run simultaneously with the production package):
http://open-emr.org/wiki/index.php/Ubuntu-Debian_OpenEMR_Development_Package_Installation

-brady
OpenEMR