dspace-ui 7.6.1 installation issue on kubernetes

56 views
Skip to first unread message

Manish Kumar

unread,
Mar 27, 2024, 6:10:21 AM3/27/24
to DSpace Technical Support
Hi all, 

I am trying to setup dspace-ui 7.6.1 version on my GCP kubernetes, while doing that I noticed my pods are restarting automatically but not coming up. When I checked logs through gcp cloud cli I found below logs.

" yarn run v1.22.19
$ yarn base-href
$ ts-node --project ./tsconfig.ts-node.json scripts/base-href.ts
Building development app config
Overriding app config with /app/config/config.yml
Overriding app config with /app/config/config.development.yaml
Applying environment variable DSPACE_REST_SSL with value true
Applying environment variable DSPACE_REST_HOST with value myserver.com
Applying environment variable DSPACE_REST_PORT with value 80
Applying environment variable DSPACE_REST_NAMESPACE with value /server
Setting baseHref to / in angular.json
$ ts-node --project ./tsconfig.ts-node.json scripts/serve.ts --host 0.0.0.0 --disable-host-check
Building development app config
Overriding app config with /app/config/config.yml
Overriding app config with /app/config/config.development.yaml
Applying environment variable DSPACE_REST_SSL with value true
Applying environment variable DSPACE_REST_HOST with value myserver.com
Applying environment variable DSPACE_REST_PORT with value 80
Applying environment variable DSPACE_REST_NAMESPACE with value /server
Option 'host' has been specified multiple times. The value '0.0.0.0' will be used.
Warning: Running a server with --disable-host-check is a security risk. See https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a for more information.
- Generating browser application bundles (phase: setup)...
Building development app config
Overriding app config with /app/config/config.yml
Overriding app config with /app/config/config.development.yaml
Applying environment variable DSPACE_REST_SSL with value true
Applying environment variable DSPACE_REST_HOST with value myserver.com
Applying environment variable DSPACE_REST_PORT with value 80
Applying environment variable DSPACE_REST_NAMESPACE with value /server
Angular config.json file generated correctly at /app/src/assets/config.json

Processing legacy "View Engine" libraries:
- angular-idle-preload [main/commonjs] (git+https://github.com/gdi2290/angular-idle-preload.git)
- ngx-sortablejs [es2015/esm2015] (https://github.com/sortablejs/ngx-sortablejs)
- ng2-file-upload [es2015/esm2015] ()
Encourage the library authors to publish an Ivy distribution."

I need community help to resolve the issue. However I tried to use same version docker image in that case only getting container creating message on pod level.

Thanks,
Manish Kumar

DSpace Technical Support

unread,
Mar 28, 2024, 6:15:13 PM3/28/24
to DSpace Technical Support
Hi Manish,

The logs you have shared don't appear to show any errors.  Those are the same logs I see when starting up the UI locally (and everything works fine).

The message about "Encourage the library authors to publish an Ivy distribution" can be safely ignored.  It's a warning from Angular about a few third-party libraries we use for DSpace. That warning doesn't impact DSpace's behavior, and it's not something that DSpace can fix.  As soon as those libraries update themselves the warning should go away.

Tim

Manish Kumar

unread,
Mar 28, 2024, 9:36:13 PM3/28/24
to DSpace Technical Support
Hi,

Thanks for your reply, I enabled --verbose and faced so many GET call, that was taking time after  Encourage the library authors to publish an Ivy distribution, and we had initilize 60 seconds initialDelaySeconds inside readinessProbe  due to this short time period once wait time reach to limit,  pods restart again and again, we increased the time and now able to setup everything and UI is running after that.
Reply all
Reply to author
Forward
0 new messages