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
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
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.
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.
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…
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)