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

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?

Regards,

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

@stephenwaite so the database will also be overwritten?

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

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

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

Oh! alright, got it.

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

1 Like

@stephenwaite

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?