Issue
When trying to publish a collection from AEM Mobile portal (aemmobile.adobe.com/index.html), an error shows up after sometime saying: The publication is currently locked. Please try again later.
Environment
AEM Mobile on-demand services portal (http://aemmobile.adobe.com/signin/index.html).
Cause
There are some automated background processes which are taking longer than expected, or have stalled.
Resolution
The problem typically resolves itself by waiting for background processes to complete. The time needed depends on the number of processes that are running. For example, initiating the publishing of 1000 articles takes 10x as long as 100 articles.
- If the problem is due to a stalled process, the issue can be fixed by modifying the Project Settings.
- Go to Project Settings.
- Select the project and press Edit Project from top left corner.
- Under different tabs, choose an option to make changes. For example: Press Search and deselect the option which says Production App if it is selected or vice versa.
- Hit Save from the top right corner.
- Once the settings are saved, edit the project settings again and revert the changes back to the original.