Skip to content

Conversation

@adunsulag
Copy link
Member

The devtools for restore / backup require the auto_configure.php to be in the /root/ folder. The auto_configure.php only gets copied to root via the openemr.sh file if its an easy dev docker setup. However this messes up the ci installations (such as inferno) which uses the restore/backup in a non-easy dev type setup (where the codebase is not shared).

Just copying auto_configure.php to root solves that issue.

Fixes #463

The devtools for restore / backup require the auto_configure.php to be
in the /root/ folder.  The auto_configure.php only gets copied to root
via the openemr.sh file if its an easy dev docker setup.  However this
messes up the ci installations (such as inferno) which uses the
restore/backup in a non-easy dev type setup (where the codebase is not
shared).

Just copying auto_configure.php to root solves that issue.
RUN mkdir /snapshots
RUN mkdir /certs
RUN mkdir -p /couchdb/original
#Copy auto_configure so we can do backup/restore with dev tools
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also clarify in comment that we are aware are also adding above (line 113) to another place (just so we don't remove one of them in future)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rec removing lines 432-433 in openemr.sh to clean up loose end

@bradymiller
Copy link
Member

hi @adunsulag , Just couple minor things to address. Then ready to bring in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Put auto_configure.php in /root/ folder so non-easy dev setup dockers can do snapshot & restore

2 participants