Re: nextcloud with apache on fedora 38

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 2023-08-26 06:27, Samuel Sieb a écrit :
On 8/25/23 10:44, François Patte wrote:
I would like to install a nextcloud server and I am seraching the detailed apache configuration related to this installation on fedora 38.

I could find such a description for ubuntu but the apache configuration is different with this distrib.

I have been running nextcloud on two different servers for a long time
so I don't remember all the details required to set it up.  It has
been very stable since then.
I think I'm mostly using the default apache config with adjustments to
match my hostname.  Also, an ssl config to have it work with
letsencrypt, probably mostly the one provided by letsencrypt.
I have a symlink: /var/www/nextcloud -> /var/lib/nextcloud and I
expect that I had to add an selinux fcontext for that target
directory.  (I don't know off-hand why that symlink is necessary, but
I tried removing it and changing the configs and apache rejected it.)
I have nextcloud configured to use a particular data directory and I
assume that has an fcontext as well.

Thank you for this answer. I, at last, succeeded to install nextcloud (I could downgrade the php version, using remi repos) but I have some config problems and cannot find consistent help with fedora installation.

For instance with selinux nextcloud help gives:
<quote>
semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/nextcloud/config(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/nextcloud/apps(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/nextcloud/data(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/nextcloud/.user.ini' semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/nextcloud/3rdparty/aws/aws-sdk-php/src/data/logs(/.*)?'
# restorecon -Rv '/var/www/html/nextcloud/'
</quote>

These files or directories do not exist, apps and data excepted which are located in /var/www/nextcloud.

As it is now configured, nextcloud does not work with setenforce 1

I have this warning:

PHP configuration option output_buffering must be disabled

without any indication on the responsible php file: output_buffering if Off in /etc/php.ini

I cannot configure the mail server...

etc.

I need some help!

Thank you.

--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte
FSF
https://www.fsf.org/blogs/community/presenting-shoetool-happy-holidays-from-the-fsf
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux