Update und sonstiges beim Update Versuch und Backup

```
root = /var/lib/gitea/data/gitea-repositories
lfs PATH = /var/lib/gitea/data/lfs


/var/lib/gitea/data/gitea.db
root@teapot:/mnt/git/gitea#



cd /usr/local/bin
rm gitea
wget -O gitea https://dl.gitea.com/gitea/1.23.8/gitea-1.23.8-linux-amd64
chmod +x gitea


wget -O gitea https://dl.gitea.com/gitea/1.24.0/gitea-1.24.0-linux-amd64
/etc/gitea/app.ini

GITEA__ConfigFile__/etc/gitea/app.ini

su - gitea -c 'gitea --config /etc/gitea/app.ini migrate'


gitea dump --database postgres --skip-repository --skip-log --skip-custom-dir --skip-lfs-data --skip-attachment-data --skip-package-data --skip-index --file /my/data/folder/dump.zip


su - gitea -c 'gitea --config /etc/gitea/app.ini dump --file /var/lib/gitea_backup/dump.zip /'
```


# Config file
```
APP_NAME = Gitea: Git with a cup of tea
RUN_USER = gitea
WORK_PATH = /var/lib/gitea
RUN_MODE = prod

[database]
DB_TYPE = sqlite3
HOST = 127.0.0.1:3306
NAME = gitea
USER = gitea
PASSWD =
SCHEMA =
SSL_MODE = disable
PATH = /var/lib/gitea/data/gitea.db
LOG_SQL = false

[repository]
ROOT = /var/lib/gitea/data/gitea-repositories

[server]
SSH_DOMAIN = 192.168.123.104
DOMAIN = 192.168.123.104
HTTP_PORT = 3000
ROOT_URL = https://git.lodner.dev
APP_DATA_PATH = /var/lib/gitea/data
DISABLE_SSH = false
SSH_PORT = 22
LFS_START_SERVER = true
LFS_JWT_SECRET = TXg_6OzK7qCVeSGdlcXzsssZHQJsWR2rCcAAEZtiu6Y
OFFLINE_MODE = false

[lfs]
PATH = /var/lib/gitea/data/lfs

[mailer]
ENABLED = false

[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
DISABLE_REGISTRATION = true
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply.localhost

[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = false

[cron.update_checker]
ENABLED = false

[session]
PROVIDER = file

[log]
MODE = console
LEVEL = info
ROOT_PATH = /var/lib/gitea/log

[repository.pull-request]
DEFAULT_MERGE_STYLE = merge

[repository.signing]
DEFAULT_TRUST_MODEL = committer

[security]
INSTALL_LOCK = true
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE3MDQ4NDIzNTB9.ldhyfq>
PASSWORD_HASH_ALGO = pbkdf2

[oauth2]
JWT_SECRET = l_HDFNvrPssJHhvrIDDF5uaOXKPO_vPJQMwr6nk-iHE

[git.timeout]
DEFAULT = 720
MIGRATE = 30000
MIRROR = 72000
CLONE = 30000
PULL = 30000
GC = 60
```