Syncing Onedrive folder with NextCloud Desktop for Windows 10

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via 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:

I am trying to sync my Onedrive folder as my designated Nextcloud folder on my Windows 10 desktop. When I do this the Nextcloud Desktop for Windows app crashes. I would like to have both Onedrive and Nextcloud backing up my Documents folder. Is there a way around having it crash or is there a best practice for accomplishing what I am trying to do?

Here is the crash even from the Windows event viewer log:

Faulting application name: nextcloud.exe, version:, time stamp: 0x6283a7c6
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1741, time stamp: 0xe9b4a91b
Exception code: 0xc0000005
Fault offset: 0x000000000002b288
Faulting process id: 0x4adc
Faulting application start time: 0x01d888b09734835a
Faulting application path: C:\Program Files\Nextcloud\nextcloud.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: e393197d-5555-4155-94f0-e062bccfd476
Faulting package full name: 
Faulting package-relative application ID: 

Nextcloud version (eg, 20.0.5): 24.02
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04 is what my Nextcloud server is running on
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.4): 7.4

The issue you are facing:

See above.

Is this the first time you’ve seen this error? (Y/N):
I have uninstalled and reinstalled the Nextcloud for Desktop app a few times. When I leave the folder to sync as the default (“Nextcloud”), the app does not crash. When I choose the Onedrive folder to sync, the Windows app crashes.

Steps to replicate it:

  1. It crashes on start up after it displays a few notifications.

The output of your Nextcloud log in Admin > Logging:

I don't know how to retrieve this information.

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

$CONFIG = array (
  'instanceid' => 'oc4lxpvjcmqx',
  'passwordsalt' => 'passwordsalt',
  'secret' => 'secret',
  'trusted_domains' =>
  array (
    0 => 'nextcloud',
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'http://nextcloud',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'secret password',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'default_phone_region' => 'US',
  'mail_from_address' => 'jim',
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '',
  'mail_smtphost' => '',
  'mail_smtpport' => '587',
  'mail_smtpauth' => 1,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpname' => 'smptname',
  'mail_smtppassword' => 'emailpassword',

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

Not sure which log file is desired.


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.

I couldn't find a log file in this directory.