-
Notifications
You must be signed in to change notification settings - Fork 807
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
Nextcloud Windows Desktop Client sync crashes due invalid modification time of Files #4332
Comments
see #4016 |
No, #4016 is not the same issue. Here if you got a new created file where modofication date is 1970 (as e.g. Did from icloud photo sync client for new downloaded live photos video files) the nc client throughs that error. It is not changing filedates due upload, it didnt even upload the file due modification date is 01.01.1970 |
It is not a duplicate, but the fixes related to that bug result in the issue you describe. |
Hi @PhilippSchlesinger @ambergerit The issue is reproduced but without marking files with last modification Date at 01. January 1970 01:00:00 The Nextcloud version: Hub II 23.0.2 When do create a new folder sync connection it starts to modify metadata of the files instantly. Screenshot 2. Same file properties shows Invalid date Screenshot 3. Downloaded file shows modified time as current. Screenshot 4. Error in notifications another file from affected batch: |
Using
|
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! |
Issue is still not fixed in 3.4.4 |
Same issue here and i can't fix the invalid timestamps on the server. |
Issue is still not fixed in 3.5.0 |
Still not fixed in 3.5.1 |
As a workaround you may change the modification time of the files:
Afterwards scan for changed files using occ command:
That worked to solve my issue. In case there is a large number of files, you may use find command or something else. |
No thats NOT WORKING in this case. Cause you are on server side, here the problem is on client side. Files are not uploaded due they have a last modification date on 01.01.1970 (like downloads from HEIC-Picture-Movement-Video-files have, if they are downloaded to windows from Apple Cloud for example). So they didn't get uploaded to nextcloud at all and this is definately a bug, because you cannot change everytime the modificaition date of your files to get them uploaded to the nextcloud. Here the nextcloud client should be fixed by e.g. checking if the date is wrong for him (as it does now) but upload ether maybe by changeing the date or still irgnore it if too far behind... |
On my fresh installed windows 10 21H2, latest nextcloud client 3.5.1. with virtual files support and self hosted nextcloud server 24.0.1, this is happening for almost all files when I want to sync. So currently there are no local files. |
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! |
Still Not fixed with actual Version |
please fix the problem.......... |
In case you are not able to run that on your own because you do not own the server, you need to contact your provider. |
This is the wrong idea, because it is on servers site. The problem i describe in this ticket is only on client site if you upload a file that has a old modification time as it gets on windows pcs if you download e.g. Icloud files from apple cloud with time shift pictures where the videoparts get modification time 01.01.1970 then they cannot be uploaded to the cloud using the nextcloud desktop client because it says wrong modification date…you cannot fix this at servers site |
Still not fixed in 3.5.3 |
Same here: Still not fixed in 3.5.3 WE ARE LOSING DATA, MEN! |
Still not fixed in 3.5.4 |
still not fixed in: |
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! |
Still not fixed in 3.6.0 |
I don't think it's a problem that has its root in wrong modification times. IMHO the screenshot of @uniuuu shows the root cause: Windows is complaining that "This file came from another computer..." and blocks access to the file as well as to its metadata. Not seeing any valid metadata, the NC client assumes a modification date of epoch, i.e., time stamp 0. Hence, the problem that has to be fixed is letting Windows unconditionally trust the files the NC client pulls from the server. |
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! |
Still Not fixed :( |
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! |
This issue is still not fixed. Ubuntu snap nextcloud latest version. Windows client latest version. |
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! |
This bug is still not fixed. |
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! |
Still Not fixed in actual Nextcloud Windows Desktop Client |
The same problem! Not fixed! In windows app: the file is not loading and I get an error (cyclically): |
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! |
Still Not fixed :( |
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! |
This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you! |
the Nextcloud Desktop Client didn't sync files, where last modification date is 01.01.1970 and tells "invalid modification time. Not uploaded to the Server". So the 01.01.1970 is a default initialisation date (if no other is available) from many systems. The Files should be syncroniszed with this date, too.
Steps to reproduce
Create a file with random created and last access date (e.g. today, now) and last modification Date at 01. January 1970 01:00:00
Start Nextcloud Desktop Sync Client in actual Version 3.4.3 and try to sync the folder where the file is in to the NC Server (here actual stabile Version 23.0.2).
The Client will give red warnings withe "Filepath\FILENAME.EXT has an invalid modification time. Not uploaded to the Server"
The Nextcloud Logfile on the Client says (i masked the real path of the files with "PATHMASKED"):
_
_
This is perfectly reproducible on two Windows 11 systems (connected to the same Nextcloud account).
I'm using a traditional setup with a single Nextcloud folder that is locally synchronized (no virtual folders).
Expected behaviour
Nextcloud uploads the file without a notice, as it did for years.
Actual behaviour
Nextcloud did not upload the files and is resyncing to death again and again, because it couldn't upload the files due the old modification date.
Client configuration
Client version: 3.4.3
Operating system: Windows 11 (21H2 Build 22000.493)
OS language: German
Installation path of client: C:\Program Files\Nextcloud
Server configuration
Nextcloud version: 23.0.2
Storage backend (external storage): local
The text was updated successfully, but these errors were encountered: