Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM Maintenance jobs deleted

Avatar

Level 4

Hi,

 

We have deleted the tasks from OSGI config cause our repo was corrupted and it was creating alert in our monitoring system. Now we have fixed the repo corruption with offline compaction.

 

How can i add those config again in OSGI ?

msina_0-1620659606448.png

msina_1-1620659615443.png

 

Thanks

Sina

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

 Hi @msina ,

 

If I understood your question correctly then you can access the OSGI configuration for specific maintenance task either via from site Sites > tools> Operations > Maintenance  and configure the task (this way also the user will go to system/console only) OR directly open the /system/console/configMgr and search the right service name. BTW since AEM as cloud service does not allow direct console update so in that case configs can only go through source code.

 

Reference - 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/operations/maintenance.html....

 

maintenance-task.png

 

 

 

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

 Hi @msina ,

 

If I understood your question correctly then you can access the OSGI configuration for specific maintenance task either via from site Sites > tools> Operations > Maintenance  and configure the task (this way also the user will go to system/console only) OR directly open the /system/console/configMgr and search the right service name. BTW since AEM as cloud service does not allow direct console update so in that case configs can only go through source code.

 

Reference - 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/operations/maintenance.html....

 

maintenance-task.png

 

 

 

Avatar

Level 4

There is no gear button to click and modify cause the config itself does not exists. I think we need to add the OSGI config first without source code is there any option.

msina_0-1620663680533.png

 

Avatar

Level 4
Anyway we got the workaroud we added the configuration in the server inside the launchpad /opt/aem/author/crx-quickstart/launchpad/config/com/adobe/granite/maintenance/crx/impl/ Then created this below config file LuceneBinariesCleanupTask.config RevisionCleanupTaskmain.config DataStoreGarbageCollectionTask.config And restarted the AEM service the above config got created again in system>console. Thanks for your help.

Avatar

Community Advisor

Hi @msina ,

 

The gear icon will come once you hover on the tile of the activity. Also you can always go to /system/console and update the config, for example for revision cleanup activity the URL will be /system/console/configMgr/com.adobe.granite.maintenance.crx.impl.RevisionCleanupTask~main

Avatar

Level 4

I think my question was not clear. e.g /system/console/configMgr/com.adobe.granite.maintenance.crx.impl.DataStoreGarbageCollectionTask configuration does not exists Cause we deleted the configuration.If you see my screen shot it says task does not exists hover over this job dont give me any option also it does not exists in the system>console .

 

Now we wanted to add this config again.

 

Anyway we got the workaroud we added the configuration in the server inside the launchpad 

 

 /opt/aem/author/crx-quickstart/launchpad/config/com/adobe/granite/maintenance/crx/impl/

Then created this below config file

LuceneBinariesCleanupTask.config

RevisionCleanupTaskmain.config 

DataStoreGarbageCollectionTask.config

 

And restarted the AEM service the above config got created again in system>console.

 

Thanks for your help.