-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add mtime and storage_mtime to db:convert-filecache-bigint #8412
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this makes sense as a temp solution yes.
But really a temp solution. Two things I don't like about this:
|
@nickvergessen The only thing I can think of (and I don't have evidence of it right now, as it only happened once or twice) is when I uploaded a PDF from the Android client. Looking through my files right now, I actually see several that were modified "in 20 years", all of which precisely show "January 18, 2038 9:14 PM". Many of them have existed since I created my server, so I know I haven't touched them myself recently. Unfortunately I don't have any steps to reproduce it, but I had to make this change to be able to get Nextcloud working again for me :/. Obviously it's a much larger issue for places where modification time is important -- I just run it for myself. But the storage type seems to be just symptom of another issue. |
@agates I initially stumbled upon the issue after trying to upload a PDF from my Linux client. The PDF came straight from my bank (web download) and my local file system also stated an mtime from 2038. It never happened again, though. |
@nickvergessen @rullzer Should we backport this to stable13? |
Ping |
I have no prefrence here... |
me neither, mtime dates from 2038+ are invalid in my point of view and just burrow other problems. |
So the lets keep it at no for now... |
What's the recommendation for users facing this issue? |
On the client you are uploading from: search for files with a modified-timestamp of >= 2038, change the timestamp to a sane value. |
Adding some columns that were left out of the bigint conversion for the filecache.
See #7637