Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Wiki Page Error - exit status 128 #16584

Closed
2 of 6 tasks
zzudongxiang opened this issue Jul 31, 2021 · 3 comments · Fixed by #16586
Closed
2 of 6 tasks

Add Wiki Page Error - exit status 128 #16584

zzudongxiang opened this issue Jul 31, 2021 · 3 comments · Fixed by #16586

Comments

@zzudongxiang
Copy link

  • Gitea version (or commit ref):1.15.0+rc2 built with GNU Make 4.3, go1.16.6 : bindata, timetzdata, sqlite, sqlite_unlock_notify
  • Git version:2.30.2
  • Operating system:Synolgy 7.0-4189 + Docker
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
  • Log gist:

Description

An error occurred while creating a new wiki

Screenshots

image
image

@zeripath
Copy link
Contributor

We need more logs at DEBUG level.

Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems

Your problem also relates to git commands so please also set RUN_MODE=dev at the top of app.ini.

@zzudongxiang
Copy link
Author

gitea.log
Line: 124 && Line: 181

@zeripath
Copy link
Contributor

PR up.

Sorry about this.

zeripath added a commit to zeripath/gitea that referenced this issue Jul 31, 2021
There is a mistake in go-gitea#16319 and go-gitea#16487 which means that the first time
a wiki page is created a 500 is reported because the `master` branch is
not in existence in that wiki yet.

This PR simply checks for this error and returns not found.

Fix go-gitea#16584

Signed-off-by: Andrew Thornton <[email protected]>
6543 pushed a commit that referenced this issue Aug 1, 2021
* Fix 500 on first wiki page

There is a mistake in #16319 and #16487 which means that the first time
a wiki page is created a 500 is reported because the `master` branch is
not in existence in that wiki yet.

This PR simply checks for this error and returns not found.

Fix #16584

Signed-off-by: Andrew Thornton <[email protected]>
zeripath added a commit to zeripath/gitea that referenced this issue Aug 1, 2021
Backport go-gitea#16586

There is a mistake in go-gitea#16319 and go-gitea#16487 which means that the first time
a wiki page is created a 500 is reported because the `master` branch is
not in existence in that wiki yet.

This PR simply checks for this error and returns not found.

Fix go-gitea#16584

Signed-off-by: Andrew Thornton <[email protected]>
zeripath added a commit that referenced this issue Aug 3, 2021
Backport #16586

There is a mistake in #16319 and #16487 which means that the first time
a wiki page is created a 500 is reported because the `master` branch is
not in existence in that wiki yet.

This PR simply checks for this error and returns not found.

Fix #16584

Signed-off-by: Andrew Thornton <[email protected]>
AbdulrhmnGhanem pushed a commit to kitspace/gitea that referenced this issue Aug 10, 2021
* Fix 500 on first wiki page

There is a mistake in go-gitea#16319 and go-gitea#16487 which means that the first time
a wiki page is created a 500 is reported because the `master` branch is
not in existence in that wiki yet.

This PR simply checks for this error and returns not found.

Fix go-gitea#16584

Signed-off-by: Andrew Thornton <[email protected]>
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants