mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-07-12 20:48:40 +00:00
chore(docs): clarify the bootstrap fatal error message displayed when no config is found (#13268)
Refs forgejo/forgejo#5445 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13268 Reviewed-by: Otto <otto@codeberg.org>
This commit is contained in:
parent
16793050ce
commit
d883bd8f12
1 changed files with 5 additions and 1 deletions
|
|
@ -98,7 +98,11 @@ func InitCfgProvider(file string) {
|
|||
|
||||
func MustInstalled() {
|
||||
if !InstallLock {
|
||||
log.Fatal(`Unable to load config file for a installed Forgejo instance, you should either use "--config" to set your config file (app.ini), or run "forgejo web" command to install Forgejo.`)
|
||||
log.Fatal(`
|
||||
Unable to load a config file for an installed Forgejo instance.
|
||||
If you have installed Forgejo already, you might need to provide the path to your config file via the "--config" option.
|
||||
If you haven't installed Forgejo already, please run "forgejo web" command first to finish the installation.
|
||||
`)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue