Cannot install app from another instance

Rick Marsha
Giga Expert

I have built a custom app in my dev instance and shared it to another, but when I try to install the app in the remote instance, it downloads the package and hangs after downloading, with the status, 'installing application package: 0%'.

Has anyone else encountered this? I also need help finding the logs for these installs, as I don't these events in the typical log tables.

Thanks,

-Rick

1 ACCEPTED SOLUTION

Thanks, Pradeep.


The issue ended up being a product bug in the 'Scoped App Client' that couldn't handle our system date format (MM/dd/yyyy) when downloading the attached app package from the repository to install on the remote instance.



The workaround required me to update a line in the 'AppUpgrader' script include to the following on line 256:


from: + "__" + new GlideDateTime().getDisplayValue().replace(/:/g, "_")


to: + "__" + new GlideDateTime().getDisplayValue().replace(/:/g, "_").replaceAll('/', '_')



A permanent fix will most likely be implemented in a later patch per SN support.


View solution in original post

5 REPLIES 5

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Rick,



Here is the navigation steps to debug the application logs.


System logs->Application logs


Alternatively you can type (syslog.list) in the navigation filter to go to the table.



I hope this helps


Thanks, Pradeep.


The issue ended up being a product bug in the 'Scoped App Client' that couldn't handle our system date format (MM/dd/yyyy) when downloading the attached app package from the repository to install on the remote instance.



The workaround required me to update a line in the 'AppUpgrader' script include to the following on line 256:


from: + "__" + new GlideDateTime().getDisplayValue().replace(/:/g, "_")


to: + "__" + new GlideDateTime().getDisplayValue().replace(/:/g, "_").replaceAll('/', '_')



A permanent fix will most likely be implemented in a later patch per SN support.


Hi Rick.



My scoped app (exported from my first instance to an XML file) is not installing in my new dev instance. I too see no error messages.



How did you find the script issue in your case, and did you ever find install error messages?


Hello.



I tried typing "syslog.list" in the navigator filter box   in my Fuji instance, but it did not show me the Application logs, as you said...Did this trick work for anybody else?



Also, I'm about to install my first scoped application, which I developed in another Fuji instance A where I then exported as follows:


1. Publish to Update Set


2. Export to XML



My issue now is the import page in instance B: It seems to be looking for a ZIP file but the scoped app is in the exported XML file?