Page 1 of 1
Upgrade to 6.3 - Getting cron error
PostPosted:Thu May 29, 2014 4:48 pm
by ChrisW
Just upgraded to 6.3. Everything seemed to go OK but now getting a cron error emailed to me on the hour. Here is the contents of the error:
Cron task 'User Items Serialize' executed - Error
Sourced file: inline evaluation of: ``com.openkm.cache.UserItemsManager.serialize();'' : Class or variable not found: com.openkm.cache.UserItemsManager : at Line: 1 : in file: inline evaluation of: ``com.openkm.cache.UserItemsManager.serialize();'' : com .openkm .cache .UserItemsManager .serialize ( )
I'm not sure where to start looking. How would you recommend I proceed?
Thanks
Re: Upgrade to 6.3 - Getting cron error
PostPosted:Fri May 30, 2014 7:38 am
by jllort
Go to crontab and remove task "User Items Serialize" or "Refresh User Items". Restart openkm service, that should create newer again.
Tell us if that solves the problem.
Re: Upgrade to 6.3 - Getting cron error
PostPosted:Fri May 30, 2014 12:31 pm
by ChrisW
I removed the 'User Items Serialize' cron task, restarted the service, and went back into the system. The cron task item did not recreate. Do I need to create it manually?
Thanks
Re: Upgrade to 6.3 - Getting cron error
PostPosted:Sun Jun 01, 2014 5:35 pm
by jllort
Set the OpenKM.cfg hbml = update
Re: Upgrade to 6.3 - Getting cron error
PostPosted:Sun Jun 01, 2014 10:06 pm
by ChrisW
I changed the OpenKM.cfg file and bounced the service. It still has not recreated the removed cron job. Anything else I should try?
Re: Upgrade to 6.3 - Getting cron error
PostPosted:Mon Jun 02, 2014 10:38 am
by jllort
Take a screenshot of all crontab task and attach here please
Re: Upgrade to 6.3 - Getting cron error
PostPosted:Mon Jun 02, 2014 11:40 am
by ChrisW
Attached is the crontab screen. The "User Items Serialize" entry has not been recreated. Also, I received another cron error:
Cron task 'Refresh User Items' executed - Error
Sourced file: inline evaluation of: ``com.openkm.cache.UserItemsManager.refreshDbUserItems();'' : Class or variable not found: com.openkm.cache.UserItemsManager : at Line: 1 : in file: inline evaluation of: ``com.openkm.cache.UserItemsManager.refreshDbUserItems();'' : com .openkm .cache .UserItemsManager .refreshDbUserItems ( )
Thanks
Re: Upgrade to 6.3 - Getting cron error
PostPosted:Tue Jun 03, 2014 7:27 am
by pavila
This crontab task has been deprecated. I have already updated the migration guide.
Regards.
Re: Upgrade to 6.3 - Getting cron error
PostPosted:Tue Jun 03, 2014 12:26 pm
by ChrisW
Awesome. Same with 'Refresh User Items'? Should I delete that one and see if it will recreate?
Thanks
Re: Upgrade to 6.3 - Getting cron error
PostPosted:Tue Jun 03, 2014 2:38 pm
by pavila
Correct, "Refresh User Items" is also deprecated. I've updated again the migration guide.