Linux Upgrade 5.0.1 to 5.0.2 (With Code & DB Customisation)

(Ben Zoro) #1

Good day,

Does the provided guide (Linux Upgrade 5.0.1 to 5.0.2) work with an installation with minor custom code and minor changes to database tables?


(Stephen Waite) #2

Hi @Benzo, no, you have to bring in your custom code changes after you upgrade.

(Ben Zoro) #3

@stephenwaite so the database will also be overwritten?

(Stephen Waite) #4

hi @Benzo, no, the database gets upgraded but if you made custom changes to the tables you’ll have to allow for that.

(Ben Zoro) #5

Hi @stephenwaite, what do you mean I have to allow for that?

(Stephen Waite) #6

you’ll have to go into openemr/5_0_1-to-5_0_2_upgrade.sql at rel-502 · openemr/openemr · GitHub and make sure those customizations aren’t affected

(Ben Zoro) #7

Oh! alright, got it.

(Ben Zoro) #8

@stephenwaite, because the thought of recapturing all the data is heartwrenching.:sweat_smile:

(Ben Zoro) #9


So will this “Open openemr/sql_upgrade.php (http://localhost/openemr/sql_upgrade.php) in web browser, choose 5.0.1 and click 'Upgrade Database'” run openemr/5_0_1-to-5_0_2_upgrade.sql?