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

[Bug]: Server fails on files modified in 1970-01-01 #49627

Open
4 of 8 tasks
quazgar opened this issue Dec 3, 2024 · 0 comments
Open
4 of 8 tasks

[Bug]: Server fails on files modified in 1970-01-01 #49627

quazgar opened this issue Dec 3, 2024 · 0 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug hotspot: file time handling ctime, mtime, etc. handling during various operations

Comments

@quazgar
Copy link

quazgar commented Dec 3, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

I just ran into nextcloud/desktop#4332 (closed as stale), but on Debian Linux (Version 3.7.3). To me it looks like a server error, at least that's what the client reports.

Files and directories with mtime on 1970-01-01:

$ LC_ALL=C stat misc
  File: misc
  Size: 160             Blocks: 0          IO Block: 4096   directory
Device: 0,41    Inode: 38735767    Links: 1
Access: (0755/drwxr-xr-x)  Uid: ( 1000/  quazgar)   Gid: ( 1000/  quazgar)
Access: 2024-12-03 14:14:48.272056555 +0100
Modify: 1970-01-01 00:00:00.000000000 +0100
Change: 2024-12-03 14:14:48.268056818 +0100
 Birth: 2024-12-03 14:14:17.278073007 +0100

I get this error in the client:

Error transferring https://cloud...../misc - server replied: Not found

Image

Steps to reproduce

  1. Create directory with mtime = 1970-01-01T00:00:00
  2. Try to sync with server.

Expected behavior

  1. It should sync.

Nextcloud Server version

29

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

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

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

I do not know details about the server, it is the one hosted by large German provider Hetzner: https://www.hetzner.com/storage/storage-share

@quazgar quazgar added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Dec 3, 2024
@joshtrichards joshtrichards added the hotspot: file time handling ctime, mtime, etc. handling during various operations label Dec 4, 2024
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 29-feedback bug hotspot: file time handling ctime, mtime, etc. handling during various operations
Projects
None yet
Development

No branches or pull requests

3 participants