mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #00838
[Bug 605736] Re: Failed export prevents exporting again
If this happens consistently then it'll be a bug in the export code that
fails every time, rather than anything to do with failed exports
preventing later exports.
Every time you export, the temporary export file is stored with a new
name (in a new directory) under dataroot. The directory contains both
your userid and the time of export, for example with userid 666 it might
be something like this:
/var/lib/mahara-data/export/666/1279685189/mahara-export-leap-
user666-1279685189.zip
If you export a second time it'll be put in a fresh directory under
/var/lib/mahara-data/export/666/. These temporary files are deleted
periodically to save space on the server.
To confirm it I just tried reproducing this bug on
master.dev.mahara.org, by pulling out my network cable halfway through
and export, and then waiting for a bit. No problem with subsequent
exports once I was plugged back in.
We'll need more information to reproduce the problem. An error log from
the server that's failing to export would possibly help.
** Changed in: mahara
Status: Triaged => Incomplete
--
Failed export prevents exporting again
https://bugs.launchpad.net/bugs/605736
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Status in Mahara ePortfolio: Incomplete
Bug description:
Where are the portfolio export files stored? Apparently (https://bugs.launchpad.net/mahara/+bug/547782) they are stored somewhere.
Could they be retrieved if the export fails? I generated an export, but disconnected from the internet before the download was finished. Since then I have not been able to download an export again. When I try to generate another export (a couple of hours later, a day later), it usually does not do anything but just say "Transferring...". After about a week, the progress bar in the export moved and I got the link to "Continue". However, there was no file offered for download.
It would be good to have access to these files for a day or so before they are deleted or like Moodle does, put them in the home directory of the user. However, that takes away portfolio space.
(Mahara 1.24)
References