Very slow sync (few kb/s) & Can't update non existing placeholder info + 504 GateWay Timout errors

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Hi everyone,

first, i’d like to thank you for reading that post.

Nextcloud version (eg, 20.0.5): 21.0.4.1
Operating system and version (eg, Ubuntu 20.04): Raspberry Pi 4 8GB Debian GNU/Linux 10. 5.10.63-v8+ (aarch64) with NextCloudPi v1.46.6
Apache or nginx version (eg, Apache 2.4.25): I don’t know exactly but i believe NextCloudPi comes with Apache right ?
PHP version (eg, 7.4): 7.3 i believe

The issue you are facing:
I’m am trying to sync file from a Windows pc using the desktop app, to the Raspberry server.
Transfers are :

  • Very slow : actually 57 Ko/s
  • I am getting multiple “Can’t update non existing placeholder info” & 504 GateWay Timout on some files

The raspberry and the pc are both connected to the router with ethernet cable.

After spending hours looking at similar errors, i figured i should edit the php.ini files in order to modify these values :

max_execution_time >= 300
max_input_time >= 300
memory_limit >= 512MB
post_max_size >= 4GB
upload_max_filesize >= 4GB

I also tried to add these lines to /var/www/nextcloud/.user.ini

php_value upload_max_filesize 10G
php_value post_max_size 10G
php_value max_input_time 3600
php_value max_execution_time 3600

It didn’t change anything.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Just syncing a file

The output of your Nextcloud log in Admin > Logging:

{"reqId":"vBAfFlfpr8CVOpu4N4vH","level":3,"time":"2021-10-08T20:00:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception$
{"reqId":"tzBZWxAtfr8kHHDo6sqX","level":3,"time":"2021-10-08T20:04:09+00:00","remoteAddr":"","user":"ncp","app":"no app in context","method":"","url":"--","message":{"Excepti$
{"reqId":"tzBZWxAtfr8kHHDo6sqX","level":3,"time":"2021-10-08T20:04:09+00:00","remoteAddr":"","user":"ncp","app":"no app in context","method":"","url":"--","message":{"Excepti$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::main$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":0,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"starting upgrade from $
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Deprecate$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Repair::step:$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Deprecate$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Repair::info:$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Deprecate$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Repair::step:$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Deprecate$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Repair::step:$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Deprecate$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Repair::step:$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::dbUp$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::dbUp$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":0,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"files_sharing","method":"","url":"--","message":"/appinfo/app.$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::appU$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::appU$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:15+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:15+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:15+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:15+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:15+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::upgr$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:25+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Deprecate$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:25+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Repair::step:$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:25+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:25+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:25+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:25+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:25+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:25+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:25+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::upgr$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$
{"reqId":"VR5QiLLfXFePctnH4ssQ","level":1,"time":"2022-03-02T14:15:27+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::chec$

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'passwordsalt' => 'HIDDEN',
  'secret' => 'HIDDEN',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    22 => 'nextcloudpi',
    1 => '192.168.1.36',
    11 => 'HIDDEN',
    3 => 'HIDDEN',
    14 => 'nextcloudpi',
    20 => '192.168.1.36',
    21 => '192.168.1.1',
  ),
  'datadirectory' => '/media/myCloudDrive/ncdata/data',
  'dbtype' => 'mysql',
  'version' => '21.0.4.1',
  'overwrite.cli.url' => 'HIDDEN',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ncadmin',
  'dbpassword' => 'HIDDEN',
  'installed' => true,
  'instanceid' => 'ocpe8kxr2xem',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
    'password' => 'HIDDEN',
  ),
  'tempdirectory' => '/media/myCloudDrive/ncdata/data/tmp',
  'mail_smtpmode' => 'sendmail',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'admin',
  'mail_domain' => 'ownyourbits.com',
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'overwriteprotocol' => 'https',
  'loglevel' => '2',
  'maintenance' => false,
  'trusted_proxies' =>
  array (
    11 => '127.0.0.1',
    12 => '::1',
    13 => 'HIDDEN',
    14 => 'HIDDEN',
  ),
  'logfile' => '/media/myCloudDrive/ncdata/data/nextcloud.log',
  'log_type' => 'file',
);

The output of your Apache/nginx/system log in /var/log/____:
This is the error.log in the apache2

[Fri Mar 04 00:00:08.739209 2022] [ssl:warn] [pid 882:tid 548155852160] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 04 00:00:08.740715 2022] [mpm_event:notice] [pid 882:tid 548155852160] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Mar 04 00:00:08.743972 2022] [core:notice] [pid 882:tid 548155852160] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 04 08:54:00.134020 2022] [core:error] [pid 22547:tid 547574755712] [client 45.146.165.37:32804] AH00126: Invalid URI in request POST /cgi-bin/.%2e/.%2e/.%2e/.%2e/bin/sh HTTP/1.1
[Fri Mar 04 08:54:23.835584 2022] [proxy_fcgi:error] [pid 22548:tid 547886121344] [client 192.168.1.69:58914] AH01067: Failed to read FastCGI header
[Fri Mar 04 08:54:23.835734 2022] [proxy_fcgi:error] [pid 22548:tid 547886121344] (104)Connection reset by peer: [client 192.168.1.69:58914] AH01075: Error dispatching request to :4443:
[Fri Mar 04 08:54:23.838393 2022] [proxy_fcgi:error] [pid 22548:tid 547852517760] [client 192.168.1.69:58914] AH01067: Failed to read FastCGI header
[Fri Mar 04 08:54:23.838474 2022] [proxy_fcgi:error] [pid 22548:tid 547852517760] (104)Connection reset by peer: [client 192.168.1.69:58914] AH01075: Error dispatching request to :4443:
[Fri Mar 04 08:54:39.007914 2022] [proxy_fcgi:error] [pid 22548:tid 547886121344] [client 192.168.1.69:58914] AH01067: Failed to read FastCGI header
[Fri Mar 04 08:54:39.008007 2022] [proxy_fcgi:error] [pid 22548:tid 547886121344] (104)Connection reset by peer: [client 192.168.1.69:58914] AH01075: Error dispatching request to :4443:
[Fri Mar 04 08:54:39.008021 2022] [proxy_fcgi:error] [pid 22548:tid 547877720448] [client 192.168.1.69:58914] AH01067: Failed to read FastCGI header
[Fri Mar 04 08:54:39.008059 2022] [proxy_fcgi:error] [pid 22548:tid 547877720448] (104)Connection reset by peer: [client 192.168.1.69:58914] AH01075: Error dispatching request to :4443:
[Fri Mar 04 08:54:39.008620 2022] [proxy_fcgi:error] [pid 22548:tid 547852517760] [client 192.168.1.69:58914] AH01067: Failed to read FastCGI header
[Fri Mar 04 08:54:39.008696 2022] [proxy_fcgi:error] [pid 22548:tid 547852517760] (104)Connection reset by peer: [client 192.168.1.69:58914] AH01075: Error dispatching request to :4443:
[Fri Mar 04 08:59:39.682537 2022] [mpm_event:notice] [pid 882:tid 548155852160] AH00491: caught SIGTERM, shutting down
[Fri Mar 04 09:00:03.703051 2022] [ssl:warn] [pid 713:tid 548578366848] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 04 09:00:03.734648 2022] [ssl:warn] [pid 878:tid 548578366848] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 04 09:00:03.738662 2022] [mpm_event:notice] [pid 878:tid 548578366848] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Mar 04 09:00:03.738790 2022] [core:notice] [pid 878:tid 548578366848] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 04 09:00:45.357945 2022] [mpm_event:notice] [pid 878:tid 548578366848] AH00493: SIGUSR1 received.  Doing graceful restart
[Fri Mar 04 09:00:45.384017 2022] [ssl:warn] [pid 878:tid 548578366848] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 04 09:00:45.384243 2022] [ssl:error] [pid 878:tid 548578366848] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 18C088C8F787E3CFD6C7C76280DC1F392C6E3DC$
[Fri Mar 04 09:00:45.384277 2022] [ssl:error] [pid 878:tid 548578366848] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Fri Mar 04 09:00:45.385187 2022] [mpm_event:notice] [pid 878:tid 548578366848] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Mar 04 09:00:45.385212 2022] [core:notice] [pid 878:tid 548578366848] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 04 09:10:33.681352 2022] [proxy_fcgi:error] [pid 1528:tid 547994194304] [client 192.168.1.1:51528] AH01071: Got error 'Primary script unknown'
[Fri Mar 04 09:10:50.311496 2022] [proxy_fcgi:error] [pid 1529:tid 547851583872] [client 192.168.1.1:58566] AH01071: Got error 'Primary script unknown'
[Fri Mar 04 09:11:52.300031 2022] [proxy_fcgi:error] [pid 1529:tid 547457323392] [client 192.168.1.1:58583] AH01071: Got error 'Primary script unknown'
[Fri Mar 04 09:12:54.348377 2022] [proxy_fcgi:error] [pid 1529:tid 547004346752] [client 192.168.1.1:58588] AH01071: Got error 'Primary script unknown'
[Fri Mar 04 09:13:14.168426 2022] [authz_host:error] [pid 1529:tid 546953990528] [client 45.87.9.126:37245] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Fri Mar 04 09:13:14.168534 2022] [authz_core:error] [pid 1529:tid 546953990528] [client 45.87.9.126:37245] AH01630: client denied by server configuration: /var/www/ncp-web/
[Fri Mar 04 09:13:56.303620 2022] [proxy_fcgi:error] [pid 1528:tid 547406999936] [client 192.168.1.1:58594] AH01071: Got error 'Primary script unknown'
[Fri Mar 04 09:14:58.321865 2022] [proxy_fcgi:error] [pid 1528:tid 546836558208] [client 192.168.1.1:58597] AH01071: Got error 'Primary script unknown'
[Fri Mar 04 09:15:46.471870 2022] [mpm_event:notice] [pid 878:tid 548578366848] AH00491: caught SIGTERM, shutting down
[Fri Mar 04 09:16:06.072148 2022] [ssl:warn] [pid 705:tid 547774485888] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 04 09:16:06.073238 2022] [ssl:error] [pid 705:tid 547774485888] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 18C088C8F787E3CFD6C7C76280DC1F392C6E3DC$
[Fri Mar 04 09:16:06.073275 2022] [ssl:error] [pid 705:tid 547774485888] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Fri Mar 04 09:16:06.101774 2022] [ssl:warn] [pid 874:tid 547774485888] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 04 09:16:06.102067 2022] [ssl:error] [pid 874:tid 547774485888] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 18C088C8F787E3CFD6C7C76280DC1F392C6E3DC$
[Fri Mar 04 09:16:06.102100 2022] [ssl:error] [pid 874:tid 547774485888] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Fri Mar 04 09:16:06.105755 2022] [mpm_event:notice] [pid 874:tid 547774485888] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Mar 04 09:16:06.105888 2022] [core:notice] [pid 874:tid 547774485888] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 04 09:16:06.983201 2022] [proxy_fcgi:error] [pid 876:tid 547445956992] [client 192.168.1.1:52231] AH01071: Got error 'Primary script unknown'
[Fri Mar 04 09:16:47.914058 2022] [mpm_event:notice] [pid 874:tid 547774485888] AH00493: SIGUSR1 received.  Doing graceful restart
[Fri Mar 04 09:16:47.938949 2022] [ssl:warn] [pid 874:tid 547774485888] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 04 09:16:47.939178 2022] [ssl:error] [pid 874:tid 547774485888] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 18C088C8F787E3CFD6C7C76280DC1F392C6E3DC$
[Fri Mar 04 09:16:47.939200 2022] [ssl:error] [pid 874:tid 547774485888] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Fri Mar 04 09:16:47.940131 2022] [mpm_event:notice] [pid 874:tid 547774485888] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Mar 04 09:16:47.940155 2022] [core:notice] [pid 874:tid 547774485888] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 04 09:17:02.334346 2022] [proxy_fcgi:error] [pid 1552:tid 547445965184] [client 192.168.1.1:52244] AH01071: Got error 'Primary script unknown'
[Fri Mar 04 09:18:04.320480 2022] [proxy_fcgi:error] [pid 1552:tid 547063062912] [client 192.168.1.1:52267] AH01071: Got error 'Primary script unknown'
[Fri Mar 04 09:19:06.333804 2022] [proxy_fcgi:error] [pid 1551:tid 547071455616] [client 192.168.1.1:52273] AH01071: Got error 'Primary script unknown'
[Fri Mar 04 09:20:08.317412 2022] [proxy_fcgi:error] [pid 1552:tid 546660409728] [client 192.168.1.1:52278] AH01071: Got error 'Primary script unknown'
[Fri Mar 04 09:21:08.158815 2022] [mpm_event:notice] [pid 874:tid 547774485888] AH00491: caught SIGTERM, shutting down
[Fri Mar 04 09:21:27.955345 2022] [ssl:warn] [pid 708:tid 548444198272] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 04 09:21:27.956582 2022] [ssl:error] [pid 708:tid 548444198272] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 18C088C8F787E3CFD6C7C76280DC1F392C6E3DC$
[Fri Mar 04 09:21:27.956629 2022] [ssl:error] [pid 708:tid 548444198272] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Fri Mar 04 09:21:27.997619 2022] [ssl:warn] [pid 886:tid 548444198272] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name

Thank you so much for your help !
I’m quite new to using linux…

Hi there.

So i modified the files :
php.ini as :

max_execution_time = 6000
max_input_time = 6000
memory_limit = 512MB
post_max_size = 10GB
upload_max_filesize = 10GB

I also tried to add these lines to /var/www/nextcloud/.user.ini

php_value upload_max_filesize 10G
php_value post_max_size 10G
php_value max_input_time 6000
php_value max_execution_time 6000

As you can see i got rid of all the > signs and increased the timouts.
i managed to get rid of the Can’t Update non existing placeholder error.

But still, my transfer speed is VERY VERY low: between 50 to 200 ko/s. Some large fail will still not sync since i believe the take too long to transfer (504 GateWay Timout).

Ut happens both with the local IP and the DNS adress.

Any idea how to improve that ?

Thanks !

I’m thinking maybe it’s an external drive issue since my internet connection is fine. Does anybody know how to monitor the external drive transfer speed ?