Dspace 7 - Angular Front End not working

595 views
Skip to first unread message

Zel Cole

unread,
Feb 28, 2022, 8:00:27 AM2/28/22
to DSpace Technical Support
Hi, 

   I just installed dspace 7 backend successfully, I here by have some issues while using the the dspace7 frontend, I am now using this version of  https://github.com/4Science/dspace-angular. To make sure I have a successful setup, I tried the frontend and backend with http connection, and it was success, while after setting up the https using the official installation https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace, I find out the frontend is not working by accessing the link and the browser stuck there. Here is my dspace 7 backend local.cfg config 

dspace.server.url = https://testrepository.usj.edu.mo/server

# URL of DSpace frontend (Angular UI). Include port number etc.

# DO NOT end it with '/'.

# This is used by the backend to provide links in emails, RSS feeds, Sitemaps,

# etc.

#dspace.ui.url = http://10.20.46.63:4000

dspace.ui.url = https://testrepository.usj.edu.mo:4000

# Name of the site

dspace.name = University of Saint Joseph

solr.server = http://10.20.46.63:8983/solr

Here is the dspace.cfg

dspace.dir = /dspace

dspace.server.url = https://testrepository.usj.edu.mo/server

dspace.ui.url = https://testrepository.usj.edu.mo:4000

dspace.name = University of Saint Joseph

Here is the environment.production.ts settings

import { AppConfig } from '../config/app-config.interface';


export const environment: Partial<AppConfig> = {

// export const environment = { 

   production: true,


//   Angular Universal settings

  universal: {

    preboot: true,

    async: true,

    time: false

  },         

  ui: {

      ssl: true,

      host: 'testrepository.usj.edu.mo',

      port: 4000,

      // NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript 

      nameSpace: '/'

  },

  rest: {

      ssl: true,

      host: 'testrepository.usj.edu.mo',

      port: 443,

      // NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript

      nameSpace: '/server'

  },


Best Regards,

Zel.






Tim Donohue

unread,
Feb 28, 2022, 11:10:20 AM2/28/22
to DSpace Technical Support
Hi Zel,

In order to help you, we'd need more information on what is "not working".  More specifically, we'd need you to find the underlying error messages, either in the UI or in the backend (it may be one or the other).  To troubleshoot DSpace 7 and find the underlying error messages, see our guide at: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

Once you locate the underlying error message, in *most cases* the cause may be one of these common installation issues: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues  If your error is one of those issues, then details are provided for how to fix the problem (often it is a configuration issue).

If you find an error that isn't listed in the common issues, feel free to share the detailed error message on this list and we'll do our best to provide support.

Tim

Reply all
Reply to author
Forward
0 new messages