-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also improve diagnostics prior to starting the service, add information to pkg-message, and enable running the forgejo binary on the command line more easily. Release notes: https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-2 PR: 278876
- Loading branch information
1 parent
fa16f0c
commit bfcf765
Showing
5 changed files
with
53 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1712360403 | ||
SHA256 (forgejo-src-1.21.10-0.tar.gz) = 0cc21835404e40355cf7125b479efebb1fecf2cc17d018d4d54521d75943caf5 | ||
SIZE (forgejo-src-1.21.10-0.tar.gz) = 58820868 | ||
TIMESTAMP = 1715265831 | ||
SHA256 (forgejo-src-7.0.2.tar.gz) = 39b2079be7671f2248dcc36377ae20be65f20695d7f968ae227c0fc55dacca06 | ||
SIZE (forgejo-src-7.0.2.tar.gz) = 54862292 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
{ type: install | ||
message: <<EOM | ||
Before starting forgejo for the first time, you must set a number of | ||
secrets in the configuration file. For your convenience, a sample file | ||
has been copied to %%PREFIX%%/etc/forgejo/conf/app.ini. | ||
|
||
You need to replace every occurence of CHANGE_ME in the file with | ||
sensible values. Please refer to the official documentation at | ||
https://forgejo.org for details. | ||
|
||
You will also likely need to create directories for persistent storage. | ||
Run | ||
su -m git -c 'forgejo doctor check' | ||
to check if all prerequisites have been met. | ||
EOM | ||
} | ||
{ type: upgrade | ||
maximum_version: "1.21" | ||
message: <<EOM | ||
Since forgejo version 7, the startup script will run forgejo doctor check | ||
to verify that forgejo can be started successfully. If you are sure that | ||
forgejo will start even if doctor has identified an issue, you can disable | ||
the check by setting forgejo_configcheck_enabled=NO in rc.conf. | ||
EOM | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.