EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09631
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Run Apache as EPrints
- To: eprints-tech@ecs.soton.ac.uk
- Subject: Re: [EP-tech] Run Apache as EPrints
- From: Yuri <yurj@alfa.it>
- Date: Thu, 22 Feb 2024 11:09:30 +0100
CAUTION: This e-mail originated outside the University of Southampton.
Hi!
you also have to run the eprints bin commands (command line) as the www-data user. There's a check in this utilities about the user that should run them, I think it is a config somewhere.
Il 22/02/24 10:51, James Kerwin ha scritto:
CAUTION: This e-mail originated outside the University of Southampton.CAUTION: This e-mail originated outside the University of Southampton.Hi All,
I'm finally upgrading our live repository server and following this guidance which appears to have been updated since I last built a server (mid 2023 for our test repository):
I have a question about running apache as the EPrints user which is included here:
Now, update Apache configuration to set it up to use the eprints user and group, by ensuring the following lines are set thus in /etc/apache2/envvars:
On our recent server rebuilds (Ubuntu 20/22 and some version of EPrints 3.4) I haven't taken this step - presumably because it wasn't there. The /etc/apache2/envars file shows 222-data for each of these two settings. Does this matter? Should I go back and change it for past instances? Do I leave it as www-data for our current one?export APACHE_RUN_USER=eprintsexport APACHE_RUN_GROUP=eprints
I'm not sure what is best to do. On one hand "if it isn't broken..." and on the other "this might be really important". Our live repository is very old and these values are still www-data on there.
Thanks,James
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List *** Archive: https://www.eprints.org/tech.php/ *** EPrints community wiki: https://wiki.eprints.org/
- Follow-Ups:
- Re: [EP-tech] Run Apache as EPrints
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] Run Apache as EPrints
- References:
- [EP-tech] Run Apache as EPrints
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] Run Apache as EPrints
- Prev by Date: [EP-tech] Run Apache as EPrints
- Next by Date: Re: [EP-tech] Run Apache as EPrints
- Previous by thread: [EP-tech] Run Apache as EPrints
- Next by thread: Re: [EP-tech] Run Apache as EPrints
- Index(es):