Error: Activity deletion in progress...

Error: Activity deletion in progress...

Nosūtīja darrel espino
Atbilžu skaits: 9

Good day! I have a problem in deleting this assignment activity. I'm not sure if I change something in the assignment settings. I try to delete the assignment and it says "not available unless: you get an appropriate score in course total" then i tried to change the assignment setting "Edit Setting" but it keeps on saying that " Activity deletion in progress... " Please help me to remove this activity. Thank you! 

Also is there any possibilities the i can remove the "All courses" link located in the bottom part of the front page. I dont want the users to see others courses. thanks again. (highlighted by green circle)

please see attached.


p1

p2

Vidējais novērtējums: -
Atbildot uz darrel espino

Re: Error: Activity deletion in progress...

Nosūtīja Colin Fraser
Documentation writers attēls Particularly helpful Moodlers attēls Testers attēls

It my be that unless you are deleting the activity as an Admin, you are not going to get an appropriate response. Only ever happened to me once and I still don't know why, teacher couldn't delete an assignment activity but I, as an admin, could. No idea why...divējāds smaids

Atbildot uz darrel espino

Re: Error: Activity deletion in progress...

Nosūtīja Muhammad Asif

Hi, go to Site Administration -> Notifications and run cron.php

It will resolve the issue.

Thank you.

Atbildot uz Muhammad Asif

Re: Error: Activity deletion in progress...

Nosūtīja Helen Foster
Core developers attēls Documentation writers attēls Moodle HQ attēls Particularly helpful Moodlers attēls Plugin developers attēls Testers attēls Translators attēls

Hello Darrel,

As Muhammad says, the cron needs to run to resolve the problem. You actually need to make sure that the cron runs every minute, as it is responsible for asynchronous activity deletion when using the Recycle bin.

Atbildot uz Helen Foster

Re: Error: Activity deletion in progress...

Nosūtīja Rainer Schaufelberger

Hi

I think I have the same problem. I can't delete any resource or activity with a restriction set. Every course is affected.

Another phenomenon is that after the deletion of an activity or resource without a restriction set there is no recycle bin. (Or is empty when you change the admin setting)

At the moment I don't know what to do next.

Rainer


Atbildot uz Rainer Schaufelberger

Re: Error: Activity deletion in progress...

Nosūtīja Muhammad Asif

Hi Rainer,

Have you tried running the cron manually? (https://docs.moodle.org/24/en/Cron)

Have you tried clearing the cash? --> "Site Administration > Development > Purge all caches".


Atbildot uz Muhammad Asif

Re: Error: Activity deletion in progress...

Nosūtīja Rainer Schaufelberger

I found the problem - it was a plugin that caused the problem. I ran cron manually and found an error. Unfortunately I didn't make a print screen and I don't want to install the plugin again.

So I need to find out when I have more time how plugins really work. Where you could run into problems. I found out that the plugin created a record in mdl_config_plugins, mdl_modules and mdl_course_moduls. I have to do more investigations.

Thanks, Rainer

Atbildot uz Muhammad Asif

Re: Error: Activity deletion in progress...

Nosūtīja darrel espino

Thank you! How do I run the cron.php?  I have no knowledge about cron in moodle. Ive already installe the cron but i odnt know how to activate/open it. appreciated if  I get some step-by-step procedure in setting up the cron. Thank you very much smaidīgs