I waited about 10 months to upgrade to 5.0.1 cause I knew things could not go right. Sure enough, these are the error messages that popped up when I tried to log in after the upgrade and the patch-6.
Error: Unknown column ‘version’ in ‘field list’
/var/www/openemr/library/log.inc at 55:sqlInsertClean_audit
/var/www/openemr/library/authentication/login_operations.php at 113:newEvent(login,docrovner,Default,1,success: 192.168.1.124)
/var/www/openemr/library/auth.inc at 47:validate_user_password(docrovner,Default)
/var/www/openemr/interface/globals.php at 574:include_once(/var/www/openemr/library/auth.inc)
/var/www/openemr/interface/main/main_screen.php at 25:require_once(/var/www/openemr/interface/globals.php)
Did I not validate my password?
Thanks for any help.
https://www.open-emr.org/wiki/index.php/Linux_Upgrade_5.0.0_to_5.0.1
Important that your sqlconf.php is duplicated from old version to new so you don’t get a setup openemr dialogs.
If not on localhost then use whatever domain you have setup to access openemr for your site.
I ran “php sql_update.php” and this errored. It says that I have an invalid index (HTTP HOST} at line 107 in my “globals.php” file. This is getting rather complicated.
Stephen, I tried to dpkg the update for 5.0.1 for Ubuntu 6.x.x first, and this ran for a few minutes before I realized my mistake. Then I executed dpkg for the update for Ubuntu 7.x.x and above. Perhaps this mixed files from different updates into the system? At any rate, I cannot re run the update, and I can’t run sql_update as it says that I have an undefined file in my globals.php file. If you have some time, could you help me over the phone?
I ran admin.php from localhost, but I still cannot log in. Any other thoughts? I cannot access my files. I am not sure where to get my old sqlconf.php to plug it in, and into which folder should I place it?
Success is mine! I wiped out everything and established a clean disc and server and reloaded the patient data Not as elegant as solving the problem but much quicker