Koozali.org: home of the SME Server

Sme9 beta 4 + Sogo - A first attempt

Offline nicolatiana

  • *
  • 721
  • +0/-0
Sme9 beta 4 + Sogo - A first attempt
« on: May 07, 2014, 11:12:02 PM »
Just as a test I tried to install SOGo on Sme9beta 4, with necessary adaptations to repositories:

Quote
db yum_repositories set nethsme repository \
 BaseURL http://smeserver.nethesis.it/releases/8/i386 \
 EnableGroups yes \ GPGCheck yes \
 GPGKey http://smeserver.nethesis.it/releases/RPM-GPG-KEY-nethesis \
 Name "SME Server - nethesis" \
 Visible yes \
 status disabled
 
db yum_repositories set sogo repository \
 BaseURL http://inverse.ca/downloads/SOGo/RHEL6/\$basearch \
 EnableGroups yes \
 GPGCheck no \
 Name "Inverse SOGo Repository" \
 Visible yes \
 status disabled

 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

I get an error on the contribs file:
Quote
Transaction Check Error: file /etc/e-smith/events/bootstrap-console-save/templates2expand/etc/httpd/conf/httpd.conf from install of smeserver-sogo-1.0.1-1.el5.nh.noarch conflicts with file from package e-smith-apache-2.4.0-8.el6.sme.noarch

I tried to give a look inside rpm and srpm files but it's really over my under-zero programming capabilities  :( .

Nicola
« Last Edit: May 08, 2014, 01:32:33 PM by nicolatiana »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #1 on: May 08, 2014, 12:16:53 PM »
Code: [Select]
#!/usr/bin/perl -w

use esmith::Build::CreateLinks qw(:all);

service_link_enhanced("memcached", "S55", "7");
service_link_enhanced("sogod", "S85", "7");

templates2events("/etc/e-smith/sql/init/30sogo_mysql_create_database", qw(post-install bootstrap-console-save));
templates2events("/etc/e-smith/sql/init/31sogo_mysql_update_privileges", qw(post-install bootstrap-console-save));
templates2events("/var/lib/sogo/smeserver/sogo_mysql_update_privileges.sql", qw(post-install bootstrap-console-save));

templates2events("/etc/e-smith/sql/init/31sogo_upgrade", qw(post-install post-upgrade));

templates2events("/etc/httpd/conf/httpd.conf", qw(sogo-modify bootstrap-console-save));
templates2events("/etc/sogo/sogo.conf", qw(sogo-modify bootstrap-console-save));
templates2events("/etc/sysconfig/memcached", qw(sogo-modify bootstrap-console-save));
templates2events("/etc/logrotate.d/sogo", qw(sogo-modify bootstrap-console-save));
templates2events("/etc/sysconfig/sogo", qw(sogo-modify bootstrap-console-save));
templates2events("/etc/rc.d/init.d/masq",qw(sogo-modify));
templates2events("/etc/cron.d/sogo",qw(sogo-modify));
templates2events("/etc/dovecot/master.users",qw(sogo-modify));

safe_symlink("sigusr1", "root/etc/e-smith/events/sogo-modify/services2adjust/httpd-e-smith");
safe_symlink("restart", "root/etc/e-smith/events/sogo-modify/services2adjust/sogod");
safe_symlink("restart", "root/etc/e-smith/events/sogo-modify/services2adjust/dovecot");
safe_symlink("restart", "root/etc/e-smith/events/sogo-modify/services2adjust/memcached");
safe_symlink("adjust", "root/etc/e-smith/events/sogo-modify/services2adjust/masq");

for my $event (qw(pre-backup))
{
    event_link("sogo-backup", $event, "80");
}

in the srpms you have a file called createlinks and you can see the content above

I think that you have to modify

Code: [Select]
templates2events("/etc/httpd/conf/httpd.conf", qw(sogo-modify bootstrap-console-save));to
Code: [Select]
templates2events("/etc/httpd/conf/httpd.conf", qw(sogo-modify));
I'm building the rpm
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #2 on: May 08, 2014, 12:45:20 PM »
it works

do :

wget http://mirror.de-labrusse.fr/Sme-Server/sogo/smeserver-sogo-1.0.1-1.el6.sme.noarch.rpm
yum install smeserver-sogo-1.0.1-1.el6.sme.noarch.rpm --enablerepo=*

Please report if you have some noises
« Last Edit: May 08, 2014, 12:46:58 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #3 on: May 08, 2014, 01:08:19 PM »
Should I install esmith-devel and start learning . . . .  :-?

Trying . . ..

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #4 on: May 08, 2014, 01:20:42 PM »
Tried; the following result installed:

Quote
====================================================================================================================
 Package                       Arch       Version                     Repository                               Size
====================================================================================================================
Installing:
 smeserver-sogo                noarch     1.0.1-1.el6.sme             /smeserver-sogo-1.0.1-1.el6.sme.noarch   14 k
Installing for dependencies:
 gnustep-base                  i686       1.23.0-1                    sogo                                    1.4 M
 gnustep-filesystem            noarch     2.6.2-1.el6                 epel                                    8.0 k
 gnustep-make                  i686       2.6.2-1.el6                 epel                                    265 k
 lasso                         i686       2.3.6-1.centos6             sogo                                    642 k
 libevent                      i686       1.4.13-4.el6                base                                     67 k
 libicu                        i686       4.2.1-9.1.el6_2             base                                    5.0 M
 libmemcached                  i686       0.49-1                      sogo                                    134 k
 libobjc                       i686       4.4.7-4.el6                 base                                     89 k
 memcached                     i686       1.4.4-3.el6                 base                                     67 k
 sogo                          i686       2.2.3-1.centos6             sogo                                    2.8 M
 sogo-tool                     i686       2.2.3-1.centos6             sogo                                     35 k
 sope49-appserver              i686       4.9-20140403_1664.el6.1     sogo                                    691 k
 sope49-cards                  i686       2.2.3-1.centos6             sogo                                    148 k
 sope49-core                   i686       4.9-20140403_1664.el6.1     sogo                                    254 k
 sope49-gdl1                   i686       4.9-20140403_1664.el6.1     sogo                                    125 k
 sope49-gdl1-contentstore      i686       2.2.3-1.centos6             sogo                                     46 k
 sope49-gdl1-mysql             i686       4.9-20140403_1664.el6.1     sogo                                     27 k
 sope49-ldap                   i686       4.9-20140403_1664.el6.1     sogo                                     39 k
 sope49-mime                   i686       4.9-20140403_1664.el6.1     sogo                                    216 k
 sope49-sbjson                 i686       2.3.1-20140403_1664.el6.1   sogo                                     15 k
 sope49-xml                    i686       4.9-20140403_1664.el6.1     sogo                                    162 k
 xmlsec1                       i686       1.2.16-2.el6                epel                                    156 k
 xmlsec1-openssl               i686       1.2.16-2.el6                epel                                     64 k

Transaction Summary
====================================================================================================================

A warning:
Quote
install-info: warning: no info dir entry in `/usr/share/info/gnustep-make.info'
maybe not relevant considering that all seems working fine (there's only admin mail).

Good job.

Nicola



Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #5 on: May 08, 2014, 01:32:04 PM »
Quote
A warning:
Quote

    install-info: warning: no info dir entry in `/usr/share/info/gnustep-make.info'

maybe not relevant considering that all seems working fine (there's only admin mail).
where do you find this warning ?
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #6 on: May 08, 2014, 01:38:07 PM »
While installing, during transaction test.

Quote
..........................
  Installing : gnustep-filesystem 2.6.2-1.el6.noarch                       9/24
  Installing : gnustep-make-2.6.2-1.el6.i686                              10/24             
Install-info: warning: no info dir entry in `/usr/share/info/gnustep-make.info'
  Installing : sope49-cards-2.2.3-1.centos6.i686                          11/24
  Installing : xmlsec1-1.2.16-2.el6.i686                                  12/24
..........................
The server is "clean" enough: the only other contrib installed and working is the Affa testing . .  :)

Addition: maybe there's some timeout to tune in sogo.conf beacuse the openened session is interrupted very quickly. Will try later after some investigation.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #7 on: May 08, 2014, 02:09:19 PM »
Should I install esmith-devel and start learning . . . .  :-?

Trying . . ..

Nicola

you don't need to install something to start to learn, only have a sme in a virtual environment
see how i did https://geekeries.de-labrusse.fr/?p=2004 (french inside)

RPM it is like an engine, it is relatively well known, you don't have to know how to invent a new one for  repairing  it.
Development It is different that you have to invent every time new stuffs and solve new problems that you will never have if you were go out to see friends.

The solution to the question how to learn  is 'Read source code, take notes, have a bit of free time, and the thirsty of learn'

The question how to start ?

take a srpm, follow my tutorial, and read srpm in our repository

You could be a maintener for sogo if you want to do it, after that, each issue have a solution, but if no solution, there is no issue...I go out :)
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #8 on: May 08, 2014, 02:12:31 PM »
Table 'sogo.sogo_sessions_folder' doesn't exist; in detail:

Quote
May 08 13:31:45 sogod [1872]: <0x0x162b58c[LDAPSource]> <NSException: 0x1356c9c> NAME:LDAPException REASON:operation bind failed: Invalid credentials (0x31) INFO:{login = "cn=admin,ou=groups,dc=chester-perry,dc=com"; }
May 08 13:31:45 sogod [1872]: SOGoRootPage successful login from '192.168.0.197' for user 'admin' - expire = -1  grace = -1
May 08 13:31:45 sogod [1872]: [ERROR] <0x0x1465a4c[GCSSessionsFolder]> -[GCSSessionsFolder recordForEntryWithID:]: cannot execute fetch: <MySQL4Exception: 0x16575fc> NAME:ExecutionFailed REASON:Table 'sogo.sogo_sessions_folder' doesn't e
xist
May 08 13:31:45 sogod [1872]: [ERROR] <0x0x1465a4c[GCSSessionsFolder]> -[GCSSessionsFolder writeRecordForEntryWithID:value:creationDate:lastSeenDate:]: cannot write record: <MySQL4Exception: 0x15f0ff4> NAME:ExecutionFailed REASON:Table '
sogo.sogo_sessions_folder' doesn't exist
192.168.0.197 - - [08/May/2014:13:31:45 GMT] "POST /SOGo/connect HTTP/1.1" 200 27/49 0.040 - - 0
192.168.0.197 - - [08/May/2014:13:31:46 GMT] "GET /SOGo/so/admin/Administration HTTP/1.1" 200 4132/0 0.132 11991 65% 4K
192.168.0.197 - - [08/May/2014:13:31:46 GMT] "POST /SOGo/so/admin/Calendar/alarmslist?browserTime=1399548706 HTTP/1.1" 200 2/0 0.008 - - 0
192.168.0.197 - - [08/May/2014:13:31:50 GMT] "GET /SOGo/so/admin/Calendar HTTP/1.1" 302 0/0 0.005 - - 0
192.168.0.197 - - [08/May/2014:13:31:50 GMT] "GET /SOGo/so/admin/Calendar/view HTTP/1.1" 200 12909/0 0.227 47123 72% 472K
May 08 13:31:51 sogod [1845]: [ERROR] <0x0x146a454[WOWatchDog]> No child available to handle incoming request!
192.168.0.197 - - [08/May/2014:13:31:51 GMT] "POST /SOGo/so/admin/Calendar/taskslist?show-completed=0&asc=true&sort=end HTTP/1.1" 200 2/0 0.032 - - 28K
May 08 13:31:51 sogod [1845]: [ERROR] <0x0x146a454[WOWatchDog]> No child available to handle incoming request!


Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #9 on: May 08, 2014, 02:21:03 PM »
I haven't had this issue when i have installed that package

Code: [Select]
# yum install smeserver-sogo-1.0.1-1.el6.sme.noarch.rpm --enablerepo=*

Setting up Install Process
Examining smeserver-sogo-1.0.1-1.el6.sme.noarch.rpm: smeserver-sogo-1.0.1-1.el6.sme.noarch
Marking smeserver-sogo-1.0.1-1.el6.sme.noarch.rpm to be installed
Resolving Dependencies
...

Dependencies Resolved

===================================================================================================================================================================================================================
 Package                                            Arch                             Version                                                Repository                                                        Size
===================================================================================================================================================================================================================
Installing:
 smeserver-sogo                                     noarch                           1.0.1-1.el6.sme                                        /smeserver-sogo-1.0.1-1.el6.sme.noarch                            14 k
Installing for dependencies:
 gnustep-base                                       i686                             1.23.0-1                                               sogo                                                             1.4 M
 gnustep-filesystem                                 noarch                           2.6.2-1.el6                                            epel                                                             8.0 k
 gnustep-make                                       i686                             2.6.2-1.el6                                            epel                                                             265 k
 lasso                                              i686                             2.3.6-1.centos6                                        sogo                                                             642 k
 libevent                                           i686                             1.4.13-4.el6                                           base                                                              67 k
 libicu                                             i686                             4.2.1-9.1.el6_2                                        base                                                             5.0 M
 libmemcached                                       i686                             0.49-1                                                 sogo                                                             134 k
 libobjc                                            i686                             4.4.7-4.el6                                            base                                                              89 k
 memcached                                          i686                             1.4.4-3.el6                                            base                                                              67 k
 sogo                                               i686                             2.2.3-1.centos6                                        sogo                                                             2.8 M
 sogo-tool                                          i686                             2.2.3-1.centos6                                        sogo                                                              35 k
 sope49-appserver                                   i686                             4.9-20140403_1664.el6.1                                sogo                                                             691 k
 sope49-cards                                       i686                             2.2.3-1.centos6                                        sogo                                                             148 k
 sope49-core                                        i686                             4.9-20140403_1664.el6.1                                sogo                                                             254 k
 sope49-gdl1                                        i686                             4.9-20140403_1664.el6.1                                sogo                                                             125 k
 sope49-gdl1-contentstore                           i686                             2.2.3-1.centos6                                        sogo                                                              46 k
 sope49-gdl1-mysql                                  i686                             4.9-20140403_1664.el6.1                                sogo                                                              27 k
 sope49-ldap                                        i686                             4.9-20140403_1664.el6.1                                sogo                                                              39 k
 sope49-mime                                        i686                             4.9-20140403_1664.el6.1                                sogo                                                             216 k
 sope49-sbjson                                      i686                             2.3.1-20140403_1664.el6.1                              sogo                                                              15 k
 sope49-xml                                         i686                             4.9-20140403_1664.el6.1                                sogo                                                             162 k
 xmlsec1                                            i686                             1.2.16-2.el6                                           epel                                                             156 k
 xmlsec1-openssl                                    i686                             1.2.16-2.el6                                           epel                                                              64 k

Transaction Summary
===================================================================================================================================================================================================================
Install      24 Package(s)

Total size: 12 M
Total download size: 12 M
Installed size: 51 M
Is this ok [y/N]: y
Downloading Packages:
(1/23): gnustep-base-1.23.0-1.i686.rpm                                                                                                                                                      | 1.4 MB     00:04     
(2/23): gnustep-filesystem-2.6.2-1.el6.noarch.rpm                                                                                                                                           | 8.0 kB     00:00     
(3/23): gnustep-make-2.6.2-1.el6.i686.rpm                                                                                                                                                   | 265 kB     00:00     
(4/23): lasso-2.3.6-1.centos6.i686.rpm                                                                                                                                                      | 642 kB     00:01     
(5/23): libevent-1.4.13-4.el6.i686.rpm                                                                                                                                                      |  67 kB     00:00     
(6/23): libicu-4.2.1-9.1.el6_2.i686.rpm                                                                                                                                                     | 5.0 MB     00:06     
(7/23): libmemcached-0.49-1.i686.rpm                                                                                                                                                        | 134 kB     00:00     
(8/23): libobjc-4.4.7-4.el6.i686.rpm                                                                                                                                                        |  89 kB     00:00     
(9/23): memcached-1.4.4-3.el6.i686.rpm                                                                                                                                                      |  67 kB     00:00     
(10/23): sogo-2.2.3-1.centos6.i686.rpm                                                                                                                                                      | 2.8 MB     00:10     
(11/23): sogo-tool-2.2.3-1.centos6.i686.rpm                                                                                                                                                 |  35 kB     00:00     
(12/23): sope49-appserver-4.9-20140403_1664.el6.1.i686.rpm                                                                                                                                  | 691 kB     00:01     
(13/23): sope49-cards-2.2.3-1.centos6.i686.rpm                                                                                                                                              | 148 kB     00:00     
(14/23): sope49-core-4.9-20140403_1664.el6.1.i686.rpm                                                                                                                                       | 254 kB     00:01     
(15/23): sope49-gdl1-4.9-20140403_1664.el6.1.i686.rpm                                                                                                                                       | 125 kB     00:00     
(16/23): sope49-gdl1-contentstore-2.2.3-1.centos6.i686.rpm                                                                                                                                  |  46 kB     00:00     
(17/23): sope49-gdl1-mysql-4.9-20140403_1664.el6.1.i686.rpm                                                                                                                                 |  27 kB     00:00     
(18/23): sope49-ldap-4.9-20140403_1664.el6.1.i686.rpm                                                                                                                                       |  39 kB     00:00     
(19/23): sope49-mime-4.9-20140403_1664.el6.1.i686.rpm                                                                                                                                       | 216 kB     00:00     
(20/23): sope49-sbjson-2.3.1-20140403_1664.el6.1.i686.rpm                                                                                                                                   |  15 kB     00:00     
(21/23): sope49-xml-4.9-20140403_1664.el6.1.i686.rpm                                                                                                                                        | 162 kB     00:00     
(22/23): xmlsec1-1.2.16-2.el6.i686.rpm                                                                                                                                                      | 156 kB     00:00     
(23/23): xmlsec1-openssl-1.2.16-2.el6.i686.rpm                                                                                                                                              |  64 kB     00:00     
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                              359 kB/s |  12 MB     00:35     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : sope49-xml-4.9-20140403_1664.el6.1.i686                                                                                                                                                        1/24
  Installing : sope49-core-4.9-20140403_1664.el6.1.i686                                                                                                                                                       2/24
  Installing : sope49-gdl1-4.9-20140403_1664.el6.1.i686                                                                                                                                                       3/24
  Installing : sope49-gdl1-mysql-4.9-20140403_1664.el6.1.i686                                                                                                                                                 4/24
  Installing : sope49-gdl1-contentstore-2.2.3-1.centos6.i686                                                                                                                                                  5/24
  Installing : sope49-mime-4.9-20140403_1664.el6.1.i686                                                                                                                                                       6/24
  Installing : sope49-appserver-4.9-20140403_1664.el6.1.i686                                                                                                                                                  7/24
  Installing : sope49-ldap-4.9-20140403_1664.el6.1.i686                                                                                                                                                       8/24
  Installing : gnustep-filesystem-2.6.2-1.el6.noarch                                                                                                                                                          9/24
  Installing : gnustep-make-2.6.2-1.el6.i686                                                                                                                                                                 10/24
install-info: warning: no info dir entry in `/usr/share/info/gnustep-make.info'
  Installing : sope49-cards-2.2.3-1.centos6.i686                                                                                                                                                             11/24
  Installing : xmlsec1-1.2.16-2.el6.i686                                                                                                                                                                     12/24
  Installing : xmlsec1-openssl-1.2.16-2.el6.i686                                                                                                                                                             13/24
  Installing : lasso-2.3.6-1.centos6.i686                                                                                                                                                                    14/24
  Installing : libicu-4.2.1-9.1.el6_2.i686                                                                                                                                                                   15/24
  Installing : libobjc-4.4.7-4.el6.i686                                                                                                                                                                      16/24
  Installing : gnustep-base-1.23.0-1.i686                                                                                                                                                                    17/24
  Installing : libmemcached-0.49-1.i686                                                                                                                                                                      18/24
  Installing : libevent-1.4.13-4.el6.i686                                                                                                                                                                    19/24
  Installing : memcached-1.4.4-3.el6.i686                                                                                                                                                                    20/24
  Installing : sope49-sbjson-2.3.1-20140403_1664.el6.1.i686                                                                                                                                                  21/24
  Installing : sogo-2.2.3-1.centos6.i686                                                                                                                                                                     22/24
  Installing : sogo-tool-2.2.3-1.centos6.i686                                                                                                                                                                23/24
  Installing : smeserver-sogo-1.0.1-1.el6.sme.noarch                                                                                                                                                         24/24
Migrating existing database yum_updates
Migrating existing database spamassassin
Migrating existing database yum_installed
Migrating existing database accounts
Migrating existing database hosts
Migrating existing database domains
Migrating existing database backups
Migrating existing database networks
Migrating existing database yum_available
Migrating existing database configuration
Migrating existing database mailpatterns
Migrating existing database yum_repositories


Installed:
  smeserver-sogo.noarch 0:1.0.1-1.el6.sme                                                                                                                                                                         

Dependency Installed:
  gnustep-base.i686 0:1.23.0-1                           gnustep-filesystem.noarch 0:2.6.2-1.el6          gnustep-make.i686 0:2.6.2-1.el6                  lasso.i686 0:2.3.6-1.centos6                         
  libevent.i686 0:1.4.13-4.el6                           libicu.i686 0:4.2.1-9.1.el6_2                    libmemcached.i686 0:0.49-1                       libobjc.i686 0:4.4.7-4.el6                           
  memcached.i686 0:1.4.4-3.el6                           sogo.i686 0:2.2.3-1.centos6                      sogo-tool.i686 0:2.2.3-1.centos6                 sope49-appserver.i686 0:4.9-20140403_1664.el6.1     
  sope49-cards.i686 0:2.2.3-1.centos6                    sope49-core.i686 0:4.9-20140403_1664.el6.1       sope49-gdl1.i686 0:4.9-20140403_1664.el6.1       sope49-gdl1-contentstore.i686 0:2.2.3-1.centos6     
  sope49-gdl1-mysql.i686 0:4.9-20140403_1664.el6.1       sope49-ldap.i686 0:4.9-20140403_1664.el6.1       sope49-mime.i686 0:4.9-20140403_1664.el6.1       sope49-sbjson.i686 0:2.3.1-20140403_1664.el6.1       
  sope49-xml.i686 0:4.9-20140403_1664.el6.1              xmlsec1.i686 0:1.2.16-2.el6                      xmlsec1-openssl.i686 0:1.2.16-2.el6             

Complete!

==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:

signal-event post-upgrade; signal-event reboot

You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================
[root@sme9b3dev5 ~]# signal-event post-upgrade; signal-event reboot

Broadcast message from root@sme9b3dev5
(/dev/pts/0) at 23:31 ...

See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #10 on: May 08, 2014, 02:47:04 PM »
Table 'sogo.sogo_sessions_folder' doesn't exist; in detail:



Nicola

the problem is in the /var/lib/sogo/smeserver/sogo_mysql_create_database.sql there is no table called sogo.sogo_sessions_folder.

See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #11 on: May 08, 2014, 02:54:12 PM »
It seems to me that this table is created for each user at the first access to SOGo.
I'll make further test when my brain will come back . . .  :-?

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #12 on: May 08, 2014, 03:00:17 PM »
the problem is in the /var/lib/sogo/smeserver/sogo_mysql_create_database.sql there is no table called sogo.sogo_sessions_folder.

new rpm coming I have added this code

Code: [Select]
CREATE TABLE IF NOT EXISTS `sogo.sogo_sessions_folder` (
  `c_uid` varchar(255) NOT NULL,
  `c_defaults` text,
  `c_settings` text,
  PRIMARY KEY  (`c_uid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #13 on: May 08, 2014, 03:27:48 PM »
In a working SOGo installation even if there is no explict instruction to create the table, the table exists:

Quote
-- SOGo Database Creation

CREATE DATABASE IF NOT EXISTS `sogo`;

CONNECT `sogo`;

CREATE TABLE IF NOT EXISTS `sogo_folder_info` (
  `c_folder_id` bigint(20) unsigned NOT NULL auto_increment,
  `c_path` varchar(255) NOT NULL,
  `c_path1` varchar(255) NOT NULL,
  `c_path2` varchar(255) default NULL,
  `c_path3` varchar(255) default NULL,
  `c_path4` varchar(255) default NULL,
  `c_foldername` varchar(255) NOT NULL,
  `c_location` varchar(2048) NOT NULL,
  `c_quick_location` varchar(2048) default NULL,
  `c_acl_location` varchar(2048) default NULL,
  `c_folder_type` varchar(255) NOT NULL,
  PRIMARY KEY  (`c_path`),
  UNIQUE KEY `c_folder_id` (`c_folder_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

CREATE TABLE IF NOT EXISTS `sogo_user_profile` (
  `c_uid` varchar(255) NOT NULL,
  `c_defaults` text,
  `c_settings` text,
  PRIMARY KEY  (`c_uid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



Quote
Database changed
mysql> show tables;
+-------------------------------+
| Tables_in_sogo                |
+-------------------------------+
| sogo_alarms_folder            |
| sogo_folder_info              |
| sogo_sessions_folder          |
| sogo_user_profile             |
| sogoadmin00121f23ab3          |
| sogoadmin00121f23ab3_acl      |
| sogoadmin00121f23ab3_quick    |
| sogoadmin0014182ad2a          |
| sogoadmin0014182ad2a_acl      |
| sogoadmin0014182ad2a_quick    |
| sogoadmin001580d10b4          |
| sogoadmin001580d10b4_acl      |
| sogoadmin001580d10b4_quick    |
| sogoadmin00216c81109          |
| sogoadmin00216c81109_acl      |
| sogoadmin00216c81109_quick    |
| sogoappuntam0011656a099       |
| sogoappuntam0011656a099_acl   |
| sogoappuntam0011656a099_quick |
| sogologuser0011ccf960a        |
| sogologuser0011ccf960a_acl    |
| sogologuser0011ccf960a_quick  |
| sogologuser00177474f07        |
| sogologuser00177474f07_acl    |
| sogologuser00177474f07_quick  |
| sogomonitorb00147ba61a9       |
| sogomonitorb00147ba61a9_acl   |
| sogomonitorb00147ba61a9_quick |
| sogomonitorc00120387c0f       |
| sogomonitorc00120387c0f_acl   |
| sogomonitorc00120387c0f_quick |
| sogomonitorq00113c2ed15       |
| sogomonitorq00113c2ed15_acl   |
| sogomonitorq00113c2ed15_quick |
| sogonicola001133b565d         |
| sogonicola001133b565d_acl     |
| sogonicola001133b565d_quick   |
| sogonicola0014e09eca1         |
| sogonicola0014e09eca1_acl     |
| sogonicola0014e09eca1_quick   |
| sogonicola0017560ffe2         |
| sogonicola0017560ffe2_acl     |
| sogonicola0017560ffe2_quick   |
+-------------------------------+
43 rows in set (0.00 sec)

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #14 on: May 08, 2014, 03:37:51 PM »
please try that version, i have added an architecture detection to allow a 64 bit directly without template modification mentioned in the wiki

http://mirror.de-labrusse.fr/Sme-Server/sogo/smeserver-sogo-1.1-1.el6.sme.noarch.rpm

Therefore you are welcome if you could try with a 64 bit
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #15 on: May 08, 2014, 03:43:13 PM »
In a working SOGo installation even if there is no explict instruction to create the table, the table exists:


Nicola

Funny nicola, you should take a clean VM to test that package, in the past often i have had problem between two tests with old VM. Now I use one VM by test.
In my vm that database doesn't exist before I create it.

See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #16 on: May 08, 2014, 03:57:03 PM »
Code: [Select]
  Installing : gnustep-make-2.6.2-1.el6.x86_64                                                                                                                                                               18/23
install-info: warning: no info dir entry in `/usr/share/info/gnustep-make.info'

i have had the warning also but you cannot do something the package comes from epel, i have not the hand on :)
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #17 on: May 08, 2014, 07:36:54 PM »
Ok this need to be tested for those who want to have sogo on sme9 (we are near to launch the rc1)

what i done

-added architecture detection
-adapted to sme9

It took me a day :)

Code: [Select]
    db yum_repositories set sogo repository \
     BaseURL http://inverse.ca/downloads/SOGo/RHEL6/\$basearch \
     EnableGroups yes \
     GPGCheck no \
     Name "Inverse SOGo Repository" \
     Visible yes \
     status disabled

     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

Code: [Select]
signal-event yum-modify
Code: [Select]
wget http://mirror.de-labrusse.fr/Sme-Server/sogo/smeserver-sogo-1.1-2.el6.sme.noarch.rpm
yum install smeserver-sogo-1.1-2.el6.sme.noarch.rpm --enablerepo=*
Code: [Select]
signal-event console-save
or
signal-event post-upgrade; signal-event reboot

Please test for both architecture
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #18 on: May 10, 2014, 09:03:36 AM »
Will try in next hours/days.
On the other hand I'm a bit confused about the "missing" table: I took a look in older releases of the contrib and it seems the sogo_mysql_create_database.sql script did not have instructions to create  sogo_sessions_folder table. Still suspecting some other "trick".


Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #19 on: May 10, 2014, 09:20:51 AM »
Will try in next hours/days.
On the other hand I'm a bit confused about the "missing" table: I took a look in older releases of the contrib and it seems the sogo_mysql_create_database.sql script did not have instructions to create  sogo_sessions_folder table. Still suspecting some other "trick".


Nicola

the Table issue was done by the %post section of the rpm (you can see it in the file.spec). If you prefer there was a %if condition which prevented the execution of the post installation script (creation of table for example). Therefore it was why we need at least two reconfigurations to create that table. For now i have not issues but you are welcome to find other bugs.

I have installed SOGO on my server, i have not your issue of two attachments, but of course it is sme9 and there is few contribs available.

« Last Edit: May 10, 2014, 09:23:11 AM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #20 on: May 12, 2014, 07:06:25 PM »
Just as a test I tried to install SOGo on Sme9beta 4, with necessary adaptations to repositories:

Nicola, you've posted in the wrong forum...

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #21 on: May 12, 2014, 08:10:29 PM »
May we try to start a specific Sme 9 Contribs section ?

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #22 on: May 12, 2014, 10:05:55 PM »
May we try to start a specific Sme 9 Contribs section ?

I think it would be better to just have a Contribs section, which doesn't care about the version.

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #23 on: May 12, 2014, 10:09:14 PM »
Ok

feel free to move in the Sme 8 Contribs section  :arrow: :arrow: :arrow:

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #24 on: May 12, 2014, 10:15:03 PM »
Ok

feel free to move in the Sme 8 Contribs section  :arrow: :arrow: :arrow:

Nicola

Please feel free to open a sme9 contribs section....sme9 is coming soon
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #25 on: May 13, 2014, 01:36:39 AM »
Please feel free to open a sme9 contribs section....sme9 is coming soon

Shouldn't you be doing that, Stephane, as part of your Docs team role? Poor nicola has no power to create a new section in the forum.

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #26 on: May 13, 2014, 07:27:54 AM »
I think it would be better to just have a Contribs section, which doesn't care about the version.

Sounds good. I don't have admin rights so cannot make it happen.
............

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #27 on: May 13, 2014, 07:40:01 AM »
same here, i have not adequate permissions, i will raise a bug to do so
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #28 on: May 13, 2014, 10:12:39 PM »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #29 on: May 23, 2014, 08:58:23 PM »
Is it possible to add activesync into this contrib?

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #30 on: May 23, 2014, 09:11:32 PM »
But from a testing point of view went perfect, 64 bit sme 9 as virtualbox guest.

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #31 on: May 24, 2014, 10:34:26 AM »
Nothing has changed respect to http://forums.contribs.org/index.php/topic,50683.msg255629.html#msg255629
The contrib as many (all) contribs does not add any feature to the original application but represent a set of customization/configuration settings to be integrated in template system of config.
So SOGo features are those coming from Inverse and any improvement to SOGo must be expected from Inverse itself.
The activesync module is a new feature (february 2014) of SOGo still on developement, with many limitations at the present time, as you noticed and experienced in the above post.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Sme9 beta 4 + Sogo - A first attempt
« Reply #32 on: May 24, 2014, 08:53:22 PM »
Is it possible to add activesync into this contrib?

The best place to ask is via the bug tracker.