Changes

Jump to navigation Jump to search
3,182 bytes added ,  00:11, 23 November 2016
Line 1: Line 1:  
{{Languages|Egroupware}}
 
{{Languages|Egroupware}}
 +
{{usefulnote}}
 +
= Version =
 +
{{ #smeversion: smeserver-egroupware}}
 +
 
=Description=
 
=Description=
 
eGroupWare is a [http://www.egroupware.org/philosophy free] enterprise ready groupware software for your network. It enables you to manage contacts, appointments, todos and many more for your whole business.
 
eGroupWare is a [http://www.egroupware.org/philosophy free] enterprise ready groupware software for your network. It enables you to manage contacts, appointments, todos and many more for your whole business.
Line 11: Line 15:  
With this RPM you can use eGroupWare on your SME 7.x (and above). You can install it as one single package in a very comfortable way.
 
With this RPM you can use eGroupWare on your SME 7.x (and above). You can install it as one single package in a very comfortable way.
    +
=egroupware-epl 14.1 Only SME9 =
 +
 +
==Maintainers==
 +
 +
[mailto:stephdl@de-labrusse.fr stephdl] Stéphane de Labrusse AKA [[User:stephdl|Stephdl]]<br />
 +
 +
==Installation==
 +
'''Only for SME9'''<br />
 +
 +
'''see [[Egroupware_repository]] to enable the egroupware repository'''
 +
* For SME 9
 +
 +
For installation run the following commands:
 +
* for [[stephdl]]
 +
  db yum_repositories set stephdl repository \
 +
BaseURL http://mirror.de-labrusse.fr/smeserver/\$releasever \
 +
EnableGroups no GPGCheck yes \
 +
Name "Mirror de Labrusse" \
 +
GPGKey http://mirror.de-labrusse.fr/RPM-GPG-KEY \
 +
Visible yes status disabled
 +
 +
* For [[epel]]
 +
 +
/sbin/e-smith/db yum_repositories set epel repository \
 +
Name 'Epel - EL6' \
 +
BaseUrl 'http://download.fedoraproject.org/pub/epel/6/$basearch' \
 +
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch' \
 +
EnableGroups no \
 +
GPGCheck yes \
 +
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
 +
Visible no \
 +
status disabled
 +
 +
* For [[egroupware_repository]]
 +
 +
db yum_repositories set egroupware repository \
 +
Name "server_eGroupWare" \
 +
BaseURL http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_6/ \
 +
EnableGroups no GPGCheck yes \ Name "eGroupware (CentOS_6)" \
 +
GPGKey http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_6/repodata/repomd.xml.key \
 +
Visible yes status disabled
 +
then
 +
 +
signal-event yum-modify
    +
if you want to have the sieve support then install smeserver-dovecot-extras from [[fws]] repository
   −
=eGroupWare 1.8.005 for SME 8.0 and above (only for testing purpose)=
+
db yum_repositories set fws repository \
 +
BaseURL http://repo.firewall-services.com/centos/\$releasever \
 +
EnableGroups no GPGCheck yes \
 +
Name "Firewall Services" \
 +
GPGKey http://repo.firewall-services.com/RPM-GPG-KEY \
 +
Visible yes status disabled
 +
 
 +
then
 +
yum install --enablerepo=fws smeserver-dovecot-extras
 +
'''RESPONSE : Aucun paquet smeserver-dovecot-extras disponible. !!!! --> SOLUTION ? '''<br />
 +
'''PROBLEM : NO smeserver-dovecot-extras RPM IN FWS REPOSITORY'''
 +
 
 +
else install directly
 +
yum install smeserver-egroupware-epl --enablerepo=stephdl,epel,egroupware
 +
signal-event post-upgrade; signal-event reboot
 +
'''RESPONSE : Erreur : Paquet : egroupware-epl-core-16.1.20161107-1.1.noarch (egroupware) Requiert : php >= 5.4.0 !!!! --> SOLUTION ?'''<br />
 +
'''PROBLEM : MAJOR VERSION NOW IN OPENSUSE REPOSITORY - REQUIRE PHP 5.5 BUT PHP 5.4 IN SME 9.1'''
 +
 
 +
you can go to the [[Egroupware#Starting_with_eGroupWare|Setup]]
 +
 
 +
==DB commands==
 +
# config show egroupware
 +
egroupware=service
 +
    DbName=egroupware
 +
    DbPassword=V1/+eSZxL9KcAoSCX0+kZL0+UUbZeQ7KTw==
 +
    DbUser=egwuser
 +
    HTTPS=on
 +
    MaxExecutionTime=90
 +
    MemoryLimit=256M
 +
    Name=eGroupWare
 +
    PublicAccess=global
 +
    UploadMaxFileSize=65M
 +
 
 +
for example if you want to modify the UploadMaxFileSize
 +
config setprop egroupware UploadMaxFileSize 256M
 +
signal-event console-save
 +
 
 +
=eGroupWare 1.8.007 for SME 8.x =
    
==Maintainers==
 
==Maintainers==
Line 21: Line 107:  
==Installation==
 
==Installation==
   −
{{Warning box|for test purpose only for the moment as the smeserver-egroupware package is still in test}}
+
'''see [[Egroupware_repository]] to enable the egroupware repository'''
    
For installation run the following commands:
 
For installation run the following commands:
  db yum_repositories set server_eGroupWare repository \
+
  db yum_repositories set egroupware repository \
 +
Name "server_eGroupWare" \
 
  BaseURL http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_5/ \
 
  BaseURL http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_5/ \
 
  EnableGroups no GPGCheck yes \ Name "eGroupware (CentOS_5)" \
 
  EnableGroups no GPGCheck yes \ Name "eGroupware (CentOS_5)" \
Line 33: Line 120:  
  signal-event yum-modify
 
  signal-event yum-modify
   −
  yum install smeserver-egroupware --enablerepo=smetest,smedev,server_eGroupWare,smecontribs
+
  yum install smeserver-egroupware --enablerepo=egroupware,smecontribs
 +
signal-event post-upgrade; signal-event reboot
 +
 
      −
{{Note box|msg=see [[bugzilla:8040]] To see status of advancement of testing for SME Server V8}}
+
==Configuration==
 +
 
 +
see [[Egroupware#Starting with eGroupWare|Starting with eGroupWare]]
    
==Update/Upgrade==
 
==Update/Upgrade==
Line 48: Line 139:     
first
 
first
{{Warning box|for test purpose only for the moment as the smeserver-egroupware package is still in test}}
+
 
 
For installation run the following commands:
 
For installation run the following commands:
 
  db yum_repositories set server_eGroupWare repository \
 
  db yum_repositories set server_eGroupWare repository \
 +
Name "server_eGroupWare" \
 
  BaseURL http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_5/ \
 
  BaseURL http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_5/ \
 
  EnableGroups no GPGCheck yes \ Name "eGroupware (CentOS_5)" \
 
  EnableGroups no GPGCheck yes \ Name "eGroupware (CentOS_5)" \
 
  GPGKey http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_5/repodata/repomd.xml.key \
 
  GPGKey http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_5/repodata/repomd.xml.key \
 +
Visible yes status disabled
    
Visible yes status disabled then
 
Visible yes status disabled then
Line 59: Line 152:  
  signal-event yum-modify
 
  signal-event yum-modify
   −
  yum install smeserver-egroupware --enablerepo=smetest,smedev,server_eGroupWare,smecontribs
+
  yum install smeserver-egroupware --enablerepo=server_eGroupWare,smecontribs
    
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
   −
Finally, you must finish the upgrade at the Config-Admin Setup with your existing credentials. Then click on upgrade...
+
vim /usr/share/egroupware/header.inc.php
 +
 
 +
*define('EGW_SERVER_ROOT','/opt/egroupware/html');  to define('EGW_SERVER_ROOT','/usr/share/egroupware');
 +
*define('EGW_INCLUDE_ROOT','/opt/egroupware/html');  to define('EGW_INCLUDE_ROOT',EGW_SERVER_ROOT);
 +
* then comment out the followings
 +
#        define('PHPGW_SERVER_ROOT','/opt/egroupware/html');
 +
#        define('PHPGW_INCLUDE_ROOT','/opt/egroupware/html');#
 +
 
 +
 
 +
vim /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 if they moved it outside of files directory
 +
* mydms user should move their files to filemanager PRIOR update or manually install last 1.6 available version and configure it.
 +
 
 +
* Go to https://YOURIP/egroupware/setup and update your header.conf to new version as requested
 +
 
 +
*Finally, you must finish the upgrade at the Config-Admin Setup with your existing credentials
 +
* login now to conf-admin and first before upgrading your db you must go to "configuration and update your paths :
 +
# '''Enter the full path for users and group files.''' from /opt/egroupware/files to /var/lib/egroupware/default/files
 +
# '''Enter the full path to the backup directory.''' from  /opt/egroupware/backup to /var/lib/egroupware/default/backup
 +
# '''Enter the full path for temporary files.''' from /opt/egroupware/tmp to /usr/share/egroupware_tmp
 +
* Then click on upgrade to upgrade DB...
 +
* last step you have to go to Application and do the following
 +
# check the boxes to install groupdav and phpfreechat
 +
# check the boxes to delete db for icalsrv-Sources, notifywindow, however it is safe to keep them.
 +
# if you never used mydms you can check the box to delete db too, however it is safe to keep it.
    
[[Image:eGW-upgrade-step1.png]]
 
[[Image:eGW-upgrade-step1.png]]
Line 88: Line 214:  
==Uninstallation==
 
==Uninstallation==
   −
{{Warning box|for test purpose only for the moment as the smeserver-egroupware package is still in test : this script is not yet fully functional, path to eGroupware needs to be updated (1.8.005-3)}}
+
 
 
To uninstall use the following command:
 
To uninstall use the following command:
 
   yum remove `rpm -qa|grep -i  eGroupware`
 
   yum remove `rpm -qa|grep -i  eGroupware`
Line 99: Line 225:  
see [[Egroupware#Starting with eGroupWare|Starting with eGroupWare]]
 
see [[Egroupware#Starting with eGroupWare|Starting with eGroupWare]]
   −
=eGroupWare 1.4.004 for SME 7.x =
+
== add back mydms==
 
+
Last available version for eGroupware is for 1.6 :
==Maintainers==
+
   
[[User:Berdie/de|Dietmar Berteld]]<br/>
+
  yum install eGroupware-mydms --enablerepo=server_eGroupWare
mailto:dietmar@berteld.com
  −
 
  −
[[User:Cool34000|Sylvain Gomez]]<br/>
  −
mailto:sylvaingomez@free.fr
  −
 
  −
[[User:Snoopyski|Stéphane Gauvin]]<br/>
  −
mailto:sgauvin@serviceinfosg.com
  −
 
  −
[[User:Studiosacchetti|Andrea Sacchetti]]<br/>
  −
mailto:studiosacchetti@gmail.com
  −
 
  −
 
  −
==Installation==
  −
For installation run the following commands:
  −
  wget http://mirror.contribs.org/contribs/sgomez/contribs/egroupware/smeserver-egroupware-1.4.004-1.noarch.rpm
  −
  yum localinstall smeserver-egroupware-1.4.004-1.noarch.rpm
  −
The rpm is about 26Mbytes in size, so may take some minutes to download.
  −
 
  −
{{Note box|msg=see [[bugzilla:7640]] you have to set the upload_tmp_dir in the php.ini as described [[Uploadtmpdir|here]] For SME Server V8}}
  −
 
  −
==Update/Upgrade==
  −
'''Please note that this RPM cannot upgrade eGroupWare 1.2.x'''
  −
{{Warning box|'''Because of a bug in old RPM versions'''*''', YOU MUST UNINSTALL THE OLD RPM BEFORE UPDATING WITH THE FOLLOWING COMMAND:'''
  −
'''rpm -e smeserver-egroupware --noscripts'''
  −
'''This will prevent installation files and MySQL to be deleted.'''
  −
 
  −
<nowiki>*</nowiki>'' Affected versions are smeserver-egroupware-1.4-10 and older''}}
  −
 
  −
Then, you can update your existing 1.4 installation with
  −
rpm -Uvh smeserver-egroupware-1.4.004-1.noarch.rpm
  −
If you were upgrading eGroupWare version (i.e.1.4.001 to 1.4.002) you must finish the upgrade at the Config-Admin Setup with your existing credentials. Then click on upgrade...
  −
 
  −
[[Image:eGW-upgrade-step1.png]]
  −
 
  −
Then re-check your install
  −
 
  −
[[Image:eGW-upgrade-step2.png]]
     −
If all went ok, upgrade is done!
+
then you will have to edit the mydms setup file
 +
vim /usr/share/egroupware/mydms/setup/setup.inc.php
   −
[[Image:eGW-upgrade-step3.png]]
+
'versions' => Array('1.4','1.5','1.6','1.7')
 +
to
 +
'versions' => Array('1.4','1.5','1.6','1.7','1.8')
   −
A backup is done by the RPM before updating. All Files and MySQL DataBase are saved in /opt/eGW_RPM_BACKUP
+
then go to web interface to configure your app and update the db.
'''You must move the backup to a safe directory.'''
  −
 
  −
This automatic step is just for safety, '''make your own backup before updating/upgrading.'''
  −
 
  −
==Uninstallation==
  −
To uninstall use the following command:
  −
yum remove smeserver-egroupware
  −
In the new release (1.4.002-x), if you want to completely remove eGroupWare from your server, you need the following command:
  −
sh /root/eGW-Full-Uninstall.sh
  −
This will delete eGroupWare's installation files, MySQL database and SME database entries.
      
=Starting with eGroupWare=
 
=Starting with eGroupWare=
Line 398: Line 480:     
http://sites.google.com/site/studiosacchetti/home/downloads/smeserver-egroupware-1.6.003-2.noarch.rpm
 
http://sites.google.com/site/studiosacchetti/home/downloads/smeserver-egroupware-1.6.003-2.noarch.rpm
 +
 +
= Bug report =
 +
Egroupware is listed in the [http://bugs.contribs.org/enter_bug.cgi?product=SME%20Contribs&component=smeserver-egroupware bugtracker contribs section].
 +
Please report all bugs, new feature requests and documentation issues there.
 +
 +
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-egroupware |noresultsmessage="No open bugs found."}}
    
=Additional information=
 
=Additional information=
2

edits

Navigation menu