sturione wrote on Sunday, January 04, 2015:
Hi. I just installed the OpenEMR, but there is nothing on the browser when I try to access localhost/openemr
I use Ubuntu 14.04, have installed php5, mysql and apache.
Can someone help me please?
sturione wrote on Sunday, January 04, 2015:
Hi. I just installed the OpenEMR, but there is nothing on the browser when I try to access localhost/openemr
I use Ubuntu 14.04, have installed php5, mysql and apache.
Can someone help me please?
bradymiller wrote on Sunday, January 04, 2015:
Hi,
Did you use the Ubuntu OpenEMR package? :
http://www.open-emr.org/wiki/index.php/OpenEMR_4.2.0_Ubuntu-Debian_Package_Installation
-brady
OpenEMR
fsgl wrote on Sunday, January 04, 2015:
Did you run the following?
sudo service apache2 restart
Then login at http://localhost/openemr
Also see this.
If you continue to have problems, install the package & follow login directions.
sturione wrote on Sunday, January 04, 2015:
Hi everyone.
Yes, I used the Ubuntu package (.deb). I reinstalled it in command line environment, and still nothing in the web browser (http://localhost/openemr/setup.php?site=default)
I think the installation is correct, I can even see admin.php, but it asks for run the setup, and that page is not showing.
I also restarted apache, but that is not the problem. I am really in a big frustration here, I need to use this amazing program.
Thanks a lot…
hitechelp wrote on Sunday, January 04, 2015:
To better assist you it would help to know your hardware set up.
Server > Router > Client (different machines on a local network)
or
Server/Client (same or virtual machine)
If same or virtual machine try http://127.0.0.1/openemr/setup.php?site=default
If different machines try https://[YourServerIPAddress]:443
(Must click “I understand the security risks” then confirm and permanently store exception)
If not using Firefox, recommend doing so.
fsgl wrote on Sunday, January 04, 2015:
The in the URL address bar is taking you to installation, which is not necessary for the Ubuntu-Debian Package. The setup.php is only for installation purposes, not for login.
Simply use the following in the address bar:
localhost/openemr
sturione wrote on Sunday, January 04, 2015:
Hi again,
I am using the same machine. I am also using Firefox.
I try to open localhost/openemr but automatically goes to localhost/openemr/setup.php?=default and there is nothing on the browser -not even some message-
David, what do you meanwith hardware setup? I have a Samsung Laptop, model R430, a little bit old now. Do you need me to list the components and characteristics of each one?
I am sure apache and that stuff is running ok; I can use phpMyadmin without problems.
Thanks,
bradymiller wrote on Sunday, January 04, 2015:
Hi,
Looks like package install has an issue and did not completely install openemr.
Copy/paste here the contents of following two files(I forgot their exact names, but they are the only two files in below directories):
-brady
OpenEMR
sturione wrote on Sunday, January 04, 2015:
Hi Brady,
There you have them… Looks like the problem is with the access to mysql?? That would be weird… O_o
#Installation settings
process=complete
bradymiller wrote on Sunday, January 04, 2015:
Hi,
That is odd since the package checks to ensure you entered the correct mysql root password before proceeding. You’ll need to do a manual install, which can be done by unsecuring(the package secures these after configuration) the following files:
/var/www/openemr/acl_setup.php
/var/www/openemr/setup.php
/var/www/openemr/gacl/setup.php
(use chmod 666 on them, and then when done, recommend doing chmod 600 on them to re-secure them).
After unsecure them, then go to http://localhost/openemr and follow the steps (note apache and php are already configured, so you do not need to worry about those steps).
(let us know if need more detailed direction on the chmod command)
-brady
OpenEMR
sturione wrote on Sunday, January 04, 2015:
Brady, thanks a lot…
Actually I started to try to use mysql with emma and command line, and I cannot enter to databases… Something gone wrecked.
So I am now erasing everything (mysql, php, apache, related softwares) and I will reinstall everything again. Hope it works, if it doesn’t I will try unsecuring those files.
Thanks, I’ll let you know what happens.
fsgl wrote on Monday, January 05, 2015:
There are times when it is exceedingly difficult to get rid of every last bit of OpenEMR & the LAMP stack from the first attempt, so that the second attempt with the Ubuntu-Debian package would fail to install properly.
If you are still having difficulties & you have a system image from a time prior to this endeavor; it may be simpler to start with that system image & then attempt to install the package on a “clean slate”.
The hard part is not the command line package install, but getting rid of corrupt files before the re-install.
bradymiller wrote on Monday, January 05, 2015:
To remove the openemr package, should do:
sudo dpkg -r openemr
bradymiller wrote on Monday, January 05, 2015:
fsgl is very correct that broken packages in ubuntu can be a real pain(you would be forced to become an expert in the packaging system which is not a very fun experience for most). There is a process to manually remove the openemr package (if above doesn’t work); let us know if need those steps; note that it will not remove the LAMP stack. I do agree with fsgl that if you do have a system image prior to this, it makes sense to go back to it.
-brady
tmccormi wrote on Monday, January 05, 2015:
Which is why, despite brady’s excellent work on the install pkg I prefer to
do it directly from the github sources.
Tony McCormick
–
Please be aware that e-mail communication can be intercepted in
transmission or misdirected. Please consider communicating any sensitive
information by telephone. The information contained in this message may be
privileged and confidential. If you are NOT the intended recipient, please
notify the sender immediately with a copy to hipaa-security@mrsb-ltd.com and
destroy this message.
bradymiller wrote on Monday, January 05, 2015:
Note this can happen with any ubuntu package and is infrequent…
I still recommend the ubuntu package for ease of install and, most importantly, ease of upgrade.
-brady
sturione wrote on Monday, January 05, 2015:
Guys,
I tried in another pc, with a fresh install of php, mysql, apache and I still get the error. I am blaming mysql configuration because when I try to connect to the db with emma I am getting the same access denied error you can see above in this conversation. I just don’t know what to do.
Thanks a lot,
bradymiller wrote on Monday, January 05, 2015:
Hi,
How are you installing mysql? And on command line can you do:
sudo mysql
-brady
OpenEMR
tmccormi wrote on Monday, January 05, 2015:
Using the install works great if you only have one installation.
Personally run about 26 at any given time, but I’m a developer. And on my
hosted sites the install does not lend itself to my standards or allow me
to manage multiple vhosts. Nothing wrong with it all at all for a single,
local and simple practice installation.
Someone (not me) should look at Docker containers for OpenEMR in Linux …
it’s the next big thing …
Tony McCormick, CTO
–
Please be aware that e-mail communication can be intercepted in
transmission or misdirected. Please consider communicating any sensitive
information by telephone. The information contained in this message may be
privileged and confidential. If you are NOT the intended recipient, please
notify the sender immediately with a copy to hipaa-security@mrsb-ltd.com and
destroy this message.