"Category tree is currently updating" error

12 replies [Last post]
Joined: 12/06/2012
Points: 13

I tried to delete the only category I had created in the KMC Content -> Categories screen. When I returned to the screen about 10 minutes later, I got the following error:

"Category tree is currently updating. This operation may take a few minutes. Category editing options will be released when update is completed"

I could not access the category screen. I assumed there was a batch process running and it would be available again soon. That was 24 hours ago.

Something is obviously locked incorrectly. Any ideas?

Joined: 07/19/2009
Points: 333

Have you tried looking in your log files (under /opt/kaltura/log) to see if any errors exist there?

Joined: 08/06/2014
Points: 54
Joined: 01/10/2013
Points: 36

(I work with Mleo)

- I have looked in the logs.
- Have restarted apache, memcache, sphinx
- Have truncated kaltura.category

It's still there. I was talking to people in IRC for over and hour trying to figure out the fix.

Where is the lock that's triggering this message?

Joined: 01/25/2013
Points: 11

Hi All,
I'm having the same issue. After deleting one category, I cannot access the menu with same publisher account (I've tried to recreate the publisher and the lock was gone).

The last error I've found from the log is:
PHP Fatal error: Call to undefined method categoryKuserFilter::setCategoryDirectMembers() in /opt/kaltura/app/alpha/lib/model/category.php on line 591

When I check categoryKuserFilter class from /opt/kaltura/app/alpha/apps/kaltura/lib/model/objectfilters/categoryKuserFilter.class.php , I cannot find the function described by the error (setCategoryDirectMembers).
Am I missing some update on the lib?

Btw I think this is the error that triggered the category menu to be locked, but I'm not sure if I fix this error it will remove the lock. I've also truncated all category table, but the publisher still cannot access his category menu from KMC..

Joined: 01/10/2013
Points: 36

Yep, it's when you delete the final category.

I've been told two solutions, both untested by me (I wound up just reinstalling because we were just in trial phase)

- Use the API and call the category.unlockCategories method

- In the partner table change the extra data on the partner that isn't working to: "access_controls";d:24;}
(Whatever that means)

Good luck.

Joined: 01/25/2013
Points: 11

Thanks atourkow, I'll try it.
Btw I've commented code on line 591 which calling function setCategoryDirectMembers() in /opt/kaltura/app/alpha/lib/model/category.php.
Since then, there's no error on category module (I've deleted, add, and bulk remove the category and there's no problem occured).

But still, the provider which have been locked because of the last error cannot access its category module.

Joined: 01/02/2013
Points: 20

I'm working on CE 6.0 (built from git src around beginning of january) and I'm having the same problem:

[Tue Mar 12 10:49:53 2013] [error] [client] PHP Fatal error: Call to undefined method categoryKuserFilter::setCategoryDirectMembers() in /opt/kaltura/app/alpha/lib/model/category.php on line 591, referer: http://kaltura.evionet.pl/flash/kmc/v5.23.2/kmc.swf

This happens any time I try to bulk delete categories (and sometimes also after performing bulk upload with new categories).

Unlocking category tree through API works ok, but the problem persists....

Joined: 04/30/2014
Points: 7

Your mode of telling all in this paragraph is genuinely pleasant, all be capable of without difficulty understand it, Thanks a lot.

Joined: 04/12/2014
Points: 1424

Look at the concepts in the next article and understand more regarding the ways in which movie game playing can emphasize your life. he has a good point

Joined: 05/22/2014
Points: 122

I really admire the important ideas that you offer in the content. I am looking forward for more important thoughts and more blogs. Sbobet

Joined: 04/12/2014
Points: 1424

Another type of food that has been linked to eczema is gluten, or quite simply, foods such as bread, pasta, cereals and oats. Something else to consider is that eczema can also be linked to drinks that contain gluten, such as root beer and whole wheat alcoholic beer. For those that have issues with gluten based foods, there is the usual digestive problems but this can also lead to ulcers as well as eczema. girlsdoporn

Joined: 04/12/2014
Points: 1424

This condition can be hidden for some time, but if the area of the body it has affected is prominent, such as the face or neck, then it not only can become irritating due to constant scratching, but it can become embarrassing as well. girlsdoporn