Issues with /versions/object folder

Problems with intalling pimcore? Issues during updates? Questions regarding updates, ...
Post Reply
Ania
Posts: 9
Joined: Wed May 27, 2015 10:52 am
Location: Ireland

Issues with /versions/object folder

Post by Ania » Thu Sep 17, 2015 10:55 am

Hello everybody,

I am migrating a big amount of data to Pimcore database and I faced the following issue: migration would just stop for no obvious reasons. I've discovered that the reason for that to happen was /var/www/html/website/var/versions/object folder which was getting so big that Pimcore was running out of space. I still have a lot of data to migrate, so I am wondering if there is a way to prevent that from happening? I am also wondering why didn't I see any warnings or error messages indicating that Pimcore is running out of space?

Thank you in advance for your help,
Ania

User avatar
johan.lindgren@ateles.se
Community Support
Posts: 871
Joined: Fri Apr 27, 2012 8:18 am
Location: Sweden
Contact:

Re: Issues with /versions/object folder

Post by johan.lindgren@ateles.se » Wed Sep 23, 2015 2:32 pm

Hi Ania,

when migrating data you could consider adding

Code: Select all

Version::disable();


and

Code: Select all

Version::enable();


in your migration script. Also dont forget to call

Code: Select all

Pimcore::collectGarbage()


once in a whle to get best performance.

/Johan
---------------------------------------------------------------------
Ateles Consulting AB - a Pimcore Professional Partner

Post Reply

Return to “Installation, Update and Administration”



Who is online

Users browsing this forum: No registered users and 1 guest