monicahq / monica

Personal CRM. Remember everything about your friends, family and business relationships.
https://beta.monicahq.com
GNU Affero General Public License v3.0
21.48k stars 2.15k forks source link

Exporting data failed #5917

Open pavdigital opened 2 years ago

pavdigital commented 2 years ago

Any troubleshooting tips to export data? Keep getting the below errors when attempting SQL / Json exports.

SQL export Jan 23, 2022 10:57 settings.export_status_failed
Json export Jan 23, 2022 10:50 settings.export_status_failed

Running latest docker image v3.6.1

justsomebody42 commented 2 years ago

I have the very same issue

alephtaph commented 2 years ago

Same here

Docker v.3.70

puppylpg commented 2 years ago

same...

RobSheppard1976 commented 2 years ago

Same here.

maartenhendrix commented 2 years ago

Same here Does anyone have a workaround?

wolf-rainer commented 2 years ago

Hi,

Someone in another issue thread gave a workaround!

I'm running 'latest' Monica 3.7.0 on an 8-raspberry-cluster-docker-swarm. Also for me both exports (SQL and JSON) show 'Failed' after about 30 seconds.

But opening the commandline on the app container and navigating to /var/www/html/storage/app/public/exports/ (as mentioned in https://github.com/monicahq/monica/issues/5937) shows the files being created.

Not sure whether the files are incomplete when trying to export larger data - but actually I can find all actually existing information when parsing the JSON with Python.

justsomebody42 commented 2 years ago

Thanks for posting this here! I was able to import my data into a new instance. Looks to be complete. Phew... Great!

expionage commented 1 year ago

Hi there, I seem to be running into the same type of issue. I tried to export, but all I see is:

Screen Shot 2022-11-22 at 1 08 41 AM

Then I tried to export a few more times and now got 4 "Doing" status', but it looks like it's hung.

sean808080 commented 1 year ago

Hi,

Someone in another issue thread gave a workaround!

I'm running 'latest' Monica 3.7.0 on an 8-raspberry-cluster-docker-swarm. Also for me both exports (SQL and JSON) show 'Failed' after about 30 seconds.

But opening the commandline on the app container and navigating to /var/www/html/storage/app/public/exports/ (as mentioned in #5937) shows the files being created.

Not sure whether the files are incomplete when trying to export larger data - but actually I can find all actually existing information when parsing the JSON with Python.

This was true for me as well. I see the exports are created successfully but the UI is saying the export failed. DOH!