desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Error updating metadata: Couldn't set pin state | Windows 11

Open darkis81 opened this issue 2 years ago • 20 comments

⚠️ Before submitting, please verify the following: ⚠️

Bug description

When I try to sync my files from Nextcloud to my Windows 11 dev pre release I had some issues and was meet with the error: Error updating metadata: Couldn't set pin state. I had OwnCloud installed and was working perfectly before but i decided to migrate over to Nextcloud but then I received these issues.

It was working fine on my other PC (Windows 10) so I decided to reinstall my system and im now not on Windows 11 dev release. It was working fine for a couple of days but then all of a sudden it stopped working again. image

Steps to reproduce

  1. Install Nextcloud app on Windows 11
  2. Start autosync
  3. Error recieved ...

Expected behavior

No errors when syncing.

Which files are affected by this bug

Temp Files (Free to remove)

Operating system

Windows

Which version of the operating system you are running.

Windows 11

Package

Appimage

Nextcloud Server version

23.0.3

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • [ ] Default internal user-backend
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Nextcloud Server logs

{"reqId":"q7CXHFOb82F9BGHjW7Ft","level":2,"time":"2022-03-12T18:18:58+00:00","remoteAddr":"92.34.48.196","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","user>{"reqId":"q7CXHFOb82F9BGHjW7Ft","level":2,"time":"2022-03-12T18:18:58+00:00","remoteAddr":"92.34.48.196","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","userA>{"reqId":"NNvjNvFXsTON7XKy2HpW","level":2,"time":"2022-03-12T18:19:20+00:00","remoteAddr":"92.34.48.196","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","user>{"reqId":"NNvjNvFXsTON7XKy2HpW","level":2,"time":"2022-03-12T18:19:20+00:00","remoteAddr":"92.34.48.196","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","userA>{"reqId":"CkfFsp5dH80NgSMJAqua","level":2,"time":"2022-03-12T18:19:45+00:00","remoteAddr":"74.207.228.249","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","us>{"reqId":"CkfFsp5dH80NgSMJAqua","level":2,"time":"2022-03-12T18:19:45+00:00","remoteAddr":"74.207.228.249","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","use>{"reqId":"qOOR0XK8VgWTMOgXanPz","level":2,"time":"2022-03-12T18:19:47+00:00","remoteAddr":"172.105.206.169","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","u>{"reqId":"qOOR0XK8VgWTMOgXanPz","level":2,"time":"2022-03-12T18:19:47+00:00","remoteAddr":"172.105.206.169","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","us>{"reqId":"1kgBA7BxtllxR4NtMSVh","level":2,"time":"2022-03-12T18:19:48+00:00","remoteAddr":"168.119.96.54","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","use>{"reqId":"1kgBA7BxtllxR4NtMSVh","level":2,"time":"2022-03-12T18:19:48+00:00","remoteAddr":"168.119.96.54","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","user>{"reqId":"1nxa9lvcAytBlVzcbD6i","level":2,"time":"2022-03-12T18:19:48+00:00","remoteAddr":"172.105.190.118","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","u>{"reqId":"1nxa9lvcAytBlVzcbD6i","level":2,"time":"2022-03-12T18:19:48+00:00","remoteAddr":"172.105.190.118","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","us>{"reqId":"r6aiJhLMIWwDyEbsqlLb","level":2,"time":"2022-03-12T18:22:16+00:00","remoteAddr":"92.34.48.196","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in https:///data/htaccesstest.>{"reqId":"r6aiJhLMIWwDyEbsqlLb","level":2,"time":"2022-03-12T18:22:16+00:00","remoteAddr":"92.34.48.196","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in http:///data/htaccesstest.t>

Additional info

No response

darkis81 avatar Apr 04 '22 09:04 darkis81

Windows app debug https://easyupload.io/85jpu1

darkis81 avatar Apr 04 '22 09:04 darkis81

I'm with the same problem... Using 3.5 RC3 in Windows 11

image

rodrigoscoelho avatar Apr 12 '22 19:04 rodrigoscoelho

I have been getting the same problem for a week or so now as well.

It started with files changing upload dates to future or 1970 dates. Figured that out and manually reuploaded files or used command to change them, and now this happens all the time. Doesn't seem to be server sided. It only happens with VFS.

Lemme know if anybody needs logs or something, quite new to bug reports, so I may need some help.

Windows 11 - Insider dev 22H2 22598

MrBroccoliJP avatar Apr 19 '22 18:04 MrBroccoliJP

Got here the same problem. Every time you restart the app, sync goes a bit further in files but crashes anyway. Didn't tried on Windows 10 for now. I think I'll look for a WebDav sync app for now, until this bug is fixed.

TheIceMagmaCube avatar Apr 22 '22 08:04 TheIceMagmaCube

Issue persists after Server updated to 23.0.4 and Client version is at 3.4.4.

darkis81 avatar Apr 26 '22 18:04 darkis81

Issue persists after Server updated to 23.0.4 and Client version is at 3.4.4.

Checked today, same issue.

TheIceMagmaCube avatar Apr 26 '22 19:04 TheIceMagmaCube

Same issue, Windows 11 x64 Client version 3.5.0 Server version 23.0.4 - 23.0.4.1

ThatsSoTrinda avatar May 04 '22 03:05 ThatsSoTrinda

I do think it's a problem about system version. You can run your program with the compatibility option (run as Windows 8).

IndigoFloyd avatar May 04 '22 14:05 IndigoFloyd

New server version released today and I updated (24.0.0) but problem persisted. I tried running the app with compatibility option (run as Windows 8) but same problem.

darkis81 avatar May 04 '22 18:05 darkis81

Updated to the last version of the Nextcloud App today, same issue. I'm updating Windows 11, maybe it'll help. I registered for beta too, maybe a fix will come faster this way...

I'll try the compatibility wizard too. I think this issue is related to a change in Windows' way to handle remote files (like with OneDrive, Nextcloud, ...). Indeed, when I try to open Nextcloud's folder, explorer crashes.

TheIceMagmaCube avatar May 06 '22 12:05 TheIceMagmaCube

Yeah I'm experiencing the same problem. I'm using the OwnCloud client instead as a hot fix, it doesn't have this problem on Windows 11 with virtual file system.

BangyStudios avatar May 06 '22 14:05 BangyStudios

Yeah I'm experiencing the same problem. I'm using the OwnCloud client instead as a hot fix, it doesn't have this problem on Windows 11 with virtual file system.

Very good tip, it works for me. Guess I'm gonna uninstall Nextcloud app until a patch is published.

TheIceMagmaCube avatar May 07 '22 16:05 TheIceMagmaCube

Also having the same issue, is this being worked on?

andmpel avatar May 30 '22 14:05 andmpel

Also been having this issue for some time now. It especially occurs when the client is trying to syncrhonize hidden files created by Synology DSM. Namely the @eaDir-folders. It turns out, Nextcloud only hides folders beginning with punctuation.

Turning of synchronization for folders and files named @eaDir in the Nextcloud Client at most fixed the problem. Although it keeps occuring now and then when trying to sync new folders from the server to the client.

SirBogner avatar May 31 '22 07:05 SirBogner

I only have been able to resolve this by turning off virtual files and manually selecting the folders I need synced. They have to be offline however which is annoying.

andmpel avatar May 31 '22 13:05 andmpel

Problem persists, haven't heard anything from the support team.

darkis81 avatar Jun 08 '22 14:06 darkis81

Updated to most recent snap 24.0.1snap1 and problem still persists.

andmpel avatar Jun 14 '22 02:06 andmpel

Updated to 3.5.2, problem persists.

BangyStudios avatar Jul 06 '22 01:07 BangyStudios

3.5.4 today, no solution yet...

darkis81 avatar Aug 03 '22 13:08 darkis81

You can still use Owncloud Desktop. It works flawlessly for me.

Find the client on the Owncloud website.

On Wed, 3 Aug 2022, 15:19 Marcus Liljebergh, @.***> wrote:

3.5.4 today, no solution yet...

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/desktop/issues/4410#issuecomment-1203941307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCPTBAPR4N7JTN2LVS744LVXJWXVANCNFSM5SO5VCAQ . You are receiving this because you commented.Message ID: @.***>

TheIceMagmaCube avatar Aug 03 '22 14:08 TheIceMagmaCube

could any of affected people test this build with a fix that is in the next stable version due soon https://cloud.nextcloud.com/s/K4ynRkJJMFDw4xx

mgallien avatar Sep 07 '22 07:09 mgallien

@mgallien

It has been stable so far, It never passed 3000 files before this update so it seems to be fixed, but I'll update you when it's finished 👍

MrBroccoliJP avatar Sep 07 '22 13:09 MrBroccoliJP

could any of affected people test this build with a fix that is in the next stable version due soon https://cloud.nextcloud.com/s/K4ynRkJJMFDw4xx

@mgallien

image

This issue seems to be fixed for me, sync finished successfully for virtual file support. 98000+ files from internal server and external storage (samba)

MrBroccoliJP avatar Sep 07 '22 20:09 MrBroccoliJP

I am closing it people do not hesitate to ping me in case you still have issues after migrating to 3.6.0 release https://github.com/nextcloud/desktop/releases/tag/v3.6.0

mgallien avatar Sep 08 '22 08:09 mgallien

I am closing it people do not hesitate to ping me in case you still have issues after migrating to 3.6.0 release https://github.com/nextcloud/desktop/releases/tag/v3.6.0

I'm seeing this error message right now, with version 3.13.0 of the client, on Windows 10

vasyugan avatar May 03 '24 16:05 vasyugan