atlassian_confluence_jira

confluence upgrade

Naan 2013. 9. 6. 11:56
320x100
!!주의 업그레이드 작업시 JAVA 메모리를 높게 잡아주게 될 경우 정상적으로 업데이트가 안될수 있다
꼭 메모리를 낮추워서 작업하자


confluence upgrade 방법이다.

우선 

https://www.atlassian.com/software/confluence/download-archives



자신의 환경에 맞는 버전의 bin 파일을 받는다.


구동되고 있는 confluence 중지한다.

# ./shutdown.sh


중지 한지 확인해본다.

# ps -ef | grep java 

501        3527      1 11 17:00 pts/1    00:01:22 /usr/java/jre1.7.0_25/bin/java -Djava.util.logging.config.file=/data/confluence-3.5-std/conf/logging.properties -Xms2048m -Xmx4096m -XX:MaxPermSize=1024m -Djava.awt.headless=true -Dmail.smtp.localhost=computer_name -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/data/confluence-3.5-std/endorsed -classpath /data/confluence-3.5-std/bin/bootstrap.jar -Dcatalina.base=/data/confluence-3.5-std -Dcatalina.home=/data/confluence-3.5-std -Djava.io.tmpdir=/data/confluence-3.5-std/temp org.apache.catalina.startup.Bootstrap start

501        3791   3470  0 17:11 pts/1    00:00:00 grep java


만약 위에 처럼 java가 구동하고 있다면 중지가 안된것이다.
강제로 중지 시키자
# kill -9 3527

업데이트 설치파일 권한을 주고

# chmod a+x atlassian-confluence-5.0.3-x64.bin


설치

# ./atlassian-confluence-5.0.3-x64.bin

Unpacking JRE ...

Starting Installer ...

Sep 05, 2013 5:18:39 PM java.util.prefs.FileSystemPreferences$1 run

INFO: Created user preferences directory.


This will install Confluence 5.0.3 on your computer.

OK [o, Enter], Cancel [c]    엔터


Choose the appropriate installation or upgrade option.

Please choose one of the following:

Express Install (uses default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing Confluence installation [3]      3번 엔터

Existing installation directory:

[/opt/Confluence]             confluence 설치경로 지정

/data/confluence

Back Up Confluence Home

The upgrade process will automatically back up your Confluence Installation

Directory. You can also choose to back up your existing Confluence Home

Directory. Both directories are backed up as zip archive files in their

respective parent directory locations.


We strongly recommend choosing this option in the unlikely event that you

experience problems with the upgrade and may require these backups to

restore your existing Confluence installation.


If you have many attachments in your Confluence Home Directory, the zip

archive of this directory may consume a significant amount of disk space.

Back up Confluence home ?

Yes [y, Enter], No [n]          Back Up Confluence Home

The upgrade process will automatically back up your Confluence Installation

Directory. You can also choose to back up your existing Confluence Home

Directory. Both directories are backed up as zip archive files in their

respective parent directory locations.


We strongly recommend choosing this option in the unlikely event that you

experience problems with the upgrade and may require these backups to

restore your existing Confluence installation.


If you have many attachments in your Confluence Home Directory, the zip

archive of this directory may consume a significant amount of disk space.

Back up Confluence home ?

Yes [y, Enter], No [n]                 엔터


숄량 숄량 경로 맞냐 어쩌냐 머라 머라 나오면 다 엔터


Checking if your instance of Confluence is running
Upgrade Check List
Back up your external database
We strongly recommend you back up your Confluence database if you have not
already done so.

Please refer to the following URL for back up guidelines:
http://docs.atlassian.com/confluence/docs-50/Production+Backup+Strategy

Check plugin compatibility
Check that your non-bundled plugins are compatible with Confluence 5.0.3.

For more information see our documentation at the following URL:
http://docs.atlassian.com/confluence/docs-50/Installing+and+Configuring+Plugins+using+the+Universal+Plugin+Manager


Please ensure you have read the above checklist before upgrading.
Your existing Confluence installation is about to be upgraded! Do you want to proceed?
Upgrade [u, Enter], Exit [e]     엔터

Your instance of Confluence is currently being upgraded.
Checking if Confluence has been shutdown...
Backing up the Confluence installation directory

Backing up the Confluence home directory


이제 자기가 알아서 mysql과 home을 백업을 진행한다.
데이터량에 따라서 시간이 걸린다.

Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 5.0.3 is complete
Your installation of Confluence 5.0.3 is now ready and can be accessed via
your browser.
Custom modifications
Your previous Confluence installation may contain customisations that must
be manually transferred. Refer to our documentation more information:
http://docs.atlassian.com/confluence/docs-50/Upgrading+Confluence#UpgradingConfluence-custommodifications
Confluence 5.0.3 can be accessed at http://localhost:8080

Confluence 5.0.3 may take several minutes to load on first start up.
Finishing installation ...

이렇게 뜨면 모든 작업이 마무리 된거다.







320x100