Skip to content

[BUG] 天翼云上传时间戳报错 #2944

Closed

Description

@yyll2233

Please confirm the following

  • I have read and agree to AGPL-3.0 Section 15 .
    The program is provided "as is" without any warranties; you bear all risks of using it.

  • I have read and agree to AGPL-3.0 Section 16 .
    The copyright holders and distributors are not liable for any damages resulting from the use or inability to use the program.

  • I confirm my description is clear, polite, helps developers quickly locate the issue, and complies with community rules.

  • I have read the OpenList documentation.

  • I confirm there are no duplicate issues or discussions.

  • I confirm this is an OpenList issue, not caused by other reasons (such as network, dependencies, or operation).

  • I believe this issue must be handled by OpenList and not by a third party.

  • I confirm this issue is not fixed in the latest version.

  • I have not read these checkboxes and therefore I just ticked them all, Please close this issue.

OpenList Version (required)

v4.2.5

Storage Driver Used (required)

天翼云

Bug Description (required)

上传后报错,疑似解析","问题,提示如下:
parsing time "Aug 17, 2026, 10:21:07\xe2\x80\xafPM +08" as "Jan 2, 2006 15:04:05 PM -07": cannot parse ", 10:21:07\xe2\x80\xafPM +08" as " "

Logs (required)

2026/08/17 22:21:15.155974 WARN RESTY parsing time "Aug 17, 2026, 10:21:14\xe2\x80\xafPM +08" as "Jan 2, 2006 15:04:05 PM -07": cannot parse ", 10:21:14\xe2\x80\xafPM +08" as " ", Attempt 1
2026/08/17 22:21:15.155993 ERROR RESTY parsing time "Aug 17, 2026, 10:21:14\xe2\x80\xafPM +08" as "Jan 2, 2006 15:04:05 PM -07": cannot parse ", 10:21:14\xe2\x80\xafPM +08" as " "

Configuration File Content (required)

{
"force": false,
"site_url": "/",
"cdn": "",
"jwt_secret": "fxxxxxxxxxxxxxxxo",
"token_expires_in": 48,
"database": {
"type": "sqlite3",
"host": "",
"port": 0,
"user": "",
"password": "",
"name": "",
"db_file": "/opt/openlist/data/data.db",
"table_prefix": "x_",
"ssl_mode": "",
"dsn": ""
},
"meilisearch": {
"host": "http://localhost:7700",
"api_key": "",
"index": "openlist"
},
"scheme": {
"address": "0.0.0.0",
"http_port": 5244,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": "",
"enable_h2c": false,
"enable_h3": false
},
"temp_dir": "/opt/openlist/data/temp",
"bleve_dir": "/opt/openlist/data/bleve",
"dist_dir": "",
"log": {
"enable": true,
"name": "/opt/openlist/data/log/log.log",
"max_size": 50,
"max_backups": 30,
"max_age": 28,
"compress": false,
"filter": {
"enable": false,
"filters": [
{
"cidr": "",
"path": "/ping",
"method": ""
},
{
"cidr": "",
"path": "",
"method": "HEAD"
},
{
"cidr": "",
"path": "/dav/",
"method": "PROPFIND"
}
]
}
},
"delayed_start": 0,
"auto_memory_limit": 4,
"min_free_memory": 0,
"max_block_limit": 0,
"max_connections": 0,
"max_concurrency": 64,
"tls_insecure_skip_verify": false,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1,
"task_persistant": true
},
"transfer": {
"workers": 5,
"max_retry": 2,
"task_persistant": true
},
"upload": {
"workers": 5,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 5,
"max_retry": 2,
"task_persistant": true
},
"move": {
"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"
},
"mcp": {
"enable": false
},
"last_launched_version": "v4.2.5",
"proxy_address": ""
}

Reproduction Link (optional)

No response

AI Generated Content (optional)

No response

Activity

  1. github-actions commented on Aug 17, 2026

    @github-actions

    ⚠️ 你的 Issue 不符合提交规则。请先阅读相关规范后再重新提交。当前 Issue 将被自动关闭。如需继续提交,请确认已了解规则后重新打开或创建新的 Issue。
    ⚠️ Your issue does not comply with the submission rules. Please read the guidelines before submitting again. This issue will be automatically closed. If you wish to proceed, please confirm that you have reviewed the rules before reopening or creating a new issue.

  2. aaalzk commented on Aug 18, 2026

    @aaalzk

    +1,有类似问题,据说是“天翼云盘返回的时间含 U+202F 特殊空格,Go time.Parse 无法匹配”

  3. lily8562 commented on Aug 18, 2026

    @lily8562

    +1,遇到相同问题。2026/08/18 02:00:33.385542 WARN RESTY parsing time "Aug 18, 2026, 10:00:32\xe2\x80\xafAM +08" as "Jan 2, 2006 15:04:05 PM -07": cannot parse ", 10:00:32\xe2\x80\xafAM +08" as " ", Attempt 1

  4. ZSXB2468 commented on Aug 18, 2026

    @ZSXB2468

    修复已经合并,只是未发布正式版,可以先用 Beta 版。

    以下方法仅适用于脚本安装的情况(systemd),其他情况请自行参阅文档。

    !!!尝试前请务必备份配置文件

    # 1. 下载
    cd /tmp
    curl -LO "https://github.com/OpenListTeam/OpenList/releases/download/beta/openlist-linux-musl-$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/;s/loongarch64/loong64/;s/loongson3/mips64le/').tar.gz"
    tar -xzf openlist-linux-musl-*.tar.gz
    
    # 2. 替换并重启
    sudo systemctl stop openlist
    sudo cp openlist /opt/openlist/openlist && sudo chmod +x /opt/openlist/openlist
    sudo sed -i "1s/.*/beta/" /opt/openlist/.version
    sudo systemctl start openlist

    可以通过一键脚本更新改回正式版,操作前务必备份

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions