EPrints Technical Mailing List Archive

Message: #07892


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] WINSCP error File disappeared/0KB


Thanks Yuri, but I'm too late to try that. Although I'll keep it in mind for for next time...

I had to restart the server because I discovered I'd started something during my testing that produced a 26GB apache error log file. This took up all my server space and is probably what caused the error in WinSCP and my plugin to vanish. So I killed the processes, deleted the huge file and then had to restart Apache, which appears to have reloaded the config (as expected).

I've paid the iron price to learn to back up frequently.

Thanks,
James


On Tue, Jun 18, 2019 at 4:16 PM Yuri via Eprints-tech <eprints-tech@ecs.soton.ac.uk> wrote:
You could dump the memory of the apache process, the config (in a perl
structure) should be there I think. This is a guide:

https://eur03.safelinks.protection.outlook.com/?url="">

You can also try to grep in the swap.

Il 18/06/19 15:47, James Kerwin via Eprints-tech ha scritto:
> Hi All,
>
> I was working on something today and because it was a test I was only
> using WinSCP to transfer the file. There was some sort of error on
> WinSCP and the file is now blank with a size of 0kb. I've looked in
> the Windows AppData folder and it only contains the blank version of
> the file.
>
> I have no recent backups from today. The file is currently part of the
> config loaded in to EPrints.
>
> Does anybody have a clue if there is any way I can see it via EPrints
> since it's part of the currently loaded config?
>
> I know unix/linux is very unforgiving with this sort of thing, but I
> thought it might be worth asking.
>
> Thanks,
> James
>
> *** Options:
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url="">
> *** EPrints community wiki:
https://eur03.safelinks.protection.outlook.com/?url="">
> *** EPrints developers Forum:
https://eur03.safelinks.protection.outlook.com/?url="">
*** Options:
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/