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

how to upgrade #2437

Closed
MetaiR opened this issue Aug 30, 2017 · 8 comments
Closed

how to upgrade #2437

MetaiR opened this issue Aug 30, 2017 · 8 comments
Labels
type/docs This PR mainly updates/creates documentation

Comments

@MetaiR
Copy link

MetaiR commented Aug 30, 2017

hello,
I saw your doc about upgrading from Gogs but I couldn't find any references for upgrading to new version of your wonderful program.

we are using it in our server and it has projects, web hooks and etc and I want to upgrade it without any trouble or crashes (specially about losing data)

so how should I upgrade it?

@lafriks
Copy link
Member

lafriks commented Aug 31, 2017

I'm currently working on fix to make it possible

@MetaiR
Copy link
Author

MetaiR commented Sep 1, 2017

@lafriks
it's very good to hear that.
you think when it will be available?

@kmare
Copy link

kmare commented Sep 3, 2017

I didn't setup any webhooks etc, just the basics. I'm using gitea just for my personal git needs on a rpi3. The only thing I have to do to upgrade is replacing the current binary with the newest version. Of course before doing that, I always keep a backup just to be safe. When you first run the updated version (./gitea web), wait a little bit (just a few seconds just to upgrade whatever it needs to I guess ) and you're good to go.
I updated from 1.1.2 to 1.1.3 and now to 1.2.0 without any problems so far. Everything worked like a charm!

@lafriks
Copy link
Member

lafriks commented Sep 3, 2017

Gogs -> 1.1 -> 1.2 does work but direct upgrade to 1.2 does not currently

@MetaiR
Copy link
Author

MetaiR commented Sep 3, 2017

so how should I upgrade? can the team create a doc at least?

@lafriks lafriks added the type/docs This PR mainly updates/creates documentation label Sep 4, 2017
@lafriks lafriks added this to the 1.x.x milestone Sep 4, 2017
@lafriks
Copy link
Member

lafriks commented Sep 4, 2017

@MetaiR There already is documentation on how to do that - https://docs.gitea.io/en-us/upgrade-from-gogs/

but if you want to upgrade directly to 1.2 than please wait for #2460 to merged to 1.2 branch and rc2/final version of 1.2.0

@MetaiR
Copy link
Author

MetaiR commented Sep 5, 2017

@lafriks
is there any difference between upgrading from Gogs or from Gitea itself?
I mean, your doc is about upgrading from Gogs to Gitea but my case is upgrading from an old version of it to the new one, so is that be enough for my situation? (I mean the doc you mentioned)

@lunny
Copy link
Member

lunny commented Sep 5, 2017

Since Gitea developed based on Gogs, so old Gods like an old gitea version. The both process should be the same.

@lunny lunny removed this from the 1.x.x milestone May 17, 2018
@lunny lunny closed this as completed May 17, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/docs This PR mainly updates/creates documentation
Projects
None yet
Development

No branches or pull requests

4 participants