Thanks Tim. I am able to run the front end using the yarn start. When I go to the url, I get some interface response but I'm also getting the following errors:
Environment: Production No _links section found at https://utley.lib.udel.edu/server/api No _links section found at https://utley.lib.udel.edu/server/api No _links section found at https://utley.lib.udel.edu/server/api and errors continue: ERROR Error: undefined doesn't contain the link sites at MapSubscriber.project (/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/dist/server/main.js:256927:23) at MapSubscriber._next (/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/operators/map.js:49:35) at MapSubscriber.Subscriber.next (/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/Subscriber.js:66:18) at MapSubscriber._next (/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/operators/map.js:55:26) at MapSubscriber.Subscriber.next (/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/Subscriber.js:66:18) at TakeSubscriber._next (/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/operators/take.js:54:30) at TakeSubscriber.Subscriber.next (/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/Subscriber.js:66:18) at FilterSubscriber._next (/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/operators/filter.js:52:30) at FilterSubscriber.Subscriber.next (/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/Subscriber.js:66:18) at MapSubscriber._next (/home/dspace/SOFTWARE/dspace-angular-dspace-7.0/node_modules/rxjs/internal/operators/map.js:55:26) Then I am getting some 200 reponses: GET / 200 506.147 ms - - GET /styles.0324863878df4752a58c.css 200 4.651 ms - 346 GET /dspace-theme.css 200 1.231 ms - - GET /runtime-es2015.bfc7b4c3632b68fcfa67.js 200 7.956 ms - - GET /assets/images/dspace-logo.svg 200 8.637 ms - - GET /polyfills-es2015.473cd1992a6ad138d0e6.js 200 3.538 ms - - GET /main-es2015.1404cdbe3f3368ec46fa.js 200 5.493 ms - - GET /assets/fonts/fa-solid-900.woff2 200 1.171 ms - 80300 GET /25-es2015.b09d3ba9b53c98168491.js 200 8.464 ms - - GET /assets/i18n/en.json5 200 6.916 ms - 126854 GET /79-es2015.1d3d2d87bd7969ff080d.js 200 3.644 ms - - GET /80-es2015.1628eec9b3c265b32bc3.js 200 1.180 ms - - GET /82-es2015.9124c792844bf9d9a09c.js 200 2.031 ms - - GET /common-es2015.a61f806adcb8ed987a9a.js 200 7.944 ms - - GET /assets/images/favicon.ico 200 1.089 ms - - Still when I try to compile and run the front end, i'm still getting the same error. Keith On Mon, Sep 13, 2021 at 11:16 AM Tim Donohue <[email protected]> wrote: > > Hi Keith, > > If PM2 is throwing an odd error, I'd recommend starting basic first.. Try > and simply run "yarn start" from the commandline for the UI. This will build > the UI for production and start it on port 4000 (by default). This also will > often provide you with a more useful error if the UI setup is incorrect. > Once you get it working via "yarn start", then go back to using PM2 (as PM2 > helps ensure the app stays up and provides better monitoring/logging). > > If you hit errors when running "yarn start", we have a number of common > errors listed in the install guide & how to usually fix them: > https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues > > If you have further questions let us know on this list. > > Tim > ________________________________ > From: [email protected] <[email protected]> on behalf > of Keith Jones <[email protected]> > Sent: Friday, September 10, 2021 2:07 PM > To: DSpace Technical Support <[email protected]> > Subject: [dspace-tech] Dspace 7 Front end error > > Hi, > > I'm in the process of installing and running Dspace 7. I've installed > the backend and frontend on a Centos 8 machine. When I start the front > end, I get the following error: > > > [PM2] Spawning PM2 daemon with pm2_home=/home/dspace/.pm2 > [PM2] PM2 Successfully daemonized > [PM2][WARN] Applications dspace-angular not running, starting... > [PM2] App [dspace-angular] launched (1 instances) > ┌─────┬───────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────── > ──┐ > │ id │ name │ namespace │ version │ mode │ pid > │ uptime │ ↺ │ status │ cpu │ mem │ user │ watchin > g │ > ├─────┼───────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────── > ──┤ > │ 0 │ dspace-angular │ default │ N/A │ fork │ N/A > │ 0 │ 0 │ errored │ 0% │ 0b │ dspace │ disable > d │ > └─────┴───────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴── > > I checked the log file using this command: pm2 logs > Here is the output: > > [TAILING] Tailing last 15 lines for [all] processes (change the value > with --lines option) > /home/dspace/.pm2/pm2.log last 15 lines: > PM2 | 2021-09-10T14:56:18: PM2 log: RPC socket file : > /home/dspace/.pm2/rpc.sock > PM2 | 2021-09-10T14:56:18: PM2 log: BUS socket file : > /home/dspace/.pm2/pub.sock > PM2 | 2021-09-10T14:56:18: PM2 log: Application log path : > /home/dspace/.pm2/logs > PM2 | 2021-09-10T14:56:18: PM2 log: Worker Interval : 30000 > PM2 | 2021-09-10T14:56:18: PM2 log: Process dump file : > /home/dspace/.pm2/dump.pm2 > PM2 | 2021-09-10T14:56:18: PM2 log: Concurrent actions : 2 > PM2 | 2021-09-10T14:56:18: PM2 log: SIGTERM timeout : 1600 > PM2 | 2021-09-10T14:56:18: PM2 log: > =============================================================================== > PM2 | 2021-09-10T14:56:18: PM2 log: App [dspace-angular:0] > starting in -fork mode- > PM2 | 2021-09-10T14:56:18: PM2 log: App [dspace-angular:0] online > PM2 | 2021-09-10T14:56:18: PM2 error: Error: spawn /usr/bin/yarn ENOENT > PM2 | at Process.ChildProcess._handle.onexit > (internal/child_process.js:269:19) > PM2 | at onErrorNT (internal/child_process.js:467:16) > PM2 | at processTicksAndRejections > (internal/process/task_queues.js:82:21) > PM2 | 2021-09-10T14:56:18: PM2 error: Cancelling versioning data > parsing > > > I'm new to 7 and not sure what is causing the error and where to start > troubleshooting, any help will be appreciated. > > Thanks > Keith > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzOgS9LR%2BxCU%3DE7f0GLZFXcQn7tzHRUZ%3DQ-0saBXYWCoLw%40mail.gmail.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAJ6iCzOFSWdjvERMGAwtdtDtqHU4R16LD7LEQP6VEXqaqp2WQQ%40mail.gmail.com.
