Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Cache rebuild is already started, please wait" every fresh rebuild #29

Closed
justvovus opened this issue May 24, 2012 · 4 comments
Closed

Comments

@justvovus
Copy link

After installing of last Lite Commerce version and some time of its using, I'm getting the following message for every try of cache update:

ERROR: "-1" (code N/A)

Cache rebuild is already started, please wait

It happens even after cleanup in var/run and manually removing of cache rebuild locks (according to sources). Also I noticed that cache is rebuilded even after such error.

@svowl
Copy link
Member

svowl commented May 24, 2012

You should also delete file var/.rebuildStarted

@justvovus
Copy link
Author

It's autoremoved when error appears.

@svowl
Copy link
Member

svowl commented May 24, 2012

It seems other visitors open your site while you run the cache generating routine. Try to do the following:

  1. Close your site with http-authorization
  2. Remove var/run and var/.rebuildStarted
  3. Open any site page
  4. Remove http-authorization

This should help.

@justvovus
Copy link
Author

Yeah, it helped. Thanks.
Strange, because I'm only one user, site is in development and in a intranet.

@svowl svowl closed this as completed May 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants