-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Upgrading gogs on CentOS 6 to gitea 1.0.0 #627
Comments
For 1.1.0 we will provide binaries without the glibc requirement. Beside that we still want to provide proper rpms for the major distros and this will also resolve this issue |
So we need a document update to close this issue? |
@lunny at least we should add a note to the docs for now |
I modified my solution slightly because after gitea rebuilds /home/gogs/.ssh/authorized_keys it puts /opt/gogs/gitea in there. So this needs to be a wrapper script as well. |
The nightly builds still require glibc-2.14. |
Of course, because the issue is not resolved yet. |
Is there any docs updated to close this? |
In the future, we will provide builds for these older distributions (go-gitea/gitea#551). For now, document the issue and suggest upgrading or building from source. Closes go-gitea/gitea#627
In the future, we will provide builds for these older distributions (go-gitea/gitea#551). For now, document the issue and suggest upgrading or building from source. Closes go-gitea/gitea#627
The upcoming release 1.1.0 won't depend on glibc anymore because of #985 |
I just went through the process of upgrading gogs 0.9.97 to gitea 1.0.0. Since I used the RPM to install gogs I needed to modify several things to get things working.
I started following this guide, but soon realized all you need from there is:
Interestingly enough that guide does not tell you to install the gitea binary, which I installed as
/opt/gogs/gitea-1.0.0-linux-amd64
The only real problem is that the gitea binary is linked against glibc 2.14:
The solution for this is to install glibc 2.14 in /opt.
To load the new libc I created a new script
/opt/gogs/gogs
(replaces the old gogs binary):I linked this file to /opt/gogs/gitea because gitea writes this path in ~/.ssh/authorized_keys
After this gitea is a true drop-in replacement for gogs. Perhaps this above can be documented somewhere.
The text was updated successfully, but these errors were encountered: