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

External Storage - "modified" date bug #16640

Closed
pilsnerbeer opened this issue Aug 2, 2019 · 8 comments
Closed

External Storage - "modified" date bug #16640

pilsnerbeer opened this issue Aug 2, 2019 · 8 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: external storage needs info

Comments

@pilsnerbeer
Copy link

Steps to reproduce

  1. Add an external storage to another nextcloud server, it will be visible in the "Files" list
  2. Notice the "Modified" date, let's say it's something like "2 minutes ago"
  3. Open the external storage, then go back. Do not edit anything - You will notice the "modified" date has been changed to "seconds ago" as if modifications were made.

Expected behaviour

The "modified" data should not be changed if you merely open the storage. - change it only when modifications were done inside that storage.

Actual behaviour

Modification data updates after opening the storage and not really editing anything inside it

@pilsnerbeer pilsnerbeer added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Aug 2, 2019
@deusoz
Copy link

deusoz commented Nov 30, 2019

I just noticed same thing, except some say minutes ago, and some say thousands of years in the future LOL This is on a local Ubuntu 18 Nexcloud Version 16 with the external drive being a 2TB Seagate USB hard drive. I have a smaller folder (36GB) of music on same drive that is reading modification times correctly. The folder with bad mod dates that i just added yesterday with screenshot from my "files" area of my NC install is a 72GB folder of digital photos. I added just the "folder" of the hard drive separately in the External Drives connections. So 1 exernal hard drive connection in my NC is "pathToDrive/MUSIC" and the other "pathToDrive/PHOTOS"

image

@pjft
Copy link
Contributor

pjft commented Sep 4, 2020

Same here. NextCloud 19.0.2, upgraded from NC 18.

This seems to be a regression from 18. The "Modified Date" is shown as the date it was scanned at, and not the actual filesystem modification date now. Has there been a change?

@pjft
Copy link
Contributor

pjft commented Sep 4, 2020

-- Apologies for double posting, just noticed that this only happens for the folders modified date. The actual files stay with their original date, as expected.

@pilsnerbeer @deusoz let me know if your issue is the same, otherwise I'll create a separate one instead of hijacking yours, which may be a different one altogether.

@szaimen
Copy link
Contributor

szaimen commented Jun 9, 2021

The "Modified Date" is shown as the date it was scanned at, and not the actual filesystem modification date now.

I can reproduce this on NC21.0.2.
Was it ever differently, though?

@szaimen szaimen added 1. to develop Accepted and waiting to be taken care of feature: external storage and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jun 9, 2021
@meonkeys
Copy link

Any relation to nextcloud/text#3543 ?

@szaimen
Copy link
Contributor

szaimen commented Jan 9, 2023

Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you!

@szaimen szaimen added needs info 0. Needs triage Pending check for reproducibility or if it fits our roadmap and removed 1. to develop Accepted and waiting to be taken care of labels Jan 9, 2023
@pjft
Copy link
Contributor

pjft commented Jan 9, 2023

25.0.2 seems fixed. Just scanned old files, it immediately updated the date to the expected date - both files and folders, which was my comment.

@szaimen
Copy link
Contributor

szaimen commented Jan 9, 2023

Great! Thanks for verifying! :)

@szaimen szaimen closed this as completed Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: external storage needs info
Projects
None yet
Development

No branches or pull requests

5 participants