I could not find any upgrade instructions for Ubuntu?
So, I tried the Linux instructions, but they don’t work on Ubuntu.
When you get to step 6. running sql_upgrade.php file returns the error; “PHP version needs to be at least 7.3.0.” and after upgrading the PHP to version 7.3.24, and rebooting the server, the same error occurs.
After some poking around on the Wiki I find this on the OpenEMR Upgrade Guides Page:
Ubuntu/Debian/Mint OpenEMR package
No longer supported.
NOW WHAT ARE WE SUPPOSED TO DO? (yeah, I’m upset)
You have got to give us some viable open source O/S option here, we are supporting over 3,600 patients with our system. Windows is not an option. Inherently insecure and cannot be made secure.
After 10 years of running OpenEMR on Ubuntu, without prior warning, you just drop support for Ubuntu? What is up with that.
I wonder how many more of us are now left hanging out to dry?
What many seem to forget is that OpenEMR is maintained by volunteers with many contribution to the project done freely with nothing but good intentions and a willingness to help those folks that may not have the financial resources to implement a professionally developed private application.
Between managing cloud and docker support, demo farms, building patches and releases, ONC 2015, modernizing, supporting many OS’s, both Maria and Mysql, ever changing PHP versioning and much more, something has to give!
In this case, Brady in the past has maintained the Ubuntu deb package. This is becoming more and more difficult with every Ubuntu version. So it has been decided to drop that support.
Options would be to install OpenEMR as many do ie. via our upgrade or install process.
Ubuntu is still supported but not using a deb package as in the past.
My sincere apologies for going into a tailspin too soon,
I found that blurb about “No Longer Supported” and I saw us all going down in flames!
However, I still can’t get the Linux upgrade to run. I’ve upgraded the server to PHP v8.0.3
Where is OpenEmr getting its php version info from? “PHP version needs to be at least 7.3.0.” error persists after upgrading PHP twice. I can’t find the “/src/Common/Compatibility/Checker.php” file that is listed in the sql_upgrade.php file.
php -v returns "PHP 8.0.3 (cli)
hi @hitechelp , Recommend making a quick script in your openemr base directory with just <?php phpinfo(); ?> in it and then going to it in your browser to confirm the correct php version is being used by apache.
I’m going to add to and maybe repeat what some have said here about PHP versions. Here are some concepts that took me a minute to figure out so I hope I can help you and future readers avoid heartache when dealing with versions.
First, there are “two” php’s when it comes to your server. There is the CLI (Command Line Interface) version and the version that runs your browser. It is possible to be running PHP 8.0 on the CLI and also be running PHP 5.6 on your web browser. You need to check both versions based on what you are trying to get done.
To get the version that your CLI is running, in the command prompt type “php -v”. You should see something like this:
To see the version that your web browser is running, create a new file in your html directory and put “phpinfo()” as the only line. After you are done remove this file because it has a lot of information about your server that you do not want public.
thanks @growlingflea
It’s the forgetting to enable new version after upgrade that always gets me.
No matter how many times I tell myself, I won’t forget that again. Then I do!
@hitechelp
The top panel is just to show current activity on server and is a separate process. It has no bearing on the upgrade process and is there just to let user know they are not hung up on those long running requests.
So as the error says, doesn’t affect the upgrade. Unsure why error happens on long running upgrades.
It may save lot of these posts if on CSRF error (probably timeout or session expiry), there is a link to refresh/restart the status monitoring - even if it just says still adding guids to encounters.
should be able to click green button that starts and stops status. should have made error a warning color but, can’t think of everything in the moment.