Forum - Publishing an update to Address App app not working
- This topic has 13 replies, 3 voices, and was last updated 4 months, 3 weeks ago by Ric Phil.
- AuthorPosts
- June 2, 2022 at 8:50 am #73174Zahra MousaviParticipant
Hi there – I have released two versions since yesterday and it doesn’t seem that Exlibris gets notified!
It used to take a few minutes for the App to get online. (I am using the same process as I am used to)https://github.com/kb-dk/alma_cloud_app_print_user_address/releases
Could you please help me with that?
June 2, 2022 at 6:19 pm #73180Mark GobatKeymasterSorry for the delay. We’ve been experiencing some cloud app build issues with critical vulnerabilities. Your latest version, v6.1.0, has been published. Please consider upgrading the version of the Cloud App Framework for your next release. Running the “eca update” command in your development repository/directory will update the framework. Thank you.
June 3, 2022 at 6:15 am #73182Zahra MousaviParticipantSounds great! Thanks, Mark 🙂 And I will.
June 3, 2022 at 6:52 am #73183Zahra MousaviParticipantI tried running “eca update” but it seems like the command dosn’t exist.
I get this error after running eca update:
Unknown command: update
Available Commands
init Initialize current directory
start Install dependencies, configure and start development server
–no-install : Do not install dependencies
–no-open-browser : Do not open browser after starting
–browser <browser> : Overwrite the default browser
generate Generate code in an initialized project
extract-labels Extract labels into json files for translation
build Build production-ready assets for app
help Display this list of available commands
version Display the installed version of the CLIJune 3, 2022 at 12:37 pm #73185Mark GobatKeymasterInteresting. We must have added the “update” command in a version later than what you are running. What version are you running (eca version)?
It isn’t urgent that you upgrade, but if you want, you can install the latest Cloud App CLI manually: npm install -g @exlibris/exl-cloudapp-cliJune 3, 2022 at 1:35 pm #73186Zahra MousaviParticipantIt is v0.3.0
I will install it manually for now, since I have an update to my App.
June 17, 2022 at 11:31 am #73349Zahra MousaviParticipantI have released a version of the Address App and it doesn’t seem that Exlibris gets notified again!
June 17, 2022 at 12:09 pm #73345Zahra MousaviParticipantI received an email today that my App doesn’t work. I checked it and I saw a bunch of error:
Refused to load the stylesheet ‘https://apps01.ext.exlibrisgroup.com/kb-dk/alma_cloud_app_print_user_address/styles.0d94607b2355debaa6ee.css’ because it violates the following Content Security Policy directive: “style-src ‘https://apps01.ext.exlibrisgroup.com’ ‘unsafe-inline’ fonts.googleapis.com”. Note that ‘style-src-elem’ was not explicitly set, so ‘style-src’ is used as a fallback.
apps01.ext.exlibrisgroup.com/:1 Refused to load the script ‘https://apps01.ext.exlibrisgroup.com/kb-dk/alma_cloud_app_print_user_address/runtime.7b63b9fd40098a2e8207.js’ because it violates the following Content Security Policy directive: “script-src ‘https://apps01.ext.exlibrisgroup.com'”. Note that ‘script-src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.
apps01.ext.exlibrisgroup.com/:1 Refused to load the script ‘https://apps01.ext.exlibrisgroup.com/kb-dk/alma_cloud_app_print_user_address/polyfills.a3f823dd8032b9cfaf23.js’ because it violates the following Content Security Policy directive: “script-src ‘https://apps01.ext.exlibrisgroup.com'”. Note that ‘script-src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.
apps01.ext.exlibrisgroup.com/:1 Refused to load the script ‘https://apps01.ext.exlibrisgroup.com/kb-dk/alma_cloud_app_print_user_address/main.9972cf002eaa7ec01202.js’ because it violates the following Content Security Policy directive: “script-src ‘https://apps01.ext.exlibrisgroup.com'”. Note that ‘script-src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.But I didn’t get any error in my local machine, after checking that.
Then I noticed that my eca version is still the old one even though I have installed the latest version. I changed the version in the package.json and ran npm install.
Now I am getting another error which I don’t understand:
ERROR Error: Uncaught (in promise): Error: NG0200: Circular dependency in DI detected for ScanService. Find more at https://angular.io/errors/NG0200
Error: NG0200: Circular dependency in DI detected for ScanService. Find more at https://angular.io/errors/NG0200
at throwCyclicDependencyError (core.js:216:11)
at R3Injector.hydrate (core.js:11448:13)
at R3Injector.get (core.js:11272:33)
at injectInjectorOnly (core.js:4776:33)
at ɵɵinject (core.js:4780:12)
at Object.ScanService_Factory [as factory] (ɵfac.js? [sm]:1:1)
at R3Injector.hydrate (core.js:11452:35)
at R3Injector.get (core.js:11272:33)
at NgModuleRef$1.get (core.js:25337:33)
at Object.get (core.js:25051:35)
at resolvePromise (zone.js:832:39)
at resolvePromise (zone.js:784:21)
at zone.js:894:21
at ZoneDelegate.invokeTask (zone.js:421:35)
at Object.onInvokeTask (core.js:28578:33)
at ZoneDelegate.invokeTask (zone.js:420:40)
at Zone.runTask (zone.js:188:51)
at drainMicroTaskQueue (zone.js:601:39)I cannot find any circular dependency in the ScanService! and I am totally lost.
Could you please help me?
June 17, 2022 at 1:38 pm #73357Mark GobatKeymasterHello. The first problem you were having wasn’t specific to your Cloud App; we were experiencing the same error with several Cloud Apps. That problem was resolved.
I think you may need to run the ‘eca update’ command in your development working directory after installing the latest Cloud App SDK.
June 20, 2022 at 9:52 am #73359Zahra MousaviParticipantThanks for the answer, Mark! I am again experiencing that Exlibris doesn’t get notified about my releases!
June 20, 2022 at 11:58 am #73362Mark GobatKeymasterHi Zahra…
Ex Libirs is only notified that a manual review/build is required if the App Center contribution is updated. If you have the webhook implemented, then a new build/publication should happen automatically. In the case of a webhook-initiated build, Ex Libris is notified of a successful build or a failed build, either due to compilation errors or critical security vulnerabilities.
If you don’t have the webhook implemented, please update the App Center contribution; we will then be notified that a manual review/re-publish is necessary.
If you do have the webhook implemented, and your build isn’t getting triggered, please let us know.
Thanks.
June 20, 2022 at 12:58 pm #73367Zahra MousaviParticipantI have the webhook implemented, and I have used it many many times.
But last time when you had some cloud app build issues with critical vulnerabilities, the webhook wasn’t getting triggered, and it is the same now.
Between these two incidents, I was able to publish releases as well.June 20, 2022 at 1:25 pm #73369Mark GobatKeymasterIt is published now. Thanks for your patience.
October 25, 2022 at 9:22 am #76002Ric PhilParticipantHi. I was working on a chatbot project and I wanted to know how i could integrate ExLibris into the NLP platform. Has anyone done this previously? Do you think we can actually improve the page by adding ExLibris into it? The page that we are currently working on is for chatbot development services (https://thinkpalm.com/products/chat-bot/)
- AuthorPosts
- You must be logged in to reply to this topic.