Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Can't update non existing placeholder info" multiple messages #4274

Closed
cscholz opened this issue Feb 13, 2022 · 33 comments · Fixed by #5890
Closed

"Can't update non existing placeholder info" multiple messages #4274

cscholz opened this issue Feb 13, 2022 · 33 comments · Fixed by #5890
Labels
approved bug approved by the team bug

Comments

@cscholz
Copy link

cscholz commented Feb 13, 2022

Expected behavior

That the client will synchronize without error message.

Actual behavior

Well, yes. It just doesn't. Displays the message for multiple files and freezes.

Steps to reproduce

Not known

Client configuration

Client version: 3.4.2
Operating system: Windows 11
OS language: German
Client installation path: Standard

Server configuration

Nextcloud version: 23.0.0 (according to server version display)

Storage backend (external storage): No

Logs

2022-02-12 09:32:48:470 [ info nextcloud.sync.propagator C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\libsync\owncloudpropagator.h:212 ]:	Starting CSyncEnums::CSYNC_INSTRUCTION_SYNC propagation of "PATH_ANONYM/ThunderbirdPortable/help.html" by OCC::PropagateDownloadFile(0x293e3dab6d0)
2022-02-12 09:32:48:470 [ debug nextcloud.sync.propagator.download C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\libsync\propagatedownload.cpp:456 ]	[ OCC::PropagateDownloadFile::start ]:	"PATH_ANONYM/ThunderbirdPortable/help.html" 0
2022-02-12 09:32:48:470 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 1 2458336625357879162
2022-02-12 09:32:48:470 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common\ownsql.cpp:295 ]	[ OCC::SqlQuery::exec ]:	SQL exec "SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize,  ignoredChildrenRemote, contentchecksumtype.name || ':' || contentChecksum, e2eMangledName, isE2eEncrypted  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-02-12 09:32:48:470 [ debug nextcloud.sync.propagator.download C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\libsync\propagatedownload.cpp:500 ]	[ OCC::PropagateDownloadFile::startAfterIsEncryptedIsChecked ]:	dehydrating file "PATH_ANONYM/ThunderbirdPortable/help.html"
2022-02-12 09:32:48:471 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 1 "PATH_ANONYM/ThunderbirdPortable/help.html"
2022-02-12 09:32:48:471 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common\ownsql.cpp:295 ]	[ OCC::SqlQuery::exec ]:	SQL exec "SELECT lastTryEtag, lastTryModtime, retrycount, errorstring, lastTryTime, ignoreDuration, renameTarget, errorCategory, requestId FROM blacklist WHERE path=?1 COLLATE NOCASE"
2022-02-12 09:32:48:471 [ warning nextcloud.sync.propagator C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\libsync\owncloudpropagator.cpp:281 ]:	Could not complete propagation of "PATH_ANONYM/ThunderbirdPortable/help.html" by OCC::PropagateDownloadFile(0x293e3dab6d0) with status OCC::SyncFileItem::NormalError and error: "Can't update non existing placeholder info"
2022-02-12 09:32:48:471 [ debug nextcloud.sync.statustracker C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\libsync\syncfilestatustracker.cpp:274 ]	[ OCC::SyncFileStatusTracker::slotItemCompleted ]:	Item completed "PATH_ANONYM/ThunderbirdPortable/help.html" OCC::SyncFileItem::NormalError CSyncEnums::CSYNC_INSTRUCTION_SYNC
2022-02-12 09:32:48:471 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 1 -1800685474258121421
2022-02-12 09:32:48:471 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common\ownsql.cpp:295 ]	[ OCC::SqlQuery::exec ]:	SQL exec "SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize,  ignoredChildrenRemote, contentchecksumtype.name || ':' || contentChecksum, e2eMangledName, isE2eEncrypted  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-02-12 09:32:48:471 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 1 -3256391441227596080
2022-02-12 09:32:48:471 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common\ownsql.cpp:295 ]	[ OCC::SqlQuery::exec ]:	SQL exec "SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize,  ignoredChildrenRemote, contentchecksumtype.name || ':' || contentChecksum, e2eMangledName, isE2eEncrypted  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-02-12 09:32:48:471 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 1 8320343175689406169
2022-02-12 09:32:48:472 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common\ownsql.cpp:295 ]	[ OCC::SqlQuery::exec ]:	SQL exec "SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize,  ignoredChildrenRemote, contentchecksumtype.name || ':' || contentChecksum, e2eMangledName, isE2eEncrypted  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-02-12 09:32:48:472 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 1 2458336625357879162
2022-02-12 09:32:48:472 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common\ownsql.cpp:295 ]	[ OCC::SqlQuery::exec ]:	SQL exec "SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize,  ignoredChildrenRemote, contentchecksumtype.name || ':' || contentChecksum, e2eMangledName, isE2eEncrypted  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-02-12 09:32:48:472 [ warning nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\gui\tray\usermodel.cpp:561 ]:	Item  "PATH_ANONYM/ThunderbirdPortable/help.html"  retrieved resulted in  "Can't update non existing placeholder info"
2022-02-12 09:32:48:472 [ warning nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\gui\tray\usermodel.cpp:538 ]:	Item  "PATH_ANONYM/ThunderbirdPortable/help.html"  retrieved resulted in error  "Can't update non existing placeholder info"
2022-02-12 09:32:48:472 [ info nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\gui\tray\activitylistmodel.cpp:402 ]:	Error successfully added to the notification list:  "Can't update non existing placeholder info"
2022-02-12 09:32:48:473 [ debug nextcloud.sync.fileitem C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\libsync\syncfileitem.cpp:52 ]	[ OCC::SyncFileItem::toSyncJournalFileRecordWithInode ]:	"PATH_ANONYM/PortableApps/ThunderbirdPortable/App/Thunderbird64/defaults/messenger" Retrieved inode  28644 (previous item inode:  28644 )
2022-02-12 09:32:48:473 [ info nextcloud.sync.database C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common\syncjournaldb.cpp:918 ]:	Updating file record for path: "PATH_ANONYM/ThunderbirdPortable/App/Thunderbird64/defaults/messenger" inode: 28644 modtime: 1644019334 type: CSyncEnums::ItemTypeDirectory etag: "62042d7f221b4" fileId: "00093315ocik9h8h3g7d" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false
2022-02-12 09:32:48:473 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 1 -7577486913649508538
2022-02-12 09:32:48:473 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 2 94
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:151 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 3 "PATH_ANONYM/ThunderbirdPortable/App/Thunderbird64/defaults/messenger"
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 4 28644
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 5 0
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 6 0
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 7 0
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 8 1644019334
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:138 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 9 CSyncEnums::ItemTypeDirectory
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:151 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 10 "62042d7f221b4"
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:151 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 11 "00093315ocik9h8h3g7d"
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:151 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 12 "DNVCKR"
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 13 0
2022-02-12 09:32:48:474 [ debug nextcloud.gui.folderwatcher C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\gui\folderwatcher_win.cpp:160 ]	[ OCC::WatcherThread::watchChanges ]:	Skipping syncing of "PATH_ANONYM/PortableApps/ThunderbirdPortable/App/Thunderbird64/defaults/messenger"
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 14 0
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:151 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 15 ""
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 16 0
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:151 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 17 ""
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 18 false
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common\ownsql.cpp:295 ]	[ OCC::SqlQuery::exec ]:	SQL exec "INSERT OR REPLACE INTO metadata (phash, pathlen, path, inode, uid, gid, mode, modtime, type, md5, fileid, remotePerm, filesize, ignoredChildrenRemote, contentChecksum, contentChecksumTypeId, e2eMangledName, isE2eEncrypted) VALUES (?1 , ?2, ?3 , ?4 , ?5 , ?6 , ?7,  ?8 , ?9 , ?10, ?11, ?12, ?13, ?14, ?15, ?16, ?17, ?18);"
2022-02-12 09:32:48:474 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common\ownsql.cpp:328 ]	[ OCC::SqlQuery::exec ]:	Last exec affected 1 rows.
2022-02-12 09:32:48:474 [ info nextcloud.sync.propagator C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\libsync\owncloudpropagator.cpp:1161 ]:	PropagateDirectory::slotSubJobsFinished emit finished OCC::SyncFileItem::Success
2022-02-12 09:32:48:474 [ debug nextcloud.sync.fileitem C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\libsync\syncfileitem.cpp:52 ]	[ OCC::SyncFileItem::toSyncJournalFileRecordWithInode ]:	"PATH_ANONYM/PortableApps/ThunderbirdPortable/Data" Retrieved inode  746630 (previous item inode:  746630 )
2022-02-12 09:32:48:475 [ info nextcloud.sync.database C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common\syncjournaldb.cpp:918 ]:	Updating file record for path: "PATH_ANONYM/ThunderbirdPortable/Data" inode: 746630 modtime: 1644440988 type: CSyncEnums::ItemTypeDirectory etag: "62042d9d0a7a3" fileId: "00093090ocik9h8h3g7d" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 1 -6296010891660117770
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 2 62
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:151 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 3 "PATH_ANONYM/ThunderbirdPortable/Data"
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 4 746630
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 5 0
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 6 0
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 7 0
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 8 1644440988
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:138 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 9 CSyncEnums::ItemTypeDirectory
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:151 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 10 "62042d9d0a7a3"
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:151 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 11 "00093090ocik9h8h3g7d"
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:151 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 12 "DNVCKR"
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 13 0
2022-02-12 09:32:48:475 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 14 0
2022-02-12 09:32:48:475 [ debug nextcloud.gui.folderwatcher C:\Users\sysadmin\AppData\Local\Temp\2\windows-9041\client-building\desktop\src\gui\folderwatcher_win.cpp:160 ]	[ OCC::WatcherThread::watchChanges ]:	Skipping syncing of "PATH_ANONYM/PortableApps/ThunderbirdPortable/Data"
@cscholz cscholz added the bug label Feb 13, 2022
@github-actions
Copy link

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@github-actions github-actions bot added the stale label Mar 13, 2022
@mrAceT
Copy link

mrAceT commented Mar 21, 2022

Upon adding a folder to sync in Windows 11 to my Nextcloud 22.2.5 a few files gave this error also:

can’t update non existing placeholder info

The files were uploaded, so in effect nothing seems wrong, only the error itself!?

I could resolve the error in a crummy way:

  1. delete the files locally
  2. force a sync => all is well
  3. restore the files from windows trash
  4. force a sync => all is well, including the loss of the faulty(?) error

I also tried "occ files:scan --all" This did not fix the error. I think there was something going wrong in the desktop application?

@github-actions github-actions bot removed the stale label Mar 21, 2022
@mrAceT
Copy link

mrAceT commented Mar 22, 2022

AD: what I noticed was that most of the dozen errors were images where windows did not show a preview of. Opening the file did work however and showed an image (one was a wmv file). Might it be something with content type (detection) preview?

@dnwhoop02
Copy link

I have the same issue on a fresh install of 23.0.3 and Windows 10 client 3.4.4 but it's only failing on one file, a 4GB .iso file. I thought maybe it was something to do with the default limits on file sizes so I increased the max memory to 2GB, and max filesize and max POST size to 10GB in php.ini (system resources aren't an issue), but it's still failing on that one file with the "Can't update non existing placeholder info" error.

@github-actions
Copy link

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@github-actions github-actions bot added the stale label May 16, 2022
@mandreato
Copy link

I replicated the problem on Windows 11 NC client 3.5.1 connected to NC 24.0.0 running on TrueNAS Scale (official repo).
When I copy a 4,2 GB file to the local NC folder, it syncs correctly to the server folder, which is a local external storage (the file is visible on the web interface).
But since then, the Windows client continues to prompt "Can't update non existing placeholder info".

@github-actions github-actions bot removed the stale label May 20, 2022
@github-actions
Copy link

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@github-actions github-actions bot added the stale label Jun 18, 2022
@CDaut
Copy link

CDaut commented Jun 19, 2022

I also have this issue on Windows. The file should be synced to external storage. It is not a large file (<10MB).

@github-actions github-actions bot removed the stale label Jun 19, 2022
@klumbe
Copy link

klumbe commented Jun 23, 2022

Same issue here. Running Win 10 21H2 with Nextcloud Client 3.5.1.
The nextcloud instance is hosted externally with version 24.0.1.1 .

Get this for thousands of files (and various file-types).
Moved folders into the synced folder and these messages appeared after a while.
The client then goes through these files and at the end it seems to freeze for some time until it starts again.

Does this error-message has something to do with the virtual files?
I think the folder had been marked to free up local space before and I then put new files in there.
Nextcloud actually has two options to handle that:

  1. Upload the files and immediately replace them by virtual files
  2. Upload the files and keep them locally, since the have not been flagged for being deleted explicitely

Not sure which way was chosen here, but the error message sounds more like 1.).
Maybe there is an error in this such that the client "thinks" that there should already be a virtual file and that it just has to update something compared to creating a new one.

Please let me know if I could help by testing something.

@PHIDIAS0303
Copy link

it is annoying as it just stops the sync...

@davidbaumann davidbaumann mentioned this issue Jul 23, 2022
9 tasks
@github-actions
Copy link

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@github-actions github-actions bot added the stale label Aug 17, 2022
@github-actions
Copy link

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

@konradbr
Copy link

konradbr commented Oct 5, 2022

I have the same issue, usually it's a single, rather random file (e.g. some file last modified 2 months ago)...

@JMLatGitHub
Copy link

I have had same or similar errors. I suspect that in my case, the problem could be related to editing metadata of selected photos. Reconstruction of what I did, if anyone is interested on:

  1. Photos are uploaded from mobile to a specific directory on my Nextcloud server.
  2. This directory is replicated to my Windows notebook as a Virtual File System (VFS) directory.
  3. During a periodic cleanup action, I noticed that some photos did not have GPS coordinates due to having the corresponding setting inactivated on the phone.
  4. I immediately COPIED the affected photos with original timestamps to a temp directory outside the VFS structure.
  5. There I assigned the correct GPS coordinates and saved the files with their ORIGINAL FILE TIMESTAMP.
  6. Then I MOVED these photos back to the VFS directory, thus overwriting the original files there.

From this point on the issues with the synchronization started, first with the error message "Can't update non-existing placeholder info" for mentioned photos, but also with never closing file download process messages or also with remaining status bars on the Windows Explorer for long since completely downloaded files - the whole synchronization mechanism apparently didn't quite cope with the situation anymore.

I solved the problems by moving away the mentioned modified files, which, by the way, were easy to recognize by their status with the two blue arrows pointing in opposite directions (sync pending?), in order to move them back after a short waiting period to assure that the synchronization of the moving outside step had been completed.

My environment: Debian Sid (Testing V12, Bookworm); Redis Server 7.0.5; MariaDB 10.5.12; STUN/TURN Server (coTURN) 4.5.2 'dan Eider'; PHP 8.0.24; NGINX 1.23.1; Nextcloud Server 25.0.0.18; Nextcloud Desktop Client V3.6.1 on Windows 10.0.19045

There is also the following open issue, which has similarities with the case described here: [Bug]: Couldn't convert to placeholder #4401.

It may well be that this error is a rare corner case, but I think it would be good if someone from the development team (@mgallien, @allexzander, @claucambra) would briefly look into this.

Best regards.
José-María

@abek4
Copy link

abek4 commented Oct 25, 2022

I have the same issue with a 2gig video, altough the video uploads correctly, I still have the error msg on the client. Nextcloud 25 version.

@viisking
Copy link

yes I have the same issue, please fix

@sukarn-m
Copy link

I got this error for hundreds of files when I replaced them with identical files containing older timestamps than the previously synced files.

@jfrede
Copy link

jfrede commented Jan 12, 2023

Seems this and the related Bug are automatically closed because no one cared to solve it.
Is there a way to reopen them?

@claucambra claucambra reopened this Jan 12, 2023
@github-actions
Copy link

github-actions bot commented Feb 7, 2023

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

@github-actions github-actions bot closed this as completed Feb 7, 2023
@claucambra claucambra reopened this Feb 7, 2023
@github-actions
Copy link

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

@mgallien mgallien added approved bug approved by the team and removed stale labels Feb 23, 2023
@mgallien
Copy link
Collaborator

if I get it, this bug is known and will eventually get a fix so let's reopen

@mgallien mgallien reopened this Feb 23, 2023
@KnudsenO
Copy link

I have the same issue. A fix would be great!

@tobiasviljoen
Copy link

I have seen some pattern in this. When dragging a folder to nextcloud folder, and a windows want's an "folder exists, do you want to merge" to happen ... if you choose yes and replace existing files - sync is OK, if you choose to skip existing files, the error Can't update non existing placeholder info results.

@matmair
Copy link

matmair commented Apr 13, 2023

Experiencing the same with:
client 3.8 on Win 10 Enterprise 22H2
server 26 with external storage CIFS on Windows Server 2022

the error logs on the server are not realy conclusive

@nperez60
Copy link

Experiencing the same with:

clientVersion=3.8.1stable-Win64 (build 20230419)
serverVersion=25.0.5.1

uninstallation, installation of the client doesnt fix the issue

Any update, workaround ?

@Fabi109
Copy link

Fabi109 commented Jul 6, 2023

We have the same issues with some windows clients.

client= 3.9.0
Server = 26.0.2

@CKaschig
Copy link

Same here with Server = 26.0.3 / Client 3.9.0.20230613

Real nasty - houndreds of lines with

  • Can't update non existing placeholder info
  • Couldn't convert to placeholder
    below header line 'Synchronising VirtualFiles with local folder'

@nperez60
Copy link

In our case, the NC client has errors, but the data was synced to the NC Server successfully

We found a workaround

In the Nextcloud client :

1 Re-add the same account that encountered the issue
2 Select a new folder to sync the data from the NC server
3 Let it sync to the new folder

At this point, the "new" account in the new folder will have the new data synced without the error
Make sure of this, once you are sure, you can delete the old account

m7913d added a commit to m7913d/nc-desktop that referenced this issue Jul 15, 2023
When replacing an OnlineOnly file by another one, the file maintains it
OnlineOnly pin state, but it is converted to a regular file. So, the
dehydration should convert the regular file to a (dehydrated)
placeholder instead of trying to update the (non-existing) placeholder.

Closes nextcloud#4274
m7913d added a commit to m7913d/nc-desktop that referenced this issue Jul 15, 2023
When replacing an OnlineOnly file by another one, the file maintains it
OnlineOnly pin state, but it is converted to a regular file. So, the
dehydration should convert the regular file to a (dehydrated)
placeholder instead of trying to update the (non-existing) placeholder.

Closes nextcloud#4274

Signed-off-by: Dries Mys <[email protected]>
m7913d added a commit to m7913d/nc-desktop that referenced this issue Jul 17, 2023
When replacing an OnlineOnly file by another one, the file maintains it
OnlineOnly pin state, but it is converted to a regular file. So, the
dehydration should convert the regular file to a (dehydrated)
placeholder instead of trying to update the (non-existing) placeholder.

Closes nextcloud#4274

Signed-off-by: Dries Mys <[email protected]>
m7913d added a commit to m7913d/nc-desktop that referenced this issue Jul 17, 2023
When replacing an OnlineOnly file by another one, the file maintains it
OnlineOnly pin state, but it is converted to a regular file. So, the
dehydration should convert the regular file to a (dehydrated)
placeholder instead of trying to update the (non-existing) placeholder.

Closes nextcloud#4274

Signed-off-by: Dries Mys <[email protected]>
m7913d added a commit to m7913d/nc-desktop that referenced this issue Jul 17, 2023
When replacing an OnlineOnly file by another one, the file maintains it
OnlineOnly pin state, but it is converted to a regular file. So, the
dehydration should convert the regular file to a (dehydrated)
placeholder instead of trying to update the (non-existing) placeholder.

Closes nextcloud#4274

Signed-off-by: Dries Mys <[email protected]>
mgallien pushed a commit to m7913d/nc-desktop that referenced this issue Jul 18, 2023
When replacing an OnlineOnly file by another one, the file maintains it
OnlineOnly pin state, but it is converted to a regular file. So, the
dehydration should convert the regular file to a (dehydrated)
placeholder instead of trying to update the (non-existing) placeholder.

Closes nextcloud#4274

Signed-off-by: Dries Mys <[email protected]>
mgallien pushed a commit to m7913d/nc-desktop that referenced this issue Jul 20, 2023
When replacing an OnlineOnly file by another one, the file maintains it
OnlineOnly pin state, but it is converted to a regular file. So, the
dehydration should convert the regular file to a (dehydrated)
placeholder instead of trying to update the (non-existing) placeholder.

Closes nextcloud#4274

Signed-off-by: Dries Mys <[email protected]>
backportbot-nextcloud bot pushed a commit that referenced this issue Jul 20, 2023
When replacing an OnlineOnly file by another one, the file maintains it
OnlineOnly pin state, but it is converted to a regular file. So, the
dehydration should convert the regular file to a (dehydrated)
placeholder instead of trying to update the (non-existing) placeholder.

Closes #4274

Signed-off-by: Dries Mys <[email protected]>
@alexx-ftw
Copy link

Having this issue on latest stable version on W11

@Ed1ks
Copy link

Ed1ks commented Sep 21, 2023

Latest Release, still this error occurs.
Move files, sync and move back just makes the error return.
This bug seems to be presebt since years and should have priority

@joshtrichards
Copy link
Member

joshtrichards commented Nov 23, 2023

@alexx-ftw This was releaed in v3.10.0 (#5890) and v3.9.1 (via a backport: #5906). If you're still experiencing this it's a different or additional issue. Please open a dedicated issue.
@Ed1ks Ditto

@bigretromike
Copy link

fresh installation, win11 and not VFS folder with all the files from previous cloud solution.
synchronization took 21h
finished without problem
suddenly 2 small .doc files start throw this error - but they were synched with (next)cloud but no matter what every sync action results in cfapiwrapper.cpp:868 ]: "Couldn't convert to placeholder"
Solution:

  • I moved those files one-by-one outside sync folder
  • as Im the "owner" those files were deleted from (next)cloud
  • I manually sync folder - with success
  • I moved those files back to original folder structure
  • I manually sync folder again and again with success
  • No issue for me for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved bug approved by the team bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.