Nextcloud Client takes a while to start

I’ve had a Nextcloud instance for about a year now and I was always wondering why the Nextcloud client on my workstation starts up so slowly, while it doesn’t even take a second on my laptop.

As it turns out, the problem was my local folder synchronisation setting. On my workstation the whole Documents folder is selected to sync, but only a few subfolders actually have synchronisation activated. On my laptop, each folder has it’s own synchronisation entry in the settings.
After using strace(1) to figure out what the problem might be, it was apparent that the client was scanning folders that aren’t even selected for synchronisation. In addition, it looks like it struggles a lot with small files, and having a bunch of git repositories in there didn’t really help.

Removing the large amount of small files was enough to make it faster, but it’s clear that the ideal way to solve this is to set up a connection for each folder separately, which is what I’ll do in the future.

Do you have a comment on one of my posts? Feel free to send me an E-Mail: witcher@wiredspace.de
To participate in a public discussion, use my public inbox: ~witcher/public-inbox@lists.sr.ht (Archive)
Please review the mail etiquette.

Posted on: January 29, 2023

Articles from blogs I read

You don't need a Neovim plugin manager

This article is a resurrected draft from 2022, and its core argument remains unchanged. Lua-specific portions apply only to Neovim, and everything else applies to both Neovim and Vim. Let’s first understand the base mechanism which everything else builds upo…

via Hugo's weblog January 8, 2026

Project goals update — December 2025

The Rust project is currently working towards a slate of 41 project goals, with 13 of them designated as Flagship Goals. This post provides selected updates on our progress towards these goals (or, in some cases, lack thereof). The full details for any pa…

via Rust Blog January 5, 2026

Miod talks about HP/PA boot blocks

Veteran OpenBSD developer Miod Vallat (miod@) has written another deep dive article on porting our favorite operating system to a new platform and maintaining the code, this time the OpenBSD/hppa platform. The piece titled The scariest boot loader code cer…

via OpenBSD Journal December 31, 2025

Generated by openring