For your dspace project to work properly, you must ensure that all the following services are running: solr, tomcat9, pm2. However, on a windows environment, you must set the solr, pm2 services to automatically start with windows when the computer is powered on.
Vào 16:21, T.6, 4 Th4, 2025 DVC Library <[email protected]> đã viết: > *Thank you very much sir for your instant support and expertise. * > The script you have given is pasted in the dspace-angular.json file, > and happy to say that the yarn test:rest was successful. > But I facing another problem, Pls support > before open dspace, I start the solr first (solr start -p 8983) > then it works and opens the localhost:4000 > But when I close the CMD window of solr start commands, the Dspace also > stops showing the communities-subcommunitities that I have created. If > tomcat restarted, it showed an error 500. > When I start the solr again and after tomcat, It works, but every time the > same practice is not convenient. I know there may be a solution. Pls guide > me. > > On Thu, Apr 3, 2025 at 2:52 PM Hoang Loc Guitar - Tự học đàn cổ nhạc Việt > Nam <[email protected]> wrote: > >> Dear DVC Library, >> >> I looked at the error images you attached. I found that the path you set >> to run the yarn test:rest command is incorrect. Please double check your >> path before running the yarn test:rest command. In particular, your >> dspace-angular.json file has an incorrect path. You should reset, in my >> opinion it is like this: >> { >> "apps": [ >> { >> "name": "dspace-ui", >> "cwd": "C:\\build\\dspace-angular-dspace-7.5", >> "script": "dist\\server\\main.js", >> "instances": "max", >> "exec_mode": "cluster", >> "env": { >> "NODE_ENV": "production" >> } >> } >> ] >> } >> And the path for you to run the yarn test:rest command is as follows: >> C:\build\dspace-angular-dspace-7.5>yarn test:rest >> Good luck with your dspace 7.5. >> Best regards! >> >> On Wed, Apr 2, 2025 at 6:25 PM DVC Library <[email protected]> >> wrote: >> >>> Hello Experts >>> I am installing Dspace 7.5 on window 10, I faced yarn test:rest issue >>> which shows error 404 >>> but I contined further steps and finaly opend the dspace >>> http://localhost:4000. It succeed. But when I cloased all the commands >>> window and I refresh it. It was not loading edit community and >>> subcommunity, when I restarted solr, topcat, and also run pm2 start >>> dspace-angular.json. But its not started again. >>> for reference, I have attached some screenshots. >>> my mail ID [email protected] >>> Pls help me in this regard. >>> >>> -- >>> 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 visit >>> https://groups.google.com/d/msgid/dspace-tech/1eb280f9-2395-4efc-8fc2-b4d03f386a21n%40googlegroups.com >>> <https://groups.google.com/d/msgid/dspace-tech/1eb280f9-2395-4efc-8fc2-b4d03f386a21n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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 visit https://groups.google.com/d/msgid/dspace-tech/CAFsANQ_84ptF%3DZ7HsuE81tCSBipbKqajjKhPkc7DkkCxr9bmLA%40mail.gmail.com.
