-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Segmentation Fault when trying to upgrade from Gogs #18103
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
Comments
Okay. I figured out, that for some reason gitea was crashing becasue the database password was missing although it is not needed for the postgresql unix socket connection. I am now able to upgrade to version 1.6.x Versions 1.7.x throw a segmentation fault again:
|
What's your Linux kernel version? And the architecture? |
Adding to this to add the go version you're using. The stacktrace reminds me of this bug on go golang/go#49250 but it should only exist on MacOS(even though the fix for that bug is now applied on Linux OS as well), but you could try to suggested workaround of using But the stack trace is indicating a go bug, not sure if we can much do about that. |
I solved the problem by moving everything to a Debian VM and performing the migrations there.
Now everything seems to work (except for some minor oddities in the Wikis). |
Gitea Version
1.1.4 and 1.1.0
Git Version
2.34.1
Operating System
Linux
How are you running Gitea?
Downloaded gitea as binary.
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
Hi,
I try to switch from gogs to gitea. I followed the following steps
I started with v1.0.2 and everything seemed to be running. All repositories/issues etc. were found.
I then switched to v1.1.4 by simply swapping the binary to the new version
This version isn't starting at all and throws a segmentation fault (see below).
How can I upgrade from gogs to gitea?
Screenshots
No response
The text was updated successfully, but these errors were encountered: