Skip to content
New issue

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

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

Already on GitHub? # to your account

从手机上传到本机存储的文件修改时间异常 #8002

Open
4 tasks done
yyk725 opened this issue Feb 16, 2025 · 0 comments
Open
4 tasks done

从手机上传到本机存储的文件修改时间异常 #8002

yyk725 opened this issue Feb 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@yyk725
Copy link

yyk725 commented Feb 16, 2025

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

3.42.0

Driver used / 使用的存储驱动

本机存储

Describe the bug / 问题描述

使用手机浏览器(via,chrome等)上传到Windows本机存储的文件修改时间均显示为‎ "2185‎/‎7‎/‎22‎ ‏‎7:34:33"
Image

Reproduction / 复现链接

使用手机浏览器上传任意文件(Stream/Form)

Config / 配置

{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "ap7zITMTBWSydS7W",
"token_expires_in": 48,
"database": {
"type": "sqlite3",
"host": "",
"port": 0,
"user": "",
"password": "",
"name": "",
"db_file": "data\data.db",
"table_prefix": "x_",
"ssl_mode": "",
"dsn": ""
},
"meilisearch": {
"host": "http://localhost:7700",
"api_key": "",
"index_prefix": ""
},
"scheme": {
"address": "0.0.0.0",
"http_port": 1145,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": ""
},
"temp_dir": "data\temp",
"bleve_dir": "data\bleve",
"dist_dir": "",
"log": {
"enable": true,
"name": "data\log\log.log",
"max_size": 50,
"max_backups": 30,
"max_age": 28,
"compress": false
},
"delayed_start": 0,
"max_connections": 0,
"max_concurrency": 64,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1,
"task_persistant": false
},
"transfer": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"upload": {
"workers": 5,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress_upload": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"allow_retry_canceled": false
},
"cors": {
"allow_origins": [
""
],
"allow_methods": [
"
"
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
},
"ftp": {
"enable": false,
"listen": ":5221",
"find_pasv_port_attempts": 50,
"active_transfer_port_non_20": false,
"idle_timeout": 900,
"connection_timeout": 30,
"disable_active_mode": false,
"default_transfer_binary": false,
"enable_active_conn_ip_check": true,
"enable_pasv_conn_ip_check": true
},
"sftp": {
"enable": false,
"listen": ":5222"
},
"last_launched_version": "v3.42.0"
}

Logs / 日志

�[37mDEBU�[0m[2025-02-16 11:27:43]/source/server/middlewares/auth.go:72 github.com/alist-org/alist/v3/server/middlewares.Auth() use login token: &{ID:1 Username:ivan PwdHash:b760f07b601858432b9ee91a663499ae955e1c8c081a1b746cc02ec485d626ca PwdTS:1739674660 Salt:NsJgweeXXG32QNET Password: BasePath:/ Role:2 Disabled:false Permission:16383 OtpSecret: SsoID: Authn:}
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /Ivan
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:165 github.com/alist-org/alist/v3/internal/op.Get() op.Get /Desktop/ubn_sc.pdf
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /Desktop
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:165 github.com/alist-org/alist/v3/internal/op.Get() op.Get /Desktop
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:120 github.com/alist-org/alist/v3/internal/op.List() list dir: &{ID: Path:C:\Users\Ivan\Desktop Name:Desktop Size:0 Modified:2025-02-16 11:23:02.4631245 +0800 CST Ctime:2025-02-13 16:50:13.3487142 +0800 CST IsFolder:true HashInfo:null}
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:226 github.com/alist-org/alist/v3/internal/op.Get() cant find obj with name: ubn_sc.pdf
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /Ivan
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:165 github.com/alist-org/alist/v3/internal/op.Get() op.Get /Desktop/ubn_sc.pdf
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /Desktop
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:165 github.com/alist-org/alist/v3/internal/op.Get() op.Get /Desktop
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:120 github.com/alist-org/alist/v3/internal/op.List() list dir: &{ID: Path:C:\Users\Ivan\Desktop Name:Desktop Size:0 Modified:2025-02-16 11:23:02.4631245 +0800 CST Ctime:2025-02-13 16:50:13.3487142 +0800 CST IsFolder:true HashInfo:null}
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:226 github.com/alist-org/alist/v3/internal/op.Get() cant find obj with name: ubn_sc.pdf
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:165 github.com/alist-org/alist/v3/internal/op.Get() op.Get /Desktop
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:165 github.com/alist-org/alist/v3/internal/op.Get() op.Get /Desktop
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:568 github.com/alist-org/alist/v3/internal/op.Put() put file [ubn_sc.pdf] done
[GIN] 2025/02/16 - 11:27:43 | 200 | 164.8469ms | 192.168.31.1 | PUT "/api/fs/put"
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/server/middlewares/auth.go:72 github.com/alist-org/alist/v3/server/middlewares.Auth() use login token: &{ID:1 Username:ivan PwdHash:b760f07b601858432b9ee91a663499ae955e1c8c081a1b746cc02ec485d626ca PwdTS:1739674660 Salt:NsJgweeXXG32QNET Password: BasePath:/ Role:2 Disabled:false Permission:16383 OtpSecret: SsoID: Authn:}
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /Ivan
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /Desktop
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:165 github.com/alist-org/alist/v3/internal/op.Get() op.Get /Desktop
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/fs.go:120 github.com/alist-org/alist/v3/internal/op.List() list dir: &{ID: Path:C:\Users\Ivan\Desktop Name:Desktop Size:0 Modified:2025-02-16 11:27:43.4307151 +0800 CST Ctime:2025-02-13 16:50:13.3487142 +0800 CST IsFolder:true HashInfo:null}
�[37mDEBU�[0m[2025-02-16 11:27:43]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /Ivan
[GIN] 2025/02/16 - 11:27:43 | 200 | 7.6289ms | 192.168.31.1 | POST "/api/fs/list"
�[36mINFO�[0m[2025-02-16 11:27:49]/source/internal/db/db.go:36 github.com/alist-org/alist/v3/internal/db.Close() closing db

@yyk725 yyk725 added the bug Something isn't working label Feb 16, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant