1. Upgrade v7.0(for 123FlashChat v7.0 user who uses hsqldb) to v7.X
1.1 Stop 123FlashChat v7.0.
Linux:
#cd <123flashchat7.0 install directory>/server/
#./fcserver.sh stop
Windows:
Navigate to this directory: <123flashchat7.0 install directory>/server/
Run stop.bat
1.2 Download and install 123FlashChat v7.X.
1.3 Stop 123FlashChat v7.X.
Linux:
#cd <123flashchat7.X install directory>/server/
#./fcserver.sh stop
Windows:
Navigate to this directory: <123flashchat7.X install directory>/server/.
Run this file: stop.bat.
1.4 Copy <123flashchat7.0 install directory>/server/data to <123flashchat7.X install directory>/server/.
1.5 Copy <123flashchat7.0 install directory>/server/etc/DefaultDB.xml to <123flashchat7.X install directory>/server/etc.
1.6 Copy <123flashchat7.0 install directory>/server/etc/groups to <123flashchat7.X install directory>/server/etc.
1.7 Add the parameters that will be used in data import.
Linux:
Edit this file: <123flashchat7.X install directory>/server/fcserver.sh, replace com.topcmm.jchat.FCServer with com.topcmm.jchat.FCServer hsqldb
Windows:
Edit this file: <123flashchat7.X install directory>/server/console.bat, replace com.topcmm.jchat.FCServer with com.topcmm.jchat.FCServer hsqldb
1.8 Restart 123FlashChat v7.X to import data.
Linux:
#cd <123flashchat7.X install directory>/server/
#./fcserver.sh start
Windows:
Navigate to this file: <123flashchat7.X install directory>/server/
Run this file: console.bat
When you get this message: "Data transfer is completed!", this indicates that the data import is successfully finished, if you get this message:"Data transfer error: xxxx ", please contact us.
1.9 Remove the parameters that used during data import.
Linux:
Edit this file: <123flashchat7.X install directory>/server/fcserver.sh, replace com.topcmm.jchat.FCServer hsqldb with com.topcmm.jchat.FCServer
Windows:
Edit this file: <123flashchat7.X install directory>/server/console.bat, replace com.topcmm.jchat.FCServer hsqldb with com.topcmm.jchat.FCServer
1.10 Start 123FlashChat v7.X.
Linux:
#cd <123flashchat7.X install directory>/server/
#./fcserver.sh start
Windows:
Navigate to this directory: <123flashchat7.5 install directory>/server/.
Run this file: start.bat.
2. Upgrade v7.x(for 123Flashchat v7.0 user who use MySQL or 123Flashchat v7.x user) to 123FlashChat v7.5
2.1 Stop 123FlshChat v7.x.
Linux:
#cd <123flashchat7.x install directory>/server/
#./fcserver.sh stop
Windows:
Navigate to this directory: <123flashchat7.x install directory>/server/
Run this file: stop.bat
2.2 Download and install 123FlashChat v7.5.
2.3 Copy <123flashchat7.x install directory>/server/data to <123flashchat7.5 install directory>/server/.
2.4 Copy <123flashchat7.x install directory>/server/etc to <123flashchat7.5 install directory>/server/.
2.5 Please skip this step if you are v7.0 user, copy <123flashchat7.0 install directory>/server/database to <123flashchat7.5 install directory>/server/.
2.6 Restart 123FlashChat v7.5.
Linux:
#cd <123flashchat7.5 install directory>/server/
#./fcserver.sh restart
Windows:
Navigate to this directory: <123flashchat7.5 install directory>/server/.
Run this file: restart.bat.
3. Upgrade to 123FlashChatv7.X from 123FlashChat v6.9.x
3.1 Stop 123FlashChat v6.9.x
Linux:
#cd <123flashchat6.9.x install directory>/server/
#./fcserver.sh stop
Windows:
Navigate to this directory: <123flashchat6.9.x install directory>/server/
Run this file: stop.bat
3.2 Please refer to the installation guidance to install 123FlashChat v7.X.
3.3 Log in Admin Panel with admin account.
3.4 Navigate to System Settings->Import Data, input the address of <123flashchat 6.9.x install directory>/server, and press Import Button to import data.
4 The guidance for the 123FlashChat v7.x user who needs to upgrade to use MySQL after using embedded database for some time.
4.1 Configure MySQL according to the Step 2 of Installation Guidance.
4.2 Stop 123FlashChat v7.x.
Linux:
#cd <123flashchat7.x install directory>/server/
#./fcserver.sh stop
Windows:
Navigate to this directory: <123flashchat7.x install directory>/server/.
Run this file: stop.bat.
4.3 Add the parameters that will be used in data import.
Linux:
Edit this file: <123flashchat7.x install directory>/server/fcserver.sh, replace com.topcmm.jchat.FCServer with com.topcmm.jchat.FCServer derby
Windows:
Edit this file: <123flashchat7.x install directory>/server/console.bat, replace com.topcmm.jchat.FCServer with com.topcmm.jchat.FCServer derby
4.4 Start 123FlashChat v7.x to import data.
Linux:
#cd <123flashchat7.x install directory>/server/
#./fcserver.sh start
Windows:
Navigate to this directory: <123flashchat7.x install directory>/server/
Run this file: console.bat
When you get this message: "Data transfer is completed!", this indicates that the data import is successfully finished, if you get this message: " Data transfer error: xxxx", please contact us.
4.5 Remove the parameters that used during data import.
Linux:
Edit this file: <123flashchat7.x install directory>/server/fcserver.sh, replace com.topcmm.jchat.FCServer derby with com.topcmm.jchat.FCServer
Windows:
Edit this file: <123flashchat7.x install directory>/server/console.bat, replace com.topcmm.jchat.FCServer derby with com.topcmm.jchat.FCServer
4.6 Start 123FlashChat v7.x
Linux:
#cd <123flashchat7.x install directory>/server/
#./fcserver.sh start
Windows:
Navigate to this directory: <123flashchat7.x install directory>/server/
Run this file: start.bat