2. Update Cybozu Office 3 to Cybozu Office 4 (UNIX) |
On this page, we explain how to update your Cybozu Office 3 data to Cybozu Office 4.
-
Data Backup
Please save backup files. Cybozu cannot be responsible for loss of data. To back up the data, save all files under the directory of Cybozu Office 3.
Install directory Ex):
- /usr/local/www/cgi-bin/cb3
- /home/httpd/cgi-bin/cb3
- /usr/local/apache/cgi-bin/cb3
Note: Cybozu Office 2 users cannot update directly to Cybozu Office 4 directory. Please refer to the Office 3 support center for help.
-
Install Cybozu Office 4
Please download and install Cybozu Office 4.
Check owner and permission data files. Be sure you know the original owner and permission data, as these will be changed with the update.
- Before overwriting, please do a backup.
How to check Cybozu Office 4 owner or permission data files:
If you installed Cybozu Office 4 in "/usr/local/www/cgi-bin/cb4", please check the given permission and owner name for the data files (odb files) under "cb4/data" directory.
For example:
- % pwd
- % /usr/local/www/cgi-bin/cb4
- % ls -l
- -rw-r--r-- 1 nobody root 1048576 Apr 28 16:03 address.odb
- -rw-r--r-- 1 nobady root 1048576 Apr 28 16:03 office.odb
- In this case -rw-r--r-- indicates permission setting and nobody indicates owner.
Please remember these original settings.
Note: For more details on UNIX commands, please refer to the manual or publications.
-
Data Overwrite
Copy the data files of Cybozu Office 3 and paste in the Cybozu Office 4 directory.
Copy data directory under Cybozu Office 3 install directory and paste in the install directory of Cybozu Office 4.
Note: Make sure you overwrite here. If you delete the data directory of Cybozu Office 4 before overwriting, the data file for Circulation (circular.odb) will be deleted.
Copy Attachment file data from Cybozu Office 3 and overwrite to the Cybozu Office 4 directory.
For example: If you install in -
- (Cybozu Office 3) /usr/local/apache/cgi-bin/cb3
- (Cybozu Office 4) /usr/local/apache/cgi-bin/cb4
- % cd /usr/local/apache/cgi-bin
- % cp -pR cb3/data cb4/
- * "-p" in the option indicates "not change permission or owner", "R" indicates "by directory".
- For details of UNIX command, please refer to the published manuals.
Copy attachment data from Cybozu Office 3 and paste in the directory of Cybozu Office 4.
- Copy install directory of Cybozu Office 3( /cb3/file) and overwrite install directory of Cybozu Office 4 (/cb4/).
- * Please refer to the example above.
Confirm the "owner" and "permission setting" of overwritten files.
* Please check all files under dat directory and file directory.
* Please check that the "owner" and "permission" data matches that in the original.
For example: In case "owner" of "office.odb" was "nobody" before being overwritten:
- % pwd
- % /usr/local/apache/cgi-bin/cb4
- % ls -l
- -rw-r--r-- 1 nobody root 1048576 Apr 28 16:03 address.odb
- -r--r--r-- 1 bozuman root 1048576 Apr 28 16:03 office.odb
If the owner of "office.odb" is bozuman, you need to change the owner from bozuman to the owner you confirmed in the previous steps.
- For example: % chownnobodyoffice.odb
If the permission before being overwritten was "-rw-r--r--!644)", you need to change it with the "chmod" command.
- For example: % chmod644bulletin.odb
Check if "owner" or "permission" is changed.
- % ls -l
- -rw-r--r-- 1 nobody root 1048576 Apr 28 16:03 address.odb
- -rw-r--r-- 1 nobody root 1048576 Apr 28 16:03 office.odb
Please check all overwritten files.
Notes::
- Please also check permission and owner data under "data/webmail".
Please refer to File Directory guide for details on the File Directory structure of Cybozu Office 4.
-
Confirmation of Successful Update
Open Cybozu Office 4 and confirm if Cybozu Office 3 data has been transferred properly. Example URLs are as follows:
- http://(server's hostname or IP address)/cgi-bin/cb4/office.cgi?
- Ex 1) http://bozuman.co.jp/scripts/cb4/office.cgi?
- Ex 2) http://10.0.0.1/scripts/cb4/office.cgi?
Please enjoy the speed and the power of Cybozu Office 4!