Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 16/09/2025, à 13:45

Sebastien31T

[resolu] Impossible de retrouver mon site nextcloud

Bonjour à tous,
Je me permets de poster car je rencontre des difficultés avec ma nouvelle installation de nextcloud.
Voici mon virtualhost:

<IfModule mod_ssl.c>
<VirtualHost *:443>
	# The ServerName directive sets the request scheme, hostname and port that
	# the server uses to identify itself. This is used when creating
	# redirection URLs. In the context of virtual hosts, the ServerName
	# specifies what hostname must appear in the request's Host: header to
	# match this virtual host. For the default virtual host (this file) this
	# value is not decisive as it is used as a last resort host regardless.
	# However, you must set it for any further virtual host explicitly.
	ServerName obierti-cloud.com
	ServerAlias *obierti-cloud.com

	ServerAdmin contact@obierti.fr
	DocumentRoot /srv/web/obierti-cloud/

	<Directory /srv/web/obierti-cloud/>
        	Options +FollowSymlinks
        	AllowOverride All
        	Require all granted
          	<IfModule mod_dav.c>
            		Dav off
          	</IfModule>
        	SetEnv HOME /srv/web/obierti-cloud
        	SetEnv HTTP_HOME /srv/web/obierti-cloud
     	</Directory>
	# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
	# error, crit, alert, emerg.
	# It is also possible to configure the loglevel for particular
	# modules, e.g.
	#LogLevel info ssl:warn
	LogLevel error
	LogLevel warn
	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined

	# For most configuration files from conf-available/, which are
	# enabled or disabled at a global level, it is possible to
	# include a line for only one particular virtual host. For example the
	# following line enables the CGI configuration for this host only
	# after it has been globally disabled with "a2disconf".
	include conf-available/serve-cgi-bin.conf
RewriteEngine on
# Some rewrite rules in this file were disabled on your HTTPS site,
# because they have the potential to create redirection loops.

RewriteCond %{SERVER_NAME} =obierti-cloud.com [OR]
RewriteCond %{SERVER_NAME} =*cloud-obierti.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/obierti-cloud.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/obierti-cloud.com/privkey.pem
</VirtualHost>
</IfModule>

Voici mes log nextcloud:

<IfModule mod_ssl.c>
<VirtualHost *:443>
	# The ServerName directive sets the request scheme, hostname and port that
	# the server uses to identify itself. This is used when creating
	# redirection URLs. In the context of virtual hosts, the ServerName
	# specifies what hostname must appear in the request's Host: header to
	# match this virtual host. For the default virtual host (this file) this
	# value is not decisive as it is used as a last resort host regardless.
	# However, you must set it for any further virtual host explicitly.
	ServerName obierti-cloud.com
	ServerAlias *obierti-cloud.com

	ServerAdmin contact@obierti.fr
	DocumentRoot /srv/web/obierti-cloud/

	<Directory /srv/web/obierti-cloud/>
        	Options +FollowSymlinks
        	AllowOverride All
        	Require all granted
          	<IfModule mod_dav.c>
            		Dav off
          	</IfModule>
        	SetEnv HOME /srv/web/obierti-cloud
        	SetEnv HTTP_HOME /srv/web/obierti-cloud
     	</Directory>
	# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
	# error, crit, alert, emerg.
	# It is also possible to configure the loglevel for particular
	# modules, e.g.
	#LogLevel info ssl:warn
	LogLevel error
	LogLevel warn
	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined

	# For most configuration files from conf-available/, which are
	# enabled or disabled at a global level, it is possible to
	# include a line for only one particular virtual host. For example the
	# following line enables the CGI configuration for this host only
	# after it has been globally disabled with "a2disconf".
	include conf-available/serve-cgi-bin.conf
RewriteEngine on
# Some rewrite rules in this file were disabled on your HTTPS site,
# because they have the potential to create redirection loops.

RewriteCond %{SERVER_NAME} =obierti-cloud.com [OR]
RewriteCond %{SERVER_NAME} =*cloud-obierti.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/obierti-cloud.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/obierti-cloud.com/privkey.pem
</VirtualHost>
</IfModule>

et mes logs apache:

[Tue Sep 16 11:12:38.676068 2025] [http2:warn] [pid 16075] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Tue Sep 16 11:12:38.707601 2025] [mpm_prefork:notice] [pid 16075] AH00163: Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.13 configured -- resuming normal operations
[Tue Sep 16 11:12:38.707633 2025] [core:notice] [pid 16075] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 16 11:16:36.503036 2025] [mpm_prefork:notice] [pid 16075] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Sep 16 11:16:36.641569 2025] [http2:warn] [pid 16131] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Tue Sep 16 11:16:36.664475 2025] [mpm_prefork:notice] [pid 16131] AH00163: Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.13 configured -- resuming normal operations
[Tue Sep 16 11:16:36.664506 2025] [core:notice] [pid 16131] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 16 11:21:48.741380 2025] [php:error] [pid 16140] [client 196.251.84.111:63404] script '/srv/web/aussonne/style.php' not found or unable to stat
[Tue Sep 16 11:21:48.777208 2025] [php:error] [pid 16140] [client 196.251.84.111:63404] script '/srv/web/aussonne/wp-content/style.php' not found or unable to stat
[Tue Sep 16 11:21:48.813085 2025] [php:error] [pid 16140] [client 196.251.84.111:63404] script '/srv/web/aussonne/wp-content/themes/style.php' not found or unable to stat
[Tue Sep 16 11:21:48.848154 2025] [php:error] [pid 16140] [client 196.251.84.111:63404] script '/srv/web/aussonne/wp-admin/style.php' not found or unable to stat
[Tue Sep 16 11:21:48.883185 2025] [php:error] [pid 16140] [client 196.251.84.111:63404] script '/srv/web/aussonne/wp-includes/style.php' not found or unable to stat
[Tue Sep 16 11:21:48.918418 2025] [php:error] [pid 16140] [client 196.251.84.111:63404] script '/srv/web/aussonne/chosen.php' not found or unable to stat
[Tue Sep 16 11:21:48.953549 2025] [php:error] [pid 16140] [client 196.251.84.111:63404] script '/srv/web/aussonne/file.php' not found or unable to stat
[Tue Sep 16 11:29:39.419958 2025] [php:warn] [pid 16135] [client 163.116.163.210:43656] PHP Warning:  Trying to access array offset on false in /srv/web/foyer-rural-aussonne/wp-content/themes/roneous/templates/post/inc-sharing.php on line 18, referer: https://www.google.com/
[Tue Sep 16 11:29:53.854836 2025] [mpm_prefork:notice] [pid 16131] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Sep 16 11:29:53.997602 2025] [http2:warn] [pid 16294] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Tue Sep 16 11:29:54.022083 2025] [mpm_prefork:notice] [pid 16294] AH00163: Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.13 configured -- resuming normal operations
[Tue Sep 16 11:29:54.022133 2025] [core:notice] [pid 16294] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 16 11:37:03.623093 2025] [php:error] [pid 16314] [client 18.215.49.176:27559] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /srv/web/foyer-rural-aussonne/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Utils/Separators.php on line 174

Pouvez vous m'aider à comprendre mon erreur et m'aider à la résoudre svp ?

Dernière modification par Sebastien31T (Le 20/09/2025, à 08:56)

Hors ligne

#2 Le 17/09/2025, à 21:15

jajaX

Re : [resolu] Impossible de retrouver mon site nextcloud

salut,

ta config est bizarre !!! tes fichiers sont dans le dossier "/srv/web/" normalement, c'est plutôt /var/www" sur ubuntu. mais bon ok.

apapremment c'est ton apache2 qui démarres pas

[Tue Sep 16 11:12:38.707601 2025] [mpm_prefork:notice] [pid 16075] AH00163: Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.13 configured -- resuming normal operations
[Tue Sep 16 11:12:38.707633 2025] [core:notice] [pid 16075] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 16 11:16:36.503036 2025] [mpm_prefork:notice] [pid 16075] AH00170: caught SIGWINCH, shutting down gracefully

il y a les 2 premiers lignes qui explique le soucis

[Tue Sep 16 11:12:38.676068 2025] [http2:warn] [pid 16075] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Tue Sep 16 11:12:38.707601 2025] [mpm_prefork:notice] [pid 16075] AH00163: Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.13 configured -- resuming normal operations

même soucis avec une solution sur cette page.


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 24.04 Noble Numbat (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#3 Le 19/09/2025, à 12:34

Sebastien31T

Re : [resolu] Impossible de retrouver mon site nextcloud

Merci j ai coorrigé ca marche merci

Hors ligne

#4 Le 19/09/2025, à 17:09

jajaX

Re : [resolu] Impossible de retrouver mon site nextcloud

Sebastien31T a écrit :

Merci j ai coorrigé ca marche merci

super !! un petit [résolu] wink


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 24.04 Noble Numbat (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#5 Le 19/09/2025, à 20:37

Sebastien31T

Re : [resolu] Impossible de retrouver mon site nextcloud

merci c est fait

Dernière modification par Sebastien31T (Le 20/09/2025, à 08:55)

Hors ligne