FS#70748 - [nextcloud] remove optional dependency php_apache
Attached to Project:
Community Packages
Opened by Markus (wolegis) - Friday, 07 May 2021, 09:31 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 17 May 2021, 17:18 GMT
Opened by Markus (wolegis) - Friday, 07 May 2021, 09:31 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 17 May 2021, 17:18 GMT
|
Details
Description:
I like to recommend to remove php_apache from the list of optional dependencies. Due to the obligation to run nextcloud with its own user listing php_apache as an optional dependency doesn't make any sense anymore. Using php_apache would result in nextcloud code to be run with the same user that is used by apache itself (http). This is not desired. |
This task depends upon
Closed by Sergej Pupykin (sergej)
Monday, 17 May 2021, 17:18 GMT
Reason for closing: Won't fix
Additional comments about closing: I returned ability to run nextcloud using php-apache with mod_itk.
Monday, 17 May 2021, 17:18 GMT
Reason for closing: Won't fix
Additional comments about closing: I returned ability to run nextcloud using php-apache with mod_itk.
Have you read this section of the wiki article [1] and used mod_itk [2]?
I'm aware, that the latter is not packaged in the official repositories yet, but @sergej promised to package it (*hint* *hint*) :)
[1] https://wiki.archlinux.org/title/Nextcloud#Apache
[2] https://aur.archlinux.org/packages/mod_itk/
For my personal Nextcloud installation I opted for nginx and uwsgi.
IMHO in addition to the initial request of this ticket I would also recommend to remove the mentioning of mod_php and mpm_itk altogether on the Wiki page. But that's off topic here.
(BTW Did you realize that mod_php is not really mentioned in this section. Only in the deterrence note.)
The whole Nextcloud wiki page is a convoluted and confusing mess. It was hastily updated very frequently during the turmoil caused by the breaking changes of the Nextcloud package between version 20 and version 21.
If I had the time I would try to cleanup and streamline the wiki page - and maybe I will find this time in the future. Currently I'm trying to adopt an abandonned AUR package (grav). I had a closer look at the Nextcloud package since from a technical POV these two web applications share some similarities. That's why I created this ticket.
As I haven't used apache in years, I can't really comment on that, but from a security and configurability standpoint I would also choose nginx over apache any day of the year.
> The whole Nextcloud wiki page is a convoluted and confusing mess. It was hastily updated very frequently during the turmoil caused by the breaking changes of the Nextcloud package between version 20 and version 21.
I agree. Given the information that was there before, it is already better though.
I have tried to establish a similar documentation style to e.g. the page for postfixadmin [1], as the information in the nextcloud article is partially outdated and all over the place.
At least the horror recommendations of "chown half your filesystem to the http user" are gone...
If you intend to improve the page, please come and find me in #archlinux-wiki on freenode and we can discuss things.
[1] https://wiki.archlinux.org/title/PostfixAdmin