Hi Tim,

Thank you for support, now the dspace work for me, it was the configuration between dspace backend - dspace angular - tomcat - apache - Shibboleth.


Please inform me if I the the possibility to modify the message from first page:


"

DSpace is the world leading open source repository platform that enables organisations to:

 * easily ingest documents, audio, video, datasets and their
   corresponding Dublin Core metadata
 * open up this content to local and global audiences, thanks to the
   OAI-PMH interface and Google Scholar optimizations
 * issue permanent urls and trustworthy identifiers, including optional
   integrations with handle.net and DataCite DOI

Join an international community ofleading institutions using DSpace <https://wiki.lyrasis.org/display/DSPACE/DSpace+Positioning>.

The test user accounts below have their password set to the name of this software in lowercase.

 * Demo Site Administrator = dspacedemo+ad...@gmail.com
 * Demo Community Administrator = dspacedemo+commad...@gmail.com
 * Demo Collection Administrator = dspacedemo+collad...@gmail.com
 * Demo Submitter = dspacedemo+sub...@gmail.com

"



Thank you,

Ciprian


On 10.08.2021 17:01, Tim Donohue wrote:
Hi Ciprian,

According to the first error you listed, the UI is attempting to contact the backend REST API using this URL: https://elibrary.uaic.ro:8443/server/api <https://elibrary.uaic.ro:8443/server/api>

Does that URL respond for you? (It doesn't respond for me.)  If it's a valid REST API, it should return a JSON response which links to all the valid endpoints of that REST API.  For example, here's what the JSON response looks like on our demo API: https://api7.dspace.org/server/api <https://api7.dspace.org/server/api>

If that URL is invalid, then check your UI's configuration, specifically the "rest" settings in your environment.prod.ts -- as those settings are used to build that URL.

My guess is that your UI is misconfigured and is not accessing the REST API via the correct URL path. That's what the"No _links section found" error tends to mean.

Let us know on this list if that helps. Also, feel free to reference the Troubleshoot an error" page if you need more tips on finding errors: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove) <https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)>

Tim


------------------------------------------------------------------------
*From:* dspace-tech@googlegroups.com <dspace-tech@googlegroups.com> on behalf of Ciprian Pinzaru <ciprian.pinz...@gmail.com>
*Sent:* Tuesday, August 10, 2021 1:28 AM
*To:* DSpace Technical Support <dspace-tech@googlegroups.com>
*Subject:* [dspace-tech] dspace configuration help
Dear all

On angular I have the next error


No _links section found at https://elibrary.uaic.ro:8443/server/api <https://elibrary.uaic.ro:8443/server/api>
ERROR Error: undefined doesn't contain the link sites
     at MapSubscriber.project
(/opt/dspace-angular/dist/server/main.js:256933:23)
     at MapSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/map.js:49:35)
     at MapSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at MapSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/map.js:55:26)
     at MapSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at TakeSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/take.js:54:30)
     at TakeSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at FilterSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/filter.js:52:30)
     at FilterSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at MapSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/map.js:55:26)
ERROR Error: undefined doesn't contain the link sites
     at MapSubscriber.project
(/opt/dspace-angular/dist/server/main.js:256933:23)
     at MapSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/map.js:49:35)
     at MapSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at MapSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/map.js:55:26)
     at MapSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at TakeSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/take.js:54:30)
     at TakeSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at FilterSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/filter.js:52:30)
     at FilterSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at MapSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/map.js:55:26)
ERROR Error: undefined doesn't contain the link sites
     at MapSubscriber.project
(/opt/dspace-angular/dist/server/main.js:256933:23)
     at MapSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/map.js:49:35)
     at MapSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at MapSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/map.js:55:26)
     at MapSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at TakeSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/take.js:54:30)
     at TakeSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at FilterSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/filter.js:52:30)
     at FilterSubscriber.Subscriber.next
(/opt/dspace-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
     at MapSubscriber._next
(/opt/dspace-angular/node_modules/rxjs/internal/operators/map.js:55:26)
ERROR TypeError: authorizations.filter is not a function

Also in dspace I found

2021-08-10 09:18:59,083 WARN  unknown unknown
org.hibernate.cfg.annotations.EntityBinder @ HHH000482:
@org.hibernate.annotations.Cache used on a non-root entity: ignored for
[org.dspace.content.Collection]. Please see the Hibernate documentation
for proper usage.
2021-08-10 09:18:59,085 WARN  unknown unknown
org.hibernate.cfg.annotations.EntityBinder @ HHH000482:
@org.hibernate.annotations.Cache used on a non-root entity: ignored for
[org.dspace.content.Community]. Please see the Hibernate documentation
for proper usage.
2021-08-10 09:18:59,096 WARN  unknown unknown
org.hibernate.cfg.annotations.EntityBinder @ HHH000482:
@org.hibernate.annotations.Cache used on a non-root entity: ignored for
[org.dspace.content.Site]. Please see the Hibernate documentation for
proper usage.
2021-08-10 09:18:59,098 WARN  unknown unknown
org.hibernate.cfg.annotations.EntityBinder @ HHH000482:
@org.hibernate.annotations.Cache used on a non-root entity: ignored for
[org.dspace.eperson.EPerson]. Please see the Hibernate documentation for
proper usage.
2021-08-10 09:18:59,099 WARN  unknown unknown
org.hibernate.cfg.annotations.EntityBinder @ HHH000482:
@org.hibernate.annotations.Cache used on a non-root entity: ignored for
[org.dspace.eperson.Group]. Please see the Hibernate documentation for
proper usage.
2021-08-10 09:18:59,290 WARN  unknown unknown
net.sf.ehcache.DiskStorePathManager @ diskStorePath '/opt/tomcat9/temp'
is already used by an existing CacheManager either in the same VM or in
a different process.
The diskStore path for this CacheManager will be set to
/opt/tomcat9/temp/ehcache_auto_created6466982179905743553diskstore.
To avoid this warning consider using the CacheManager factory methods to
create a singleton CacheManager or specifying a separate ehcache
configuration (ehcache.xml) for each CacheManager instance.
2021-08-10 09:18:59,385 WARN  unknown unknown org.hibernate.orm.cache @
HHH90001007: Using legacy cache name
[org.hibernate.cache.spi.UpdateTimestampsCache] because configuration
could not be found for cache [default-update-timestamps-region]. Update
your configuration to rename cache
[org.hibernate.cache.spi.UpdateTimestampsCache] to
[default-update-timestamps-region].
2021-08-10 09:18:59,387 WARN  unknown unknown org.hibernate.orm.cache @
HHH90001007: Using legacy cache name
[org.hibernate.cache.internal.StandardQueryCache] because configuration
could not be found for cache [default-query-results-region]. Update your
configuration to rename cache
[org.hibernate.cache.internal.StandardQueryCache] to
[default-query-results-region].
2021-08-10 09:19:00,213 INFO  unknown unknown
org.springframework.security.web.DefaultSecurityFilterChain @ Creating
filter chain: Ant [pattern='/api/**'],
[org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3eebf752, org.springframework.security.web.context.SecurityContextPersistenceFilter@64174fd9,
org.springframework.security.web.header.HeaderWriterFilter@2f11ae19,
org.springframework.web.filter.CorsFilter@63e679c2,
org.springframework.security.web.csrf.CsrfFilter@6cd5bf8f,
org.dspace.app.rest.security.StatelessAuthenticationFilter@356ed663,
org.dspace.app.rest.security.StatelessLoginFilter@6fad816d,
org.dspace.app.rest.security.ShibbolethAuthenticationFilter@e9dbaad,
org.springframework.security.web.authentication.logout.LogoutFilter@1dff7484, org.dspace.app.rest.security.AnonymousAdditionalAuthorizationFilter@5ee5fad5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1b8c7c6, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@16e6e0b0, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1dfbe2a4, org.springframework.security.web.session.SessionManagementFilter@5ad70535, org.springframework.security.web.access.ExceptionTranslationFilter@35818476,
org.springframework.security.web.access.intercept.FilterSecurityInterceptor@138f45ed]
2021-08-10 09:19:00,250 WARN  unknown unknown
org.dspace.app.rest.converter.ConverterService @ Skipping registration
of resource class org.dspace.app.rest.model.hateoas.DSpaceResource; rest
class not found: org.dspace.app.rest.model.DSpaceRest
2021-08-10 09:19:00,251 WARN  unknown unknown
org.dspace.app.rest.converter.ConverterService @ Skipping registration
of resource class org.dspace.app.rest.model.hateoas.FacetsResource; rest
class not found: org.dspace.app.rest.model.FacetsRest
2021-08-10 09:19:00,256 WARN  unknown unknown
org.dspace.app.rest.converter.ConverterService @ Skipping registration
of resource class
org.dspace.app.rest.model.hateoas.SearchFacetValueResource; compatible
constructor not found
2021-08-10 09:19:00,256 WARN  unknown unknown
org.dspace.app.rest.converter.ConverterService @ Skipping registration
of resource class
org.dspace.app.rest.model.hateoas.SearchResultsResource; compatible
constructor not found

Thank you for your time,

Ciprian


--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx <https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx>
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/8f4eb006-d6d8-48ee-cf92-d3d86ffdcfba%40gmail.com <https://groups.google.com/d/msgid/dspace-tech/8f4eb006-d6d8-48ee-cf92-d3d86ffdcfba%40gmail.com>.

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/c0d2c7d0-da3c-460f-4fdb-91ca05d19f21%40gmail.com.

Reply via email to