DSpace / dspace-angular

DSpace User Interface built on Angular.io
https://wiki.lyrasis.org/display/DSDOC8x/
BSD 3-Clause "New" or "Revised" License
131 stars 429 forks source link

Whitelabel Error Page #2360

Closed dzul5883 closed 1 year ago

dzul5883 commented 1 year ago

Describe the bug Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sat Jul 08 06:30:30 UTC 2023 There was an unexpected error (type=Internal Server Error, status=500). An internal read or write operation failed

To Reproduce Steps to reproduce the behavior:

  1. to view pdf
  2. fail to upload pdf

Expected behavior share the dspace.log dspace.log

2023-07-08 05:46:57,682 INFO unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property. 2023-07-08 05:46:58,306 INFO unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property. 2023-07-08 05:46:58,340 INFO unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property. 2023-07-08 05:46:58,347 INFO unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property. 2023-07-08 05:46:58,357 INFO unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property. 2023-07-08 05:46:58,379 INFO unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property. 2023-07-08 05:47:02,550 INFO unknown unknown org.eclipse.jetty.util.log @ Logging initialized @9959ms to org.eclipse.jetty.util.log.Slf4jLog 2023-07-08 05:47:03,145 INFO unknown unknown org.springframework.cache.ehcache.EhCacheManagerFactoryBean @ Initializing EhCache CacheManager 'org.dspace.services' 2023-07-08 05:47:05,587 INFO unknown unknown org.dspace.importer.external.service.ImportService @ Loading 7 import sources. 2023-07-08 05:47:07,193 INFO unknown unknown org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor @ Autowired annotation is not supported on static methods: public static void org.dspace.rdf.storage.DOIURIGenerator.setFallback(org.dspace.rdf.storage.URIGenerator) 2023-07-08 05:47:07,205 INFO unknown unknown org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor @ Autowired annotation is not supported on static methods: public static void org.dspace.rdf.storage.DOIHandleURIGenerator.setFallback(org.dspace.rdf.storage.URIGenerator) 2023-07-08 05:47:08,536 INFO unknown unknown org.dspace.storage.rdbms.DatabaseUtils @ Loading Flyway DB migrations from: classpath:org/dspace/storage/rdbms/sqlmigration/postgres, classpath:org/dspace/storage/rdbms/migration, classpath:org/dspace/storage/rdbms/xmlworkflow 2023-07-08 05:47:08,565 INFO unknown unknown org.flywaydb.core.internal.license.VersionPrinter @ Flyway Community Edition 6.5.7 by Redgate 2023-07-08 05:47:08,643 INFO unknown unknown org.flywaydb.core.internal.database.DatabaseFactory @ Database: jdbc:postgresql://localhost:5432/dspace (PostgreSQL 14.8) 2023-07-08 05:47:08,660 WARN unknown unknown org.flywaydb.core.internal.database.base.Database @ Flyway upgrade recommended: PostgreSQL 14.8 is newer than this version of Flyway and support has not been tested. The latest supported version of PostgreSQL is 12. 2023-07-08 05:47:08,823 WARN unknown unknown org.flywaydb.core.internal.database.base.Database @ Flyway upgrade recommended: PostgreSQL 14.8 is newer than this version of Flyway and support has not been tested. The latest supported version of PostgreSQL is 12. 2023-07-08 05:47:08,906 INFO unknown unknown org.dspace.storage.rdbms.DatabaseUtils @ DSpace database schema is up to date 2023-07-08 05:47:08,926 INFO unknown unknown org.dspace.event.EventServiceImpl @ EventService dispatcher pool initialized 2023-07-08 05:47:09,230 INFO unknown unknown org.hibernate.Version @ HHH000412: Hibernate Core {5.4.10.Final} 2023-07-08 05:47:09,952 WARN unknown unknown org.hibernate.orm.deprecation @ HHH020100: The Ehcache second-level cache provider for Hibernate is deprecated. See https://hibernate.atlassian.net/browse/HHH-12441 for details. 2023-07-08 05:47:09,975 INFO unknown unknown org.hibernate.annotations.common.Version @ HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2023-07-08 05:47:10,145 INFO unknown unknown org.hibernate.dialect.Dialect @ HHH000400: Using dialect: org.dspace.storage.rdbms.hibernate.postgres.DSpacePostgreSQL82Dialect 2023-07-08 05:47:10,557 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. 2023-07-08 05:47:10,563 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. 2023-07-08 05:47:10,594 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. 2023-07-08 05:47:10,608 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. 2023-07-08 05:47:10,611 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. 2023-07-08 05:47:11,129 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]. 2023-07-08 05:47:11,131 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]. 2023-07-08 05:47:11,222 INFO unknown unknown org.hibernate.validator.internal.util.Version @ HV000001: Hibernate Validator 6.0.18.Final 2023-07-08 05:47:11,799 WARN unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.batch.ImpBitstreamMetadatavalue] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'. 2023-07-08 05:47:11,808 WARN unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.batch.ImpMetadatavalue] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'. 2023-07-08 05:47:11,813 WARN unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.layout.CrisLayoutField] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'. 2023-07-08 05:47:11,815 WARN unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.batch.ImpBitstream] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'. 2023-07-08 05:47:11,816 WARN unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.layout.CrisLayoutTab] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'. 2023-07-08 05:47:11,821 WARN unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.layout.CrisLayoutMetric2Box] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'. 2023-07-08 05:47:11,822 WARN unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.layout.CrisLayoutBox] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'. 2023-07-08 05:47:11,824 WARN unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.deduplication.Deduplication] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'. 2023-07-08 05:47:11,825 WARN unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.batch.ImpRecord] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'. 2023-07-08 05:47:11,829 WARN unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.batch.ImpWorkflowNState] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'. 2023-07-08 05:47:16,271 WARN unknown unknown org.dspace.scripts.handler.impl.CommandLineDSpaceRunnableHandler @ The tab with name organizations and entity type OrgUnit in the row 10 of sheet tab is not present in the tab2box sheet 2023-07-08 05:47:16,272 WARN unknown unknown org.dspace.scripts.handler.impl.CommandLineDSpaceRunnableHandler @ The box with name orgcard and entity type OrgUnit in the row 23 of sheet box is not present in the tab2box sheet 2023-07-08 05:47:16,272 WARN unknown unknown org.dspace.scripts.handler.impl.CommandLineDSpaceRunnableHandler @ The box with name projectcard and entity type Project in the row 29 of sheet box is not present in the tab2box sheet 2023-07-08 05:47:16,272 INFO unknown unknown org.dspace.scripts.handler.impl.CommandLineDSpaceRunnableHandler @ The given workbook is valid. Proceed with the import 2023-07-08 05:47:17,797 INFO unknown unknown org.dspace.scripts.handler.impl.CommandLineDSpaceRunnableHandler @ The workbook has been parsed correctly, found 25 tabs to import 2023-07-08 05:47:17,798 INFO unknown unknown org.dspace.scripts.handler.impl.CommandLineDSpaceRunnableHandler @ Proceed with the clearing of the previous layout 2023-07-08 05:47:17,829 INFO unknown unknown org.dspace.scripts.handler.impl.CommandLineDSpaceRunnableHandler @ Found 25 tabs to delete 2023-07-08 05:47:18,433 INFO unknown unknown org.dspace.scripts.handler.impl.CommandLineDSpaceRunnableHandler @ The previous layout has been deleted, proceed with the import of the new configuration 2023-07-08 05:47:18,870 INFO unknown unknown org.dspace.scripts.handler.impl.CommandLineDSpaceRunnableHandler @ Import completed successfully 2023-07-08 05:47:19,061 INFO unknown unknown org.springframework.cache.ehcache.EhCacheManagerFactoryBean @ Shutting down EhCache CacheManager 'org.dspace.services'

Related work Link to any related tickets or PRs here.

tdonohue commented 1 year ago

Cannot reproduce. This sounds like a possible local configuration issue (it might be one of our common installation issues).

To be certain though, I'd recommend following the troubleshooting guide to look for underlying errors. If you need more help, please use one of our public support options.