Page 1 of 1

Best way for upgrade u server?

Posted: Thu Sep 18, 2014 5:27 pm
by zhort
How I can upgrade my server? better way?????????
Server:all
Pack: all

Now i compile new revision & delete all older files & copy new, but...

1-I need run database upgrade?
2-I always delete config & more
3-I feel like tard I want a better way...

Someone can teach me? :) Step by step please

Ty a lot.

Re: Best way for upgrade u server?

Posted: Thu Sep 18, 2014 7:10 pm
by JMD
I dont know if others do it like i do but because im a lazy bum my way might be a fast one.

First of all i pick one revision as base. I never update until im done adding and changing things on my server (to avoid problems).

After i finish everything on my server, i extract all my changes from the development server to my source be it (htmls, xmls, sql etc. etc.)

That way i have all my changes with the source. When i use the update from within eclipse all my custom changes are kept. Unless of course theres a confict wich i then fix manually (thats another topic right here).

After than everytime theres a new change i update my source i recompile, i make a new folder for the new version of the server and then i run a database upgrade on my old database.

Always make a backup before updating your server, ALWAYS. becayse you never know what might go wrong.

Thats pretty much all i do to update my server.

Maybe theres a better way? Please let me know.

Re: Best way for upgrade u server?

Posted: Thu Sep 18, 2014 7:43 pm
by Battlecruiser
I think git-svn and commiting your changes as git commits locally makes your life easier. I do that to maintain my server

Re: Best way for upgrade u server?

Posted: Thu Sep 18, 2014 7:51 pm
by zhort
ty both

Re: Best way for upgrade u server?

Posted: Thu Sep 18, 2014 8:01 pm
by St3eT
You can try use my server manager. ;) https://gist.github.com/St3eT/ffb02e792d10a2041b26

Re: Best way for upgrade u server?

Posted: Thu Sep 18, 2014 8:41 pm
by zhort
Battlecruiser wrote:I think git-svn and commiting your changes as git commits locally makes your life easier. I do that to maintain my server
U mean update svn from l2jserver & work with local repository?

Re: Best way for upgrade u server?

Posted: Fri Sep 19, 2014 7:57 pm
by Battlecruiser
yes, you commit your changes into your local repo and pull from the svn upstream changes

Re: Best way for upgrade u server?

Posted: Sun Sep 21, 2014 12:22 pm
by zhort
St3eT wrote:You can try use my server manager. ;) https://gist.github.com/St3eT/ffb02e792d10a2041b26
yes but im using windows xD