[SOGo] SOGo On Centos 8
Hello Guys , is there is any estimated time for SOGo on Centos 8 -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Login successful, but immediate return to login page
Thanks for the suggestion. But no, it makes no difference. As mentioned in my other message, using https instead of http does solve this problem. And anyone using sogo should certainly do it over https anyway. Still, it would be nice if sogo would detect this problem and show a clear error. Thank you anyway, MI Original Message (mj (li...@merit.unu.edu), 2020-05-23 10:51) Hi, With us, the page after login is: http://my.site/SOGo/so/my_username Seems you're missing /so/ Does it work better when adding that manually? MJ On 5/22/20 4:32 PM, MI (mi.li...@alma.ch) wrote: Hi, I'm new to Sogo, so sorry if I just missed something obvious. After setting up Sogo, I can login at http://my.site/SOGo/ and I briefly see the "Welcome ..." screen. Then it is immediately replaced by the same logon page, but with http://my.site/SOGo/my_username as the URL. I'm using the Debian sogo v. 4.0.7 package with Debian 10.3 (buster), and a PostgreSQL (v. 11) db. Below are my sogo.conf and sogo.log files. Thanks for any help, MI This is my sogo.conf file : # cat /etc/sogo/sogo.conf { SOGoProfileURL ="postgresql://sogo:sogo@127.0.0.1:5433/sogo/sogo_user_profile"; OCSFolderInfoURL ="postgresql://sogo:sogo@127.0.0.1:5433/sogo/sogo_folder_info"; OCSSessionsFolderURL ="postgresql://sogo:sogo@127.0.0.1:5433/sogo/sogo_sessions_folder"; OCSEMailAlarmsFolderURL ="postgresql://sogo:sogo@127.0.0.1:5433/sogo/sogo_alarms_folder"; SOGoLanguage = English; SOGoAppointmentSendEMailNotifications = YES; SOGoMailingMechanism = smtp; SOGoSMTPServer = 127.0.0.1; SOGoTimeZone = Europe/Zurich; SOGoSentFolderName = Sent; SOGoTrashFolderName = Trash; SOGoDraftsFolderName = Drafts; SOGoIMAPServer = "imaps://localhost:143/?tls=YES"; SOGoSieveServer = "sieve://localhost:4190/?tls=YES"; SOGoIMAPAclConformsToIMAPExt = YES; SOGoVacationEnabled = NO; SOGoForwardEnabled = NO; SOGoSieveScriptsEnabled = NO; SOGoFirstDayOfWeek = 1; SOGoMailMessageCheck = manually; SOGoMailAuxiliaryUserAccountsEnabled = NO; SOGoMemcachedHost = 127.0.0.1; SOGoUserSources = ( { type = sql; id = directory; viewURL ="postgresql://sogo:sogo@127.0.0.1:5433/sogo/sogo_users"; canAuthenticate = YES; isAddressBook = YES; userPasswordAlgorithm = md5; } ); GCSFolderDebugEnabled = YES; GCSFolderStoreDebugEnabled = YES; ImapDebugEnabled = YES; LDAPDebugEnabled = YES; OCSFolderManagerSQLDebugEnabled = YES; PGDebugEnabled = YES; SoDebugBaseURL = YES; SoDebugObjectTraversal = YES; SOGoDebugRequests = YES; SOGoUIxDebugEnabled = YES; SoSecurityManagerDebugEnabled = YES; WODontZipResponse = YES; WOLogFile = /var/log/sogo/sogo.log; } And this is the sogo.log : May 22 15:09:03 sogod [17195]: |SOGo| starting method 'GET' on uri '/SOGo' May 22 15:09:03 sogod [17195]: |SOGo| traverse(acquire): SOGo May 22 15:09:03 sogod [17195]: |SOGo| do traverse name: 'SOGo' May 22 15:09:03 sogod [17195]: |SOGo| set clientObject: May 22 15:09:03 sogod [17195]: |SOGo| request took 0.006445 seconds to execute May 22 15:09:03 sogod [17195]: 85.0.245.86 "GET /SOGo HTTP/1.1" 302 0/0 0.008 - - 0 May 22 15:09:03 sogod [17195]: |SOGo| starting method 'GET' on uri '/SOGo/' May 22 15:09:03 sogod [17195]: |SOGo| traverse(acquire): SOGo May 22 15:09:03 sogod [17195]: |SOGo| do traverse name: 'SOGo' May 22 15:09:03 sogod [17195]: |SOGo| set clientObject: May 22 15:09:03 sogod [17195]: |SOGo| constructed root-url: /SOGo/ May 22 15:09:03 sogod [17195]: |SOGo| setting root-url in context: /SOGo/ May 22 15:09:03 sogod [17195]: |SOGo| ROOT baseURL(no container, name=(null)): own: /SOGo/ May 22 15:09:03 sogod [17195]: |SOGo| request took 0.020625 seconds to execute May 22 15:09:03 sogod [17195]: 85.0.245.86 "GET /SOGo/ HTTP/1.1" 200 27149/0 0.022 - - 0 May 22 15:09:21 sogod [17195]: |SOGo| starting method 'POST' on uri '/SOGo/connect' May 22 15:09:21 sogod [17195]: |SOGo| traverse(acquire): SOGo => connect May 22 15:09:21 sogod [17195]: |SOGo| do traverse name: 'SOGo' May 22 15:09:21 sogod [17195]: |SOGo| do traverse name: 'connect' May 22 15:09:21 sogod [17195]: |SOGo| set clientObject: 2020-05-22 15:09:21.974 sogod[17195:17195] PostgreSQL72 connection established: <0x0x55931bdbcee0[PGConnection]: connection=0x0x55931be56720> 2020-05-22 15:09:21.974 sogod[17195:17195] PostgreSQL72 channel 0x0x55931bdaaa40 opened (connection=<0x0x55931bdbcee0[PGConnection]: connection=0x0x55931be56720>) 2020-05-22 15:09:21.974 sogod[17195:17195] PG0x0x55931bdaaa40 SQL: SELECT c_password FROM sogo_users WHERE
Re: [SOGo] Login successful, but immediate return to login page
Hi, With us, the page after login is: http://my.site/SOGo/so/my_username Seems you're missing /so/ Does it work better when adding that manually? MJ On 5/22/20 4:32 PM, MI (mi.li...@alma.ch) wrote: Hi, I'm new to Sogo, so sorry if I just missed something obvious. After setting up Sogo, I can login at http://my.site/SOGo/ and I briefly see the "Welcome ..." screen. Then it is immediately replaced by the same logon page, but with http://my.site/SOGo/my_username as the URL. I'm using the Debian sogo v. 4.0.7 package with Debian 10.3 (buster), and a PostgreSQL (v. 11) db. Below are my sogo.conf and sogo.log files. Thanks for any help, MI This is my sogo.conf file : # cat /etc/sogo/sogo.conf { SOGoProfileURL ="postgresql://sogo:sogo@127.0.0.1:5433/sogo/sogo_user_profile"; OCSFolderInfoURL ="postgresql://sogo:sogo@127.0.0.1:5433/sogo/sogo_folder_info"; OCSSessionsFolderURL ="postgresql://sogo:sogo@127.0.0.1:5433/sogo/sogo_sessions_folder"; OCSEMailAlarmsFolderURL ="postgresql://sogo:sogo@127.0.0.1:5433/sogo/sogo_alarms_folder"; SOGoLanguage = English; SOGoAppointmentSendEMailNotifications = YES; SOGoMailingMechanism = smtp; SOGoSMTPServer = 127.0.0.1; SOGoTimeZone = Europe/Zurich; SOGoSentFolderName = Sent; SOGoTrashFolderName = Trash; SOGoDraftsFolderName = Drafts; SOGoIMAPServer = "imaps://localhost:143/?tls=YES"; SOGoSieveServer = "sieve://localhost:4190/?tls=YES"; SOGoIMAPAclConformsToIMAPExt = YES; SOGoVacationEnabled = NO; SOGoForwardEnabled = NO; SOGoSieveScriptsEnabled = NO; SOGoFirstDayOfWeek = 1; SOGoMailMessageCheck = manually; SOGoMailAuxiliaryUserAccountsEnabled = NO; SOGoMemcachedHost = 127.0.0.1; SOGoUserSources = ( { type = sql; id = directory; viewURL ="postgresql://sogo:sogo@127.0.0.1:5433/sogo/sogo_users"; canAuthenticate = YES; isAddressBook = YES; userPasswordAlgorithm = md5; } ); GCSFolderDebugEnabled = YES; GCSFolderStoreDebugEnabled = YES; ImapDebugEnabled = YES; LDAPDebugEnabled = YES; OCSFolderManagerSQLDebugEnabled = YES; PGDebugEnabled = YES; SoDebugBaseURL = YES; SoDebugObjectTraversal = YES; SOGoDebugRequests = YES; SOGoUIxDebugEnabled = YES; SoSecurityManagerDebugEnabled = YES; WODontZipResponse = YES; WOLogFile = /var/log/sogo/sogo.log; } And this is the sogo.log : May 22 15:09:03 sogod [17195]: |SOGo| starting method 'GET' on uri '/SOGo' May 22 15:09:03 sogod [17195]: |SOGo| traverse(acquire): SOGo May 22 15:09:03 sogod [17195]: |SOGo| do traverse name: 'SOGo' May 22 15:09:03 sogod [17195]: |SOGo| set clientObject: May 22 15:09:03 sogod [17195]: |SOGo| request took 0.006445 seconds to execute May 22 15:09:03 sogod [17195]: 85.0.245.86 "GET /SOGo HTTP/1.1" 302 0/0 0.008 - - 0 May 22 15:09:03 sogod [17195]: |SOGo| starting method 'GET' on uri '/SOGo/' May 22 15:09:03 sogod [17195]: |SOGo| traverse(acquire): SOGo May 22 15:09:03 sogod [17195]: |SOGo| do traverse name: 'SOGo' May 22 15:09:03 sogod [17195]: |SOGo| set clientObject: May 22 15:09:03 sogod [17195]: |SOGo| constructed root-url: /SOGo/ May 22 15:09:03 sogod [17195]: |SOGo| setting root-url in context: /SOGo/ May 22 15:09:03 sogod [17195]: |SOGo| ROOT baseURL(no container, name=(null)): own: /SOGo/ May 22 15:09:03 sogod [17195]: |SOGo| request took 0.020625 seconds to execute May 22 15:09:03 sogod [17195]: 85.0.245.86 "GET /SOGo/ HTTP/1.1" 200 27149/0 0.022 - - 0 May 22 15:09:21 sogod [17195]: |SOGo| starting method 'POST' on uri '/SOGo/connect' May 22 15:09:21 sogod [17195]: |SOGo| traverse(acquire): SOGo => connect May 22 15:09:21 sogod [17195]: |SOGo| do traverse name: 'SOGo' May 22 15:09:21 sogod [17195]: |SOGo| do traverse name: 'connect' May 22 15:09:21 sogod [17195]: |SOGo| set clientObject: 2020-05-22 15:09:21.974 sogod[17195:17195] PostgreSQL72 connection established: <0x0x55931bdbcee0[PGConnection]: connection=0x0x55931be56720> 2020-05-22 15:09:21.974 sogod[17195:17195] PostgreSQL72 channel 0x0x55931bdaaa40 opened (connection=<0x0x55931bdbcee0[PGConnection]: connection=0x0x55931be56720>) 2020-05-22 15:09:21.974 sogod[17195:17195] PG0x0x55931bdaaa40 SQL: SELECT c_password FROM sogo_users WHERE c_uid = 'mi' May 22 15:09:21 sogod [17195]: SOGoRootPage successful login from '85.0.245.86' for user 'mi' - expire = -1 grace = -1 2020-05-22 15:09:21.977 sogod[17195:17195] PG0x0x55931bdaaa40 SQL: SELECT * FROM sogo_users WHERE (c_uid = 'mi') OR (mail = 'mi') 2020-05-22 15:09:21.992 sogod[17195:17195] PostgreSQL72 connection established: <0x0x55931be5ab90[PGConnection]: