Desktop Synch client crashes on Windows 11

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:

Nextcloud version (eg, 29.0.5): Nextcloud Hub 8 (29.0.2)
Operating system and version (eg, Ubuntu 29.04): Rocky Linux 9
Apache or nginx version (eg, Apache 2.4.25): httpd-2.4.57-8.el9.x86_64,
PHP version (eg, 8.3): PHP 8.2.20

The issue you are facing:
I am trying to install the Nextcloud file synch program on Windows 11.
It installs fine, then the screen of the client appears on the scree and crashes immediately.
There are three more clients on the home network, all Linux that work without any issue

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

Steps to replicate it:

  1. Download Nextcloud-3.13.0-x64.msi
  2. Install
  3. Reboot
  4. Run client
  5. Client crushes

The output of your Nextcloud log in Admin > Logging:

[PHP] Error: Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /...../apps/deck/lib/Service/ConfigService.php#234
	from ? by -- at 15 Jun 2024, 17:30:01

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

<?php
$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => '',
    1 => '',
  ),
  'datadirectory' => '',
  'dbtype' => 'mysql',
  'version' => '29.0.2.2',
  'overwrite.cli.url' => '',
  'dbname' => '',
  'dbhost' => '',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '',
  'dbpassword' => 'm',
  'installed' => true,
  'mail_from_address' => '',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '',
  'mail_smtphost' => '',
  'mail_smtpport' => '',
  'mail_smtpauth' => 1,
  'mail_smtpname' => '',
  'mail_smtppassword' => '',
  'default_phone_region' => 'ES',
  'maintenance_window_start' => 1,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
);

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

{"reqId":"Uj7xvarLSRm9BVQIcagL","level":3,"time":"2024-06-15T13:25:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"YgUpvuJb5x8SNp7Q8SLV","level":3,"time":"2024-06-15T13:30:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"QaycNLYAiz0Bjv8zAClV","level":3,"time":"2024-06-15T13:35:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"z6iMuugUYPyxL5vczcuN","level":3,"time":"2024-06-15T13:40:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"Itb0tNlJarifRxgg148k","level":3,"time":"2024-06-15T13:45:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"C2tdGBGWrPm4hOnYueK8","level":3,"time":"2024-06-15T13:50:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"LwNDPFWW0xOIgS1JOKww","level":3,"time":"2024-06-15T13:55:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"njUa7MQKOP1V84M0wRK2","level":3,"time":"2024-06-15T14:00:01+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"gkoKOoVAuE7w2nqu21xF","level":3,"time":"2024-06-15T14:05:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"W6DlZN3kiuHF3il0lBkA","level":3,"time":"2024-06-15T14:10:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"uxlBJtkhu2xYKEpcPBs4","level":3,"time":"2024-06-15T14:15:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"emxTX7S3TZoKbrNrQTGf","level":3,"time":"2024-06-15T14:20:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"rI2IHHKB59VP1Y579ldq","level":3,"time":"2024-06-15T14:25:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"Cg6LMjqBEE651H0qNr2t","level":3,"time":"2024-06-15T14:30:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"OG6frzrbAB7O0YyBfyuL","level":3,"time":"2024-06-15T14:35:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"gyDP3yVNWhGwIU8nXWVL","level":3,"time":"2024-06-15T14:40:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"JmOf91YvPetCkMArbtay","level":3,"time":"2024-06-15T14:45:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"8Bq9tgadAAlo2xLSoLYC","level":3,"time":"2024-06-15T14:50:01+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"7pPL2Pzd1CKEx7RksCjY","level":3,"time":"2024-06-15T14:55:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"avKT3AvSGmp5fieTCuWP","level":3,"time":"2024-06-15T15:00:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"qkuR41FAzf2Vfhnwh70D","level":3,"time":"2024-06-15T15:07:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"ejKstGm5nQfnalTZPDPf","level":3,"time":"2024-06-15T15:10:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"KpsuTVEqswHLMrnVVmhH","level":3,"time":"2024-06-15T15:15:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"r84pZ1nE1w7D9WsWvKcb","level":3,"time":"2024-06-15T15:20:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"uqUfbk8p3jmz9CckElTa","level":3,"time":"2024-06-15T15:25:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/wolar_edocs/apps/deck/lib/Service/ConfigService.php#234","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}

1 Like

Hi, If you have spotify installed try removing it then reboot and try the nextcloud client again.

HelThank you @smokingwheels. Thisd fixed the problem.

Thank you!

Wolfgang