Edit file functionality doesn't load for a specific file #12535

Closed
opened 2025-11-02 10:13:11 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @zhzy0077 on GitHub (Feb 26, 2024).

Description

Clicking "Edit file" in web portal takes forever and never loads for a specific file. It works pretty well for all other files.

However, git cli works perfectly for the file.

Gitea Version

1.21.6 built with GNU Make 4.4.1, go1.21.7 : bindata, timetzdata, sqlite, sqlite_unlock_notify

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

Screenshots

Git Version

git version 2.40.1

Operating System

Linux

How are you running Gitea?

docker compose (with a few env configurations removed - mostly db related)

version: "3.8"
services:
  gitea:
    image: gitea/gitea
    container_name: gitea
    restart: unless-stopped
    ports:
      - 52222:22
    volumes:
      - /root/gitea:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
      - /mnt/data/backup/gitea:/gitea-backup
    networks:
      - production
networks:
  production:
    external: true

Database

MySQL/MariaDB

Originally created by @zhzy0077 on GitHub (Feb 26, 2024). ### Description Clicking "Edit file" in web portal takes forever and never loads for a specific file. It works pretty well for all other files. **However, git cli works perfectly for the file.** ### Gitea Version 1.21.6 built with GNU Make 4.4.1, go1.21.7 : bindata, timetzdata, sqlite, sqlite_unlock_notify ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist <scrubbed> ### Screenshots <scrubbed> ### Git Version git version 2.40.1 ### Operating System Linux ### How are you running Gitea? docker compose (with a few env configurations removed - mostly db related) ``` version: "3.8" services: gitea: image: gitea/gitea container_name: gitea restart: unless-stopped ports: - 52222:22 volumes: - /root/gitea:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - /mnt/data/backup/gitea:/gitea-backup networks: - production networks: production: external: true ``` ### Database MySQL/MariaDB
GiteaMirror added the type/bugissue/needs-feedback labels 2025-11-02 10:13:11 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Feb 26, 2024):

Please use Gitea 1.21 nightly, it should have been fixed there.

@wxiaoguang commented on GitHub (Feb 26, 2024): Please use Gitea 1.21 nightly, it should have been fixed there.
Author
Owner

@lunny commented on GitHub (Feb 26, 2024):

Fixed by #29370 and will be released on v1.21.7

@lunny commented on GitHub (Feb 26, 2024): Fixed by #29370 and will be released on v1.21.7
Author
Owner

@zhzy0077 commented on GitHub (Feb 26, 2024):

It works after upgrading (temporarily) to 1.21-nightly. Thanks for the prompt answers!

@zhzy0077 commented on GitHub (Feb 26, 2024): It works after upgrading (temporarily) to 1.21-nightly. Thanks for the prompt answers!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12535