Nextcloud version (eg, 20.0.5): 26.0.7.0
Operating system and version (eg, Ubuntu 20.04): Debian
(version unknown)
Apache or nginx version (eg, Apache 2.4.25): 2.4.56
PHP version (eg, 7.4): 8.1.23
Web-Hoster: Webgo www.webgo.de
The issue you are facing:
I only see “502 Bad Gateway (nginx)” when opening my URL.
In the apache log I see “child pid xxxxx exit signal Segmentation fault (11)”
The nextcloud log doesn’t contain any information - even when I set DEBUG loglevel (“loglevel => 0”)
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it: unable to replicate it - currently it’s permanent, sometimes it only comes once and sometimes it lasts a few hours and vanishes afterwards…
The output of your Nextcloud log in Admin > Logging:
nothing special / related in there…
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '<instanceid>',
'passwordsalt' => '<passwordsalt>',
'trusted_domains' =>
array (
0 => '<mydomain1>',
1 => '<mydomain2>',
2 => '<mydomain3>',
3 => '<mydomain4>',
4 => '<mydomain5>',
5 => '<mydomain6>',
6 => '<mydomain7>',
7 => '<mydomain8>',
8 => '<mydomain9>',
9 => '<mydomain10>',
),
'activity_expire_days' => '120',
'datadirectory' => '/home/www/nextcloud_data/data',
'filelocking.debug' => false,
'filelocking.enabled' => true,
'filelocking.ttl' => 600,
'overwrite.cli.url' => 'https://<mymainurl>',
'version' => '26.0.7.0',
'installed' => true,
'dbtype' => 'mysql',
'dbname' => '<dbname>',
'dbhost' => '127.0.0.1',
'dbtableprefix' => 'oc_',
'dbuser' => '<dbuser>',
'dbpassword' => '<dbpasswd>',
'defaultapp' => 'files',
'default_language' => 'de',
'force_language' => 'de',
'default_phone_region' => 'DE',
'integrity.check.disabled' => false,
'knowledgebaseenabled' => true,
'enable_avatars' => true,
'allow_user_to_change_display_name' => true,
'theme' => '',
'secret' => '<something>',
'log_type' => 'file',
'loglevel' => '0',
'logdateformat' => 'Y-m-d H:i:s',
'logtimezone' => 'Europe/Berlin',
'log_rotate_size' => 20971520,
'skeletondirectory' => '/home/www/nextcloud_data/skeleton',
'updatechecker' => true,
'trashbin_retention_obligation' => 'auto',
'versions_retention_obligation' => 'disabled',
'appstoreenabled' => true,
'appstore.experimental.enabled' => true,
'singleuser' => false,
'maintenance' => false,
'memcache.local' => '\\OC\\Memcache\\APCu',
'htaccess.RewriteBase' => '/',
'mail_smtpmode' => 'smtp',
'updater.release.channel' => 'stable',
'mail_smtpsecure' => 'ssl',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'Cloud',
'mail_smtpauth' => 1,
'mail_domain' => 'mymail.domain',
'mail_smtphost' => 'mymailhost',
'mail_smtpport' => '465',
'mail_smtpname' => 'somewhere@the.internet',
'mail_smtppassword' => '<something>',
'mysql.utf8mb4' => true,
'jpeg_quality' => '80',
'share_folder' => '/',
'simpleSignUpLink.shown' => false,
'data-fingerprint' => '<something>',
'mail_sendmailmode' => 'smtp',
'memories.exiftool' => '/home/www/nextcloud/apps/memories/exiftool-bin/exiftool-amd64-glibc',
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\Image',
1 => 'OC\\Preview\\HEIC',
2 => 'OC\\Preview\\TIFF',
3 => 'OC\\Preview\\Movie',
4 => 'OC\\Preview\\MKV',
5 => 'OC\\Preview\\MP4',
6 => 'OC\\Preview\\AVI',
),
'enable_previews' => false,
'preview_max_memory' => 2048,
'preview_max_filesize_image' => 256,
'preview_max_x' => 1024,
'preview_max_y' => 1024,
'preview_concurrency_new' => '1',
'memories.ffmpeg_path' => '/usr/bin/ffmpeg',
'memories.ffprobe_path' => '/usr/bin/ffprobe',
'memories.transcoder' => '/home/www/nextcloud/apps/memories/exiftool-bin/go-vod-amd64',
'memories.no_transcode' => false,
'memories.qsv' => false,
'memories.vod.path' => '/home/www/nextcloud/apps/memories/exiftool-bin/go-vod-amd64',
'memories.vod.ffmpeg' => '/usr/bin/ffmpeg',
'memories.vod.ffprobe' => '/usr/bin/ffprobe',
'updater.secret' => '<something>',
);
The output of your Apache/nginx/system log in /var/log/____
:
[Fri Sep 22 13:35:39 2023] [notice] [client AH00163: Apache/2.4.56 (Debian) SVN/1.14.1 OpenSSL/1.1.1n configured -- resuming normal operations
[Fri Sep 22 13:35:39 2023] [notice] [client AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 22 13:35:44 2023] [notice] [client AH00052: child pid 1342800 exit signal Segmentation fault (11)
[Fri Sep 22 13:35:49 2023] [notice] [client AH00052: child pid 1342882 exit signal Segmentation fault (11)
[Fri Sep 22 13:35:57 2023] [notice] [client AH00052: child pid 1342801 exit signal Segmentation fault (11)
[Fri Sep 22 13:35:58 2023] [notice] [client AH00052: child pid 1342911 exit signal Segmentation fault (11)
I had the problem nearly every time after an upgrade since v22 (if I can remember correctly) - which then suddenly vanishes after a certain time (sometimes after a few hours, sometimes after minutes).
Yesterday I upgraded my instance from 25.0.10 to 25.0.12 and then to 26.0.7 - after that upgrade I had the error once - but after a restart of the apache server everything worked.
Today I suddenly found out, that the failure reappears - now permanently.
When I use the command line occ command, everything seems to be O.K. - even the cron job runs in it’s cycle.
But the web GUI is totally inaccessible…
What’s going on here?
Too less memory?
Database problems?