Re: [dspace-tech] pm2 start dspace-ui.json from root user?

2023-08-11 Thread Karol
Hi Mark,

thanks, i use debian. Do you think the tomcat user can be used to do this? 
Regards,

Karol

piątek, 11 sierpnia 2023 o 16:21:13 UTC+2 Mark H. Wood napisał(a):

> On Fri, Aug 11, 2023 at 03:02:42AM -0700, Karol wrote:
> > I wonder if it is safe to run angular from root? Shouldn't a dedicated 
> user 
> > be created like in apache2 www-data? Does anyone have any good practices 
> on 
> > how to run angular safely? Or maybe running pm2 from root is ok?
>
> I always prefer to run a service in its own account, unless it
> *requires* root.
>
> I created a user 'scholarworks' (since our repository is named
> "ScholarWorks") and configured the PM2 startup script to run PM2 as
> that user. Details will depend on your OS -- here we use Gentoo
> Linux, which uses OpenRC for startup, so I have a configuration script
> for this in '/etc/conf.d/'.
>
> One minor unpleasant result is that, if I want to interact with that
> PM2 instance, I have to 'su' to its account. Not a big deal, just an
> annoyance that I have to remember.
>
> -- 
> Mark H. Wood
> Lead Technology Analyst
>
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749 <(317)%20274-0749>
> www.ulib.iupui.edu
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/d626bf57-f18e-4311-bf0a-5fcc551e9f30n%40googlegroups.com.


[dspace-tech] Re: Dspace 7.6 "Browsing by Subject" doesn't work

2023-08-11 Thread Elaine Ding
By doing a trace, this call return no result .
https://infowiz.gmu.edu/server/api/discover/browses/subject/entries?sort=default,ASC=0=20=health

On Friday, August 11, 2023 at 2:32:01 PM UTC-4 Elaine Ding wrote:

> Hi, ~
>
> We installed Dspace7.6 ,  I do see dc.subject in solr , but the "Browsing 
> by Subject" return no item , any idea with issue?
>
> Thanks
> Elaine
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/9cfae5b4-a72f-49c9-adc6-59369b72733en%40googlegroups.com.


[dspace-tech] Shibboleth authentication on DSpace 7.6 works only in Firefox; it does not work in Chrome and Edge.

2023-08-11 Thread Manuela Ferreira


Hello!

I was trying to configure Shibboleth authentication on DSpace 7.6: 
https://vitrinedocsabertos.dev.rnp.br/ 

After installing and configuring Shibboleth and Apache2 following the 
manual at 
https://wiki.lyrasis.org/display/DSDOC7x/Authentication+Plugins#AuthenticationPlugins-ShibbolethAuthentication,
 
I can access the Shibboleth authentication page and successfully log in. 
However, after being redirected back to DSpace 7.6, the user appears logged 
in only when using Firefox. In Chrome and Edge, DSpace returns without 
displaying any login, even though /Shibboleth.sso/Session shows a valid 
login.

I've checked the logs for Shibboleth, DSpace, and Apache, but I haven't 
been able to find any errors.

Has anyone else encountered this issue?

Thank you in advance,

Manuela Klanovicz Ferreira

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/7028b9a5-9837-451a-bb98-36dc89cdd3d9n%40googlegroups.com.


[dspace-tech] Dspace 7.6 "Browsing by Subject" doesn't work

2023-08-11 Thread Elaine Ding
Hi, ~

We installed Dspace7.6 ,  I do see dc.subject in solr , but the "Browsing 
by Subject" return no item , any idea with issue?

Thanks
Elaine

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/02aebd45-0d66-4738-ad0f-2775ffe19bc5n%40googlegroups.com.


Re: [dspace-tech] pm2 start dspace-ui.json from root user?

2023-08-11 Thread Mark H. Wood
On Fri, Aug 11, 2023 at 03:02:42AM -0700, Karol wrote:
> I wonder if it is safe to run angular from root? Shouldn't a dedicated user 
> be created like in apache2 www-data? Does anyone have any good practices on 
> how to run angular safely? Or maybe running pm2 from root is ok?

I always prefer to run a service in its own account, unless it
*requires* root.

I created a user 'scholarworks' (since our repository is named
"ScholarWorks") and configured the PM2 startup script to run PM2 as
that user.  Details will depend on your OS -- here we use Gentoo
Linux, which uses OpenRC for startup, so I have a configuration script
for this in '/etc/conf.d/'.

One minor unpleasant result is that, if I want to interact with that
PM2 instance, I have to 'su' to its account.  Not a big deal, just an
annoyance that I have to remember.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/ZNZD1Rj-NRc9k3_6%40IUPUI.Edu.


signature.asc
Description: PGP signature


Re: [dspace-tech] Re: Dspace 7 Email configuration - Not showing subject

2023-08-11 Thread 'Agustín Alfieri' via DSpace Technical Support
I just merged your fix into my Dspace instance and it's working perfectly. 
Thanks a lot!!
Agustín.
El lunes, 7 de agosto de 2023 a la(s) 12:55:28 UTC-3, Mark H. Wood escribió:

> On Mon, Aug 07, 2023 at 08:10:38AM -0700, Olayiwola Lawal wrote:
> > I am currently facing same issue having upgraded to 7.6
> > 
> > I believe it's a bug discussed 
> https://github.com/DSpace/DSpace/issues/8921 and 
> > we may have to wait till the next update for fix. 
>
> This was fixed for 7_x in https://github.com/DSpace/DSpace/pull/8952
> and will be in 7.6.1 whenever that drops. You could merge it into
> your local version now.
>
> > On Monday, 7 August 2023 at 16:03:24 UTC+1 Agustín Alfieri wrote:
> > 
> > > Hello,
> > >
> > > I'm trying to configure the different emails sent automatically by the 
> > > system but I'm unable to get the subject of the email working. 
> > >
> > > This happens with all the emails. For example, here's the code for 
> > > *[dspace]/config/emails/register*:
> > >
> > > # E-mail sent to DSpace users when they register for an account
> > > ##
> > > ## Parameters: {0} is expanded to a special registration URL
> > > ##
> > > ## See org.dspace.core.Email for information on the format of this 
> file.
> > > ##
> > > *#set($subject = "This will be the Subject: of the message")*
> > > #set($phone = ${config.get('mail.message.helpdesk.telephone')})
> > > Para completar el proceso de registro de su cuenta, por favor haga 
> clic en 
> > > el siguiente enlace:
> > > ${params[0]}
> > > RepHipUNR - Repositorio Hipermedial UNR - http://rephip.unr.edu.ar
> > >
> > >
> > > And here's the email. As you can see, there's no subject.
> > > [image: email.png]
> > >
> > > Is this a bug or am I setting something wrong?
> > >
> > > Thanks,
> > > Agustín.
> > >
> > >
> > 
> > -- 
> > 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 dspace-tech...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/682fd246-52fe-42c4-98f0-3d4001f2dd6an%40googlegroups.com
> .
>
>
> -- 
> Mark H. Wood
> Lead Technology Analyst
>
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749 <(317)%20274-0749>
> www.ulib.iupui.edu
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/41138c60-1b22-4c0d-8bff-ac7596a26401n%40googlegroups.com.


[dspace-tech] pm2 start dspace-ui.json from root user?

2023-08-11 Thread Karol
Hi,

I wonder if it is safe to run angular from root? Shouldn't a dedicated user 
be created like in apache2 www-data? Does anyone have any good practices on 
how to run angular safely? Or maybe running pm2 from root is ok?

Best,

Karol

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/0b80c013-95fd-4fac-aece-dda7a5f0b929n%40googlegroups.com.