Where do I install version 4.2 if I already have verizon 4.1.2

mincey85 wrote on Thursday, November 19, 2015:

I am runinng Ubuntu server and what to know when I updgrade to 4.2.0 can I just run scipt from the root or do I have to go the the www directory?
Thanks

Tyran

fsgl wrote on Thursday, November 19, 2015:

If you are referring to these commands, I would guess that upon the first access to the command line, you should be able to run them.

mincey85 wrote on Friday, November 20, 2015:

I ran these
" wget downloads.sourceforge.net/openemr/openemr_4.2.0-2_all.deb
sudo apt-get update
sudo dpkg -i openemr_4.2.0-2_all.deb

    (If there was an error(s), then issue the following command (type 'Y' after): sudo apt-get install -f ) "
    
    I got an error; specifically;
    After sudo apt-get update I get error "duplicate sources in source.list," I get 4 error that say this and then it says to run Apt-get update to correct. I do this and I get the same error. Ths does not seem like a fatal error so I continue to the next command sudo dpkg -i openemr_4.2.0-2_all.deb and I get "errors were encountered while processing: openmer_4.2.0-2. I then run sudo-apt get install -f and I get te get the following; reading... Done. Building... Pending state information... Done.
    O upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    
    Nothing else happens. I thought i was installing on the wrong directory so I ran it again from root and from openemr directories and nothing. Please advise.
    
    Thanks

fsgl wrote on Friday, November 20, 2015:

Do you see 4.2.0(2) at login?

If you do, upgrade was successful.

If the login screen still has 4.1.2, do the following:

  1. run the 3 commands again
  2. If there was an error(s), then issue the following command (type ‘Y’ after): apt-get install -f
  3. be certain to use Y after the command in 2.

It’s not necessary to run commands in a particular directory.

If you continue to have a problem, follow the upgrade instructions for Linux.

mincey85 wrote on Friday, November 20, 2015:

Thanks I will give it a shot tonight.

Thanks! Tyran

fsgl wrote on Saturday, November 21, 2015:

Most welcome.

mincey85 wrote on Monday, November 23, 2015:

Hello there. No luck here yet. The instructions above failed. I did type Y also.I tried at least 3 times. I then tried the linux instructions but really could not get past the first step as I searched for the location of the “tar.gz” file but cannot find it. I looked on sourceforge and no option was there to download this tar file. Please advise. Where can I find the tar file? I have already created a directory. I am having a chellenge moving all those file - not too sure how the move this file but I can move the directory and just rename it.

Thanks.

bradymiller wrote on Monday, November 23, 2015:

What version of ubuntu server are you using?
And what directory is your current OpenEMR now installed in?
-brady

bradymiller wrote on Monday, November 23, 2015:

Also, what is in the following files(if they exist):

/var/etc/openemr/<I forgot the filename, but it is the only file here>
/var/log/openemr/<I forgot the filename, but it is the only file here>

-brady

fsgl wrote on Monday, November 23, 2015:

The file, openemr-4.2.0.tar.gz, can be found in Downloads tab of the Wiki. It can also be downloaded from the link in step 2 below. Remember to backup first.

  1. move the present openemr web directory to a flash drive.
  2. install 4.2.0 as explained in Extracting the Tarball, (not Configuring the Install through the WEB GUI).
  3. check that the directory has been renamed openemr.
  4. move the 4 default folders from the flash drive to the new openemr web directory (you’ll be replacing the 4 new default folders from the download with the old ones).
  5. follow remaining steps on this webpage.

mincey85 wrote on Monday, November 23, 2015:

14.04 - the latest. It installed in var/www/.

Thanks.

Tyran

mincey85 wrote on Tuesday, November 24, 2015:

4.1.2 is whata I see at login

mincey85 wrote on Tuesday, November 24, 2015:

Ubuntu 14.04. Emr is installed in /var/www/openemr.

Thanks
T

mincey85 wrote on Tuesday, November 24, 2015:

A file that says "install"is in /var/log/openemr.

T

bradymiller wrote on Tuesday, November 24, 2015:

Hi,

What is in the file /var/log/openemr/install ?
Also, is there should also be a file in /var/etc/openemr/ (if so, then what is in the file)?
(NOTE THE ABOVE PATH WAS INCORRECT; IT SHOULD BE /etc/openemr/ )

You can either paste the content of the two files here or if uncomfortable (since it does contain paths etc.), feel free to email them to me at brady.g.miller@gmail.com . The best starting point to troubleshoot the Ubuntu OpenEMR packages are by looking at these files.

Also, when you did the ‘sudo dpkg -i openemr_4.2.0-2_all.deb’, what was the exact output that shows up in the console.

-brady
OpenEMR

mincey85 wrote on Wednesday, November 25, 2015:

When I go to download the file this is what I get; I am unsure what I am doing wrong here. I am new using the Tar files and I think my syntax is off;

root@ubuntuserv:/home/tyran# wget downloads.sourceforge.net/projects/openemr/files/OpenEMR%20Current/4.2.0.3/openemr-4.2.0.tar.gz/download
–2015-11-24 20:14:17-- http://downloads.sourceforge.net/projects/openemr/files/OpenEMR%20Current/4.2.0.3/openemr-4.2.0.tar.gz/download
Resolving downloads.sourceforge.net (downloads.sourceforge.net)… 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://sourceforge.net/downloads [following]
–2015-11-24 20:14:17-- http://sourceforge.net/downloads
Resolving sourceforge.net (sourceforge.net)… 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: http://sourceforge.net/publish [following]
–2015-11-24 20:14:17-- http://sourceforge.net/publish
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: http://sourceforge.net/publish/ [following]
–2015-11-24 20:14:17-- http://sourceforge.net/publish/
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 16515 (16K) [text/html]
Saving to: ‘download’

100%[===================================================================================================================>] 16,515 --.-K/s in 0.09s

2015-11-24 20:14:17 (180 KB/s) - ‘download’ saved [16515/16515]

root@ubuntuserv:/home/tyran# locate openemr-4.2.0.tar.gr
root@ubuntuserv:/home/tyran# ls
download openemr_4.1.2-2_all.deb openemr_4.2.0-2_all.deb.1 _so
openemp_4.2.0-2_all.deb openemr_4.2.0-2_all.deb something-private.key

mincey85 wrote on Wednesday, November 25, 2015:

Howdy. There is no file with /var/etc/openemr. I guess the lack of is trouble? Thinking it might be faster to get a second server from scratch as the partition is 71% full and just install everything clean and restore the database? Your thoughts?

T

mincey85 wrote on Wednesday, November 25, 2015:

…/install contains the following;

Sun Feb 9 18:21:12 EST 2014: Configuring package…
Sun Feb 9 18:21:12 EST 2014: Installing OpenEMR
Sun Feb 9 18:21:33 EST 2014: Passed the mysql check loop
Sun Feb 9 18:21:33 EST 2014: Installing/Configuring OpenEMR…
PHP Notice: Undefined index: iufname in /var/www/openemr/library/classes/Installer.class.php on line 16
PHP Warning: mysql_connect(): Access denied for user ‘openemr’@‘localhost’ (using password: YES) in /var/www/openemr/library/classes/Installer.class.php on$
PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/openemr/gacl/adodb/adodb-xmlschema.inc.php on line 367
PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/openemr/gacl/adodb/adodb-xmlschema.inc.php on line 379
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /var/www/openemr/gacl/adodb/adodb-xmlschema.inc.php on line 1305
Configuration:

driver = mysql,

host = localhost:3306,

user = openemr,

database = openemr,

table prefix = gacl_Testing database connection…

Success! Connected to “mysql” database on “localhost:3306”.

Testing database type…

Success! Compatible database type “mysql” detected!

Making sure database “openemr” exists…

Success! Good, database “openemr” already exists!

Success!
First Step of Access Control Installation Successful!!!

OpenEMR ACL Setup OpenEMR ACL Setup
All done configuring and installing access controls (php-GACL)!

Sun Feb 9 18:22:03 EST 2014: Done configuring OpenEMR
Sun Feb 9 18:22:03 EST 2014: Configuring Apache for OpenEMR
Sun Feb 9 18:22:14 EST 2014: Added entries to apache configuration to secure directories with patient information.
Sun Feb 9 18:22:14 EST 2014: Placed backup of your original apache configuration file to /etc/apache2/httpd.conf.BAK
Sun Feb 9 18:22:14 EST 2014: Done configuring Apache
Sun Feb 9 18:22:14 EST 2014: Configuring PHP for OpenEMR
Sun Feb 9 18:22:15 EST 2014: We changed the following setting(s) in your php configuration file at /etc/php5/apache2/php.ini :
Sun Feb 9 18:22:59 EST 2014: (We have placed a backup of your php configuration at /etc/php5/apache2/php.ini.BAK)
Sun Feb 9 18:22:59 EST 2014: Successfully set max_execution_time = 60
Sun Feb 9 18:22:59 EST 2014: Successfully set max_input_time = 90
Sun Feb 9 18:22:59 EST 2014: Successfully set post_max_size = 30M
Sun Feb 9 18:22:59 EST 2014: Successfully set upload_max_filesize = 30M
Sun Feb 9 18:22:59 EST 2014: Done configuring PHP
Sun Feb 9 18:22:59 EST 2014: Restarting Apache service

  • Restarting web server apache2
    apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
    … waiting apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
    …done.
    Sun Feb 9 18:27:03 EST 2014: You can now use OpenEMR by browsing to:
    Sun Feb 9 18:27:03 EST 2014: http://localhost/openemr
    Sun Feb 9 18:27:03 EST 2014: user is ‘admin’ and password is ‘pass’

bradymiller wrote on Wednesday, November 25, 2015:

This is good. Your original install in 2014 went well and there is no record of trying the upgrade yet. This means probably just making a simple mistake when trying to install the ubuntu package.
-brady

bradymiller wrote on Wednesday, November 25, 2015:

There is a bit of weirdness here. I noted above in your error that openemp was noted rather than openemr; and also noted above that the openemp is used in one of the files rather than openemr. Try the following from your current directory on the console:

mkdir temporary
cd temporary
wget downloads.sourceforge.net/openemr/openemr_4.2.0-2_all.deb
ls

What do you see?
If you see:
openemr_4.2.0-2_all.deb

Then do:

sudo dpkg -i openemr_4.2.0-2_all.deb

If above works, then you are done. If above gives an error, then do:

sudo apt-get install -f

Did it work?

-brady