Componse包上传后打不开,报404错误 #10341

Closed
opened 2025-11-02 09:04:47 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @codecodify on GitHub (Feb 25, 2023).

Description

你好,我在上传composer包的时候,能上传成功,但是打开包的页面提示报404错误,如果在https://try.gitea.io/网上能正常显示包的主页,不知道我自己搭建的为什么不能正常打开呢。

提交命令示例:curl -T demo.zip -u (my account):(my password) "https://try.gitea.io/api/packages/codecodify/composer?version=1.0.0"

Gitea Version

1.18.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

使用docker-compose运行,配置文件如下:

version: '3'

services:
  gitea:
    image: 'gitea/gitea:1.18.5'
    restart: always
    privileged: true
    container_name: gitea
    environment:
      TZ: Asia/Shanghai
    ports:
      - '10080:3000'
      - '10022:22'
    volumes:
      - '$GITEA_HOME/data:/data'

Database

SQLite

Originally created by @codecodify on GitHub (Feb 25, 2023). ### Description 你好,我在上传`composer`包的时候,能上传成功,但是打开包的页面提示报404错误,如果在`https://try.gitea.io/`网上能正常显示包的主页,不知道我自己搭建的为什么不能正常打开呢。 提交命令示例:curl -T demo.zip -u (my account):(my password) "https://try.gitea.io/api/packages/codecodify/composer?version=1.0.0" ### Gitea Version 1.18.0 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? 使用`docker-compose`运行,配置文件如下: ```yaml version: '3' services: gitea: image: 'gitea/gitea:1.18.5' restart: always privileged: true container_name: gitea environment: TZ: Asia/Shanghai ports: - '10080:3000' - '10022:22' volumes: - '$GITEA_HOME/data:/data' ``` ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 09:04:47 -06:00
Author
Owner

@KN4CK3R commented on GitHub (Feb 26, 2023):

Please speak english.

@KN4CK3R commented on GitHub (Feb 26, 2023): Please speak english.
Author
Owner

@wolfogre commented on GitHub (Feb 27, 2023):

@codecodify I can read Chinese, so I am able to reply to you, but unfortunately I have to close this issue as it's almost impossible to provide a solution without more information.

To help us figure out the problem, please provide steps to reproduce the issue (not how it works on try.gitea.io) with commands, logs, and screenshots.

If you are unsure what to do next, I suggest seeking help from the QQ group.

https://gitea.io/zh-cn/

image

Please feel free to reopen the issue if you have translated it into English.

@wolfogre commented on GitHub (Feb 27, 2023): @codecodify I can read Chinese, so I am able to reply to you, but unfortunately I have to close this issue as it's almost impossible to provide a solution without more information. To help us figure out the problem, please provide steps to reproduce the issue (not how it works on try.gitea.io) with commands, logs, and screenshots. If you are unsure what to do next, I suggest seeking help from the QQ group. https://gitea.io/zh-cn/ <img width="968" alt="image" src="https://user-images.githubusercontent.com/9418365/221506406-2251a771-74b5-4576-95db-541567d824de.png"> Please feel free to reopen the issue if you have translated it into English.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10341