Packages CHUNKED_UPLOAD_PATH does not work! #10062

Closed
opened 2025-11-02 08:57:12 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @FalconWu2017 on GitHub (Jan 5, 2023).

Description

Config app.ini

[Packages]
ENABLED = true
CHUNKED_UPLOAD_PATH = C:/Services/gitea-package
LIMIT_TOTAL_OWNER_COUNT = 100
LIMIT_TOTAL_OWNER_SIZE = 100 MB

But CHUNKED_UPLOAD_PATH does not work.

2023/01/05 19:49:14 ...s/storage/storage.go:200:initPackages() [I] Initialising Packages storage with type:
2023/01/05 19:49:14 ...les/storage/local.go:46:NewLocalStorage() [I] Creating new Local Storage at C:\Services\gitea\data\packages

Gitea Version

1.18.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Package upload success!

image

Git Version

2.33.0

Operating System

windows 7

How are you running Gitea?

Run by windows service.

Database

MySQL

Originally created by @FalconWu2017 on GitHub (Jan 5, 2023). ### Description Config app.ini > [Packages] > ENABLED = true > CHUNKED_UPLOAD_PATH = C:/Services/gitea-package > LIMIT_TOTAL_OWNER_COUNT = 100 > LIMIT_TOTAL_OWNER_SIZE = 100 MB But CHUNKED_UPLOAD_PATH does not work. > 2023/01/05 19:49:14 ...s/storage/storage.go:200:initPackages() [I] Initialising Packages storage with type: > 2023/01/05 19:49:14 ...les/storage/local.go:46:NewLocalStorage() [I] Creating new Local Storage at C:\Services\gitea\data\packages ### Gitea Version 1.18.0 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots Package upload success! ![image](https://user-images.githubusercontent.com/34147999/210775269-fe2163c3-8342-445b-ae49-39f63044ebdf.png) ### Git Version 2.33.0 ### Operating System windows 7 ### How are you running Gitea? Run by windows service. ### Database MySQL
GiteaMirror added the topic/packagesissue/not-a-bug labels 2025-11-02 08:57:12 -06:00
Author
Owner

@KN4CK3R commented on GitHub (Jan 5, 2023):

You are looking at [storage.packages] and not the chunked upload path which is only used when uploading container images.

Should look like this:

[storage.packages]
STORAGE_TYPE = local
PATH = C:/Services/gitea-package
@KN4CK3R commented on GitHub (Jan 5, 2023): You are looking at `[storage.packages]` and not the chunked upload path which is only used when uploading container images. Should look like this: ```ini [storage.packages] STORAGE_TYPE = local PATH = C:/Services/gitea-package ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10062