You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* giteaofficial/main:
Don't clean up hardcoded `tmp` (go-gitea#18983)
git backend ignore replace objects (go-gitea#18979)
Improve the deletion of issue (go-gitea#18945)
Add note to GPG key response if user has no keys (go-gitea#18961)
adds restore docs for docker based instances (go-gitea#18844)
Refactor admin user filter query parameters (go-gitea#18965)
;; Whether repository file uploads are enabled. Defaults to `true`
903
903
;ENABLED = true
904
904
;;
905
-
;; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart)
905
+
;; Path for uploads. Defaults to `data/tmp/uploads` (content gets deleted on gitea restart)
906
906
;TEMP_PATH = data/tmp/uploads
907
907
;;
908
908
;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
107
107
### Repository - Upload (`repository.upload`)
108
108
109
109
-`ENABLED`: **true**: Whether repository file uploads are enabled
110
-
-`TEMP_PATH`: **data/tmp/uploads**: Path for uploads (tmp gets deleted on Gitea restart)
110
+
-`TEMP_PATH`: **data/tmp/uploads**: Path for uploads (content gets deleted on Gitea restart)
111
111
-`ALLOWED_TYPES`: **\<empty\>**: Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
112
112
-`FILE_MAX_SIZE`: **3**: Max size of each file in megabytes.
113
113
-`MAX_FILES`: **5**: Max number of files per upload
@@ -144,7 +144,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
144
144
145
145
## Repository - Local (`repository.local`)
146
146
147
-
-`LOCAL_COPY_PATH`: **tmp/local-repo**: Path for temporary local repository copies. Defaults to `tmp/local-repo`
147
+
-`LOCAL_COPY_PATH`: **tmp/local-repo**: Path for temporary local repository copies. Defaults to `tmp/local-repo` (content gets deleted on Gitea restart)
148
148
149
149
## Repository - MIME type mapping (`repository.mimetype_mapping`)
Copy file name to clipboardExpand all lines: docs/content/doc/usage/backup-and-restore.en-us.md
+56Lines changed: 56 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,3 +95,59 @@ Repository Git Hooks should be regenerated if installation method is changed (eg
95
95
With Gitea running, and from the directory Gitea's binary is located, execute: `./gitea admin regenerate hooks`
96
96
97
97
This ensures that application and configuration file paths in repository Git Hooks are consistent and applicable to the current installation. If these paths are not updated, repository `push` actions will fail.
98
+
99
+
### Using Docker (`restore`)
100
+
101
+
There is also no support for a recovery command in a Docker-based gitea instance. The restore process contains the same steps as described in the previous section but with different paths.
0 commit comments