pophealth / popHealth

popHealth - An Open Source Population Health Reporting Prototype
http://projectpophealth.org
Apache License 2.0
126 stars 154 forks source link

Patient Upload not working #278

Open skharche opened 7 years ago

skharche commented 7 years ago

When I try to upload QRDA I zip file it throws following error. Not sure what is wrong... Can someone guide for this?

We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly.

jpaulino04 commented 5 years ago

@skharche if this is not a production server, and you can afford loosing data, I would flush the Mongo db data and start steps from 7 to 10 again from the installation page . Then you can restart apache and the pophealth script again.

Installation page: https://github.com/OSEHRA/popHealth/wiki/Installation-v5.1

To flush the mongo data, you need cli access to the server, login to mongo, and drop the following collections as you need:

Note: This is what I have done, but you can choose what to drop or not in your case.

db.system.indexes.remove({}) db.measures.remove({}) db.providers.remove({}) db.logs.remove({}) db.patient_cache.remove({}) db.query_cache.remove({}) db.users.remove({}) db.teams.remove({}) db.bundles.remove({})

After dropping those collections, remember to do steps 7-10 again, and then restart: service apache2 restart sudo systemctl restart pophealth_delayed_worker

The above has solved many of those errors for me, its like starting fresh.....assuming that other parts of the installation were done correctly.