Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Maintenance jobs deleted

msina
Level 4
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
Ritesh_Mittal
Correct answer by
Community Advisor
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

2 Replies
Ritesh_Mittal
Correct answer by
Community Advisor
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

msina
Level 4
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

 

msina
Level 4
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.
Ritesh_Mittal
Community Advisor
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

msina
Level 4
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.