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: 
<SOGo[0x0x55931b929b50]: name=SOGo>
    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: 
<SOGo[0x0x55931b929b50]: name=SOGo>
    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: 
<SOGo[0x0x55931b929b50]: name=SOGo>
    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]:  connection=0x0x55931be206e0>
    2020-05-22 15:09:21.992 sogod[17195:17195] PostgreSQL72 channel 0x0x55931bd4a7b0 
opened (connection=<0x0x55931be5ab90[PGConnection]:  
connection=0x0x55931be206e0>)
    2020-05-22 15:09:21.992 sogod[17195:17195] PG0x0x55931bd4a7b0 SQL: BEGIN 
TRANSACTION
    2020-05-22 15:09:21.993 sogod[17195:17195] PG0x0x55931bd4a7b0 SQL: SELECT 
t1.c_creationdate, t1.c_id, t1.c_lastseen, t1.c_value FROM  
sogo_sessions_folder t1 WHERE t1.c_id='Un4T8L+t8OIfLPEWPQG3lQ=='
    2020-05-22 15:09:21.994 sogod[17195:17195] PG0x0x55931bd4a7b0 SQL: ROLLBACK 
TRANSACTION
    2020-05-22 15:09:21.995 sogod[17195:17195] PG0x0x55931bdaaa40 SQL: BEGIN 
TRANSACTION
    2020-05-22 15:09:21.995 sogod[17195:17195] PG0x0x55931bdaaa40 SQL: INSERT 
INTO sogo_sessions_folder (c_lastseen, c_creationdate, c_value, c_id) VALUES 
(1590152961, 1590152961, 
'qJ9Q3EZ4J7k0+WEhulp3nti293Ayg2eTKNMryFI8Ni+er1+1cNbYzE/7l7M3th4PzbEhdypkzdOH3IxdM4IQV4GBPZsSiD9nzeWCfDGZ3DVKvr03ExlBSM2WmCmV1x0e1urB9HKBBn6CQqhpNWFfJ5WStNf/xOybts54Co6NRZ2nWo2H4lgdKTQggQ8GeQripOY1N/FtolvXO+rrcfT/3w==',
 'Un4T8L+t8OIfLPEWPQG3lQ==')
    2020-05-22 15:09:21.996 sogod[17195:17195] PG0x0x55931bdaaa40 SQL: COMMIT 
TRANSACTION
    2020-05-22 15:09:22.012 sogod[17195:17195] PG0x0x55931bd4a7b0 SQL: SELECT 
c_settings FROM sogo_user_profile WHERE c_uid = 'mi'
    May 22 15:09:22 sogod [17195]: |SOGo| request took 0.054120 seconds to 
execute
    May 22 15:09:22 sogod [17195]: 85.0.245.86 "POST /SOGo/connect HTTP/1.1" 
200 44/55 0.056 - - 0
    May 22 15:09:23 sogod [17195]: |SOGo| starting method 'GET' on uri 
'/SOGo/mi'
    May 22 15:09:23 sogod [17195]: |SOGo| traverse(acquire): SOGo => mi
    May 22 15:09:23 sogod [17195]: |SOGo|   do traverse name: 'SOGo'
    May 22 15:09:23 sogod [17195]: |SOGo|   do traverse name: 'mi'
    May 22 15:09:23 sogod [17195]: |SOGo|   traverse miss: name=mi, acquire: 
i=1,count=2
    May 22 15:09:23 sogod [17195]: |SOGo|     miss is last object.
    May 22 15:09:23 sogod [17195]: |SOGo|     handle miss error: 
<SoAuthRequiredException: 0x55931be81600> NAME:SoAuthRequired 
REASON:authentication required
    May 22 15:09:23 sogod [17195]: |SOGo| request took 0.021229 seconds to 
execute
    May 22 15:09:23 sogod [17195]: 85.0.245.86 "GET /SOGo/mi HTTP/1.1" 200 
27155/0 0.022 - - 0


--
users@sogo.nu
https://inverse.ca/sogo/lists
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to