Can't install application back into a freshly cloned dev environment

dave_edgar
Mega Guru

I've been working on a couple of applications in dev and having been publishing versions, the versions become available on our test and prod instances which is all normal.

However we had to clone Prod over Dev for another app to be started, as we needed to eradicate some r&d that had been done.   I backed the apps up as per preserving app guidelines which was all good however when coming to apply the partially developed apps to the freshly cloned dev environment we can not as the system says the apps are already associated "Application 'XYZ' is already associated with another repository configuration".

I believe this is because as the apps are already in the sys_store_app table waiting to be installed.   We(Hi and I) have tried installing the partially dev'd apps from either source control and update set but both fail.

I reckon I need to uninstall the apps from the sys_store_app.   Any thoughts?   I'm currently waiting on HI feedback.

8 REPLIES 8

I can see the record I am looking for how did you remediate the issue deleting the associated files?

jstomasi
Tera Contributor

Same issue: See resolution steps below

Story: Can't install application back into a freshly cloned dev environment

Resolution:

Prerequisite: Admin Access to tables

1. In Search filter enter: sys_repo_config.list

2. Select the repository configuration you are having issues with

3. In the Actions on selected rows click > delete

4. A warning message will display: Deleting the selected records will result in the automatic deletion of related records:...

5: Click Delete

6. Go to Studio and click > import from source control, then follow prompts

 

Hope this helps!

 

This worked!  Very helpful.  SN needs to fix this issue.  Seems to happen if you delete an Application then try to reimport from your repository.

I did this and none of my application files are being committed.