Updating Windows Client fails ("Unable to write to the specified folder")

I connect to a managed Nextcloud instance from Hetzner from my Windows 10 Desktop client.

Now that I wanted to update from the Nextcloud Desktop Client Version 3.16.4 (Windows) to 3.17.1, I always receive the following error message during the installation process:

I unchecked ‘Read only’ for the entire Nextcloud folder, no changes. I downloaded the 3.17.1 client manually to update from there, no changes.

Any idea what could cause this? Never had issues updating with the updater.

Thanks!

Hello @xk34.y,

welcome to the Nextcloud community! :handshake:

often such behavior is cause by security software like anti-malware tools - rule of thumb is to disable such programs when performing software installation or upgrades.

Hi! Sorry, should have mentioned that
Windows Defender, Firewall, Adguard were all deactivated. Those haven’t interfered with the installation of previous version updates anyway.

The error message looks like a permission issue? It already started copying files and the error pops for not being able to write this data somewhere? So any connectivity related issue should have occurred earlier on? (just a guess though).

Thanks!

sorry I assume there is no quick-fix. I would start a sysinternals process monitor and check where the problem comes from.. it’s not quick and not fast but definitely a good tool to analyze strange issues.

This might happen, if a different user, who is not member of the group “Administrators” tries to install the update.

Nope, I just tried with both: with my admin account (group: admin) and my client user (group: user). Same result. Also it worked in the past flawlessly. Only occurs since trying upgrading from version 3.16.5 to 3.17.

Might just wait for 3.18 to see if this still occurs there too. No changes made to the system over the last year.

Do you use a 3rd party security software? - This also can block access to “Program files” - folder.

I’m having the exact same issue. I’m not sure why are you refering to “Program files”, as both the author’s and my install directories are outside of “Program Files”, @Mornsgrans

@xk34.y what helped in my case, I opened a Powershell Terminal as an administrator, navigated to the directory where I downloaded a new installation file freshly downloaded, and then executed msiexec /i. This helped the installation process and it completed successfully.

1 Like

See Screenshot above There is written in the popup message “D:\Programme\Nextcloud” - in english: “D:\Program Files\Nextcloud”.

1 Like