Thank you, Tim!

You were right.  I read the instructions more than once, but confused 
myself with the proxy part... :)   Updating config.prod.yml with your 
suggestion is working! 

ui:
  ssl: false
  host: localhost
  port: 4000

As an added bonus, my problem with the page continuously spinning while 
using "browse by date" is gone now and it works fine.

I have one problem remaining - starting the UI.  Every time I reboot 
Ubuntu, I can't access the UI in the browser.  I manually run one of these 
two commands and the site comes up, but if I stop one of them, I get errors 
after trying any of the two commands again.

sudo node ./dist/server/main.js
or
sudo pm2 start dspace-ui.json

So, I reboot Ubuntu and can repeat the process.  If I understand correctly, 
I can use pm2 to start automatically, so I tried to set this up using this 
page as a guide (How to Enable PM2 to Auto Start Node.js App at System Boot 
(tecmint.com) 
<https://www.tecmint.com/enable-pm2-to-auto-start-node-js-app/>):

pm2 startup
systemctl status pm2-root.service 
pm2 start dspace-ui.json
sudo pm2 saves

That way, afer reboot the pm2 starts and the UI loads, but I have an "error 
loading top communities" message where the communities should be 
displayed.  The say goes for other pages.

Once I "pm2 unstartup", I'm back to having to launch pm2 manually, but at 
least the site now works great.  Just wondering what I could do to automate 
the startup.




-- 
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/50339c27-f7e0-44f1-8fe7-5d7a1a494909n%40googlegroups.com.

Reply via email to