Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Yesterday at 02:04 PM
pisaldi Posted April 26, 2015 Posted April 26, 2015 Hi,After upgrading from v3.47 to v4.0.2 I have several pending background processes... the problem is that they are stopped and have stopped their evolution...I've tried with the option "Alternatively, you can manually run them now and wait until they all complete." but after a few it returns the same message "[an error occurred while processing this directive] " and continues without advancing...I have the following pending processes:Rebuilding post reputationDeleting legacy topic dataReindexing filesRebuilding posts (this at 61,76%)Another additional 11 tasksAll are at the beginning, at 0% except the indicated one...Any tip for ending the background processes?
Jim M Posted April 26, 2015 Posted April 26, 2015 You would not want to just "end" them as your forum posts and other items will not finish building correctly. Do you have the option to run these via cron?
pisaldi Posted April 26, 2015 Author Posted April 26, 2015 I want to finish them because they are unfinished upgrading tasks and I want to finish the upgrade correctly as soon as possible...I'm not familiar with cron tasks, but if they fail live, will they work via cron ? It that's the solution, I'll use cron!
Jim M Posted April 26, 2015 Posted April 26, 2015 They should complete via cron. If not you can talk to your host about increasing your timeout factors. Please let us know if you have any questions about running a cron task.
pisaldi Posted April 26, 2015 Author Posted April 26, 2015 And which is the cron task that must be run?I'll execute using cPanel... Thanks!
-FP Posted April 26, 2015 Posted April 26, 2015 System -> Advanced Configuration. Toggle "Use a cron to run tasks?" and you will see it. Set it to run every minute, like this:*/1 * * * * your_command
pisaldi Posted April 26, 2015 Author Posted April 26, 2015 Yes, I know where the cron task must be enabled in ACP and in cPanel...The problem is, which command must I execute?
-FP Posted April 26, 2015 Posted April 26, 2015 It's in the yellowish box where you enable the cron in the ACP... I'm not pasting it because It has some code that should be different for your site and it also depends on the path to your site.Just toggle the cron setting in the ACP and it will show up.
MADMAN32395 Posted April 27, 2015 Posted April 27, 2015 @-FP , I was having similar issues as well, my tasks froze too, among other issues. Support told me it was my server, glad to see I am not alone.
therealstn Posted April 27, 2015 Posted April 27, 2015 I can't remember how i brought it up but you have the option to manually run them yourself (not via cron). Takes a lot of time but they end up finishing a lot faster than running in background.
pisaldi Posted April 27, 2015 Author Posted April 27, 2015 I have enabled a cron, and it doesn't work...I've run manually but it gives me an error "[an error occurred while processing this directive] "Now I also receive the following messsageLocked TasksThe following tasks appear to be locking frequently: queue.Please run them manually. If you require assistance with any errors shown please contact technical support. I've run manually and everything continues equal...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.