Line 62: |
Line 62: |
| | | |
| Then you will have to : | | Then you will have to : |
− | # copy your main config file, /opt/egroupware/header.inc.php, and gallery2, phpsysinfo from opt/egroupware to /usr/share/egroupware
| + | *copy your main config file, /opt/egroupware/header.inc.php, and gallery2, phpsysinfo from opt/egroupware to /usr/share/egroupware |
− | # edit these file to reflect new paths
| + | cp -a /opt/egroupware/html/header.inc.php /usr/share/egroupware/header.inc.php |
− | # manually migrate personal data ( i.e. :File Manager files) from /opt/egroupware to /usr/share/egroupware and /var/lib/egroupware/default
| + | cp -a /opt/egroupware/html/gallery/gallery2/config.php /usr/share/egroupware/gallery/gallery2/config.php |
− | # database will remain the same and will be updated
| + | cp -a /opt/egroupware/html/phpsysinfo/config.php /usr/share/egroupware/phpsysinfo/config.php |
− | # gallery user might have to move their g2data
| + | |
| + | *edit these file to reflect new paths |
| + | |
| + | nano /usr/share/egroupware/header.inc.php |
| + | |
| + | *define('EGW_SERVER_ROOT','/opt/egroupware'); (verify this one is really this way before update) to define('EGW_SERVER_ROOT','/usr/share/egroupware'); |
| + | |
| + | nano /usr/share/egroupware/gallery/gallery2/config.php |
| + | |
| + | $gallery->setConfig('data.gallery.base', '/opt/egroupware/files/g2data/'); to |
| + | $gallery->setConfig('data.gallery.base', '/var/lib/egroupware/default/files/g2data/'); |
| + | |
| + | *manually migrate personal data ( i.e. :File Manager files) from /opt/egroupware to /usr/share/egroupware and /var/lib/egroupware/default |
| + | mv /opt/egroupware/files /var/lib/egroupware/default/files |
| + | |
| + | *database will remain the same and will be updated |
| + | |
| + | *gallery user might have to move their g2data |
| | | |
| | | |