Closed prondubuisi closed 5 years ago
@prondubuisi please read the docs https://github.com/LibreHealthIO/lh-ehr/blob/master/INSTALL.md#setup some folders need to have permissions before you even install the software. I guess all these errors is cause of the docker installation you did which probably dont handle these cases. Do a normal install following this process and see if you get that
okay @muarachmann
hello @muarachmann I am following the setup instructions, the problem is this folders are absent
librehealthehr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled librehealthehr/interface/main/calendar/modules/PostCalendar/pntemplates/cache.
so I can't run a chmod a+w on them
Yes @prondubuisi just do a chmod on these
librehealthehr/gacl/admin/templates_c
librehealthehr/sites/default/edi
librehealthehr/sites/default/era
librehealthehr/sites/default/documents
@prondubuisi interested in gsoc? you can join the chats here to shape ur ideas more https://chat.librehealth.io/channel/gsoc
@prondubuisi interested in gsoc? you can join the chats here to shape ur ideas more https://chat.librehealth.io/channel/gsoc
Thanks will join the Channel ASAP
Hello @muarachmann is there a way to dump data in the database? I am done with the installation
https://www.phpmyadmin.net/ for day-to-day developer tasks on your dev server (or any other with the right server set-up).
MysqlWorkbench is also good if you don't hate java programs. PHPmyAdmin is far more mature and capable (and easier to use, and safer when deployed) than the others though. Most of the others don't really meet the need, feature or efficiency-wise, and don't give you anywhere near the feedback and design help though.
OR,
Are you asking about permanent changes to the database in the application?
In the latter case, look in the /sql directory. There you will find the database.sql file and the upgrade file. We need to start a new version file versus adding to 2.0 to 2.1 or whatever it is. Please pay mind to the special coding in the file. Read the readme in the upgrade file. You can add your database changes to the base install DB file as well as the upgrade file. Check prior commits to these (branch,view file, blame, on github) for plenty of examples.
On 2019-01-31 22:36, Onyemenam Ndubuisi wrote:
Hello @muarachmann https://github.com/muarachmann is there a way to dump data in the database? I am done with the imstallation
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LibreHealthIO/lh-ehr/issues/1397#issuecomment-459594041, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhzF_0HrHUeEuVVVB1fmORgNnT4DPXeks5vI7YggaJpZM4aScI9.
chmod 775 is good for your dev box.
On 2019-01-31 20:18, muarachmann wrote:
Yes @prondubuisi https://github.com/prondubuisi just do a chmod on these |librehealthehr/gacl/admin/templates_c| |librehealthehr/sites/default/edi| |librehealthehr/sites/default/era| |librehealthehr/sites/default/documents|
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LibreHealthIO/lh-ehr/issues/1397#issuecomment-459570101, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhzF61RIPPvcfKGIfsbiEa1u1hH2Gsfks5vI5XggaJpZM4aScI9.
I had faced the same issue, to solve this issue you need to set the ownership of /var/www/html/ directory to www-data (apache ownership) @prondubuisi
I had faced the same issue, to solve this issue you need to set the ownership of /var/www/html/ directory to www-data (apache ownership) @prondubuisi
@naveen17797 thanks will give it try.
https://www.phpmyadmin.net/ for day-to-day developer tasks on your dev server (or any other with the right server set-up). MysqlWorkbench is also good if you don't hate java programs. PHPmyAdmin is far more mature and capable (and easier to use, and safer when deployed) than the others though. Most of the others don't really meet the need, feature or efficiency-wise, and don't give you anywhere near the feedback and design help though. OR, Are you asking about permanent changes to the database in the application? In the latter case, look in the /sql directory. There you will find the database.sql file and the upgrade file. We need to start a new version file versus adding to 2.0 to 2.1 or whatever it is. Please pay mind to the special coding in the file. Read the readme in the upgrade file. You can add your database changes to the base install DB file as well as the upgrade file. Check prior commits to these (branch,view file, blame, on github) for plenty of examples. … On 2019-01-31 22:36, Onyemenam Ndubuisi wrote: Hello @muarachmann https://github.com/muarachmann is there a way to dump data in the database? I am done with the imstallation — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1397 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhzF_0HrHUeEuVVVB1fmORgNnT4DPXeks5vI7YggaJpZM4aScI9.
@aethelwulffe After installation using this guide https://github.com/LibreHealthIO/lh-ehr/blob/master/INSTALL.md#setup my database tables are empty, so I was asking if there is a way to fill the database with dummy data, doing that manually will be stressful D:
OHHHHH....Like fake data. Yes. http://suncoastconnection.com/downloads/PrintaPatient_A7_2_2.zip This is a windows executable that you can run on wine. -I have not checked the output for loading errors in the current database. It was last updated in 2018-06-28. Some planned features are not complete (the buttons have "TODO" printed on them), but you can use it to create a pretty big database if you like. We also have some database files in the LH contribs repo. I believe they were created with this program. -If you find use issues or import errors in the sql when you use it, please inform me.
If using Docker -- if you change permissions on your host -- it should just work @prondubuisi
For development -- the source tree is mounted into the container with changes you made being updated instantly
I am trying to upload a patients document on ubuntu, but I can't do that, I know its permission errors. The problem is Even when I try to create the destination folder manually I still get the same error. I think this is because the https://github.com/LibreHealthIO/lh-ehr/blob/master/library/classes/Document.class.php#L498 tries to create a new folder even when one exits