View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005902 | SOGo | Backend General | public | 2023-11-22 14:45 | 2023-11-30 19:47 |
Reporter | bcnx | Assigned To | sebastien | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | [Server] Linux | OS | Ubuntu | OS Version | 16.04 LTS |
Product Version | 5.8.0 | ||||
Fixed in Version | 5.9.1 | ||||
Summary | 0005902: 501 error after a short while | ||||
Description | Hi, I installed SOGo by means of the packages in Debian 12. I used MariaDB (MySQL) as the backend. After a while I get an 501 error and this in the log file: 2023-11-18 14:34:47.939 sogod[325593:325593] EXCEPTION: <NSException: 0x559f0f4b24a0> NAME:NSInvalidArgumentException REASON:NSDataMalloc(instance) does not recognize isJSONString INFO:(null) This is temporarily fixed by deleting the user row in sogo_user_profile. Why is this happening and how can I fix it? | ||||
Steps To Reproduce | Logging in, clicking on some mails and then receiving a 501 error. Removing the user row in sogo_user_profile, reload web UI and getting 501 again after a while. | ||||
Tags | No tags attached. | ||||
Hello, Could you follow the guideline here to use gdb and give us the backtrace -> https://www.sogo.nu/support/faq/how-do-i-debug-sogo.html |
|
I adapted the instructions for Debian Bookworm, but this command fails: apt-get install libgnustep-base-dbg sogo-dbg sope4.9-dbg gdb sogo-dbg is not available, neither are the other packages, except gdb, thanks, BC |
|
Sorry I didn't see you use debian package instead of sogo one. I strongly suggest you to do so by adding this file in your source:
After that, see if the bug's still here. If yes, you will find sogo-dbg in our repo |
|
done, but the repository does not seem to be correctly signed: W: GPG error: https://packages.sogo.nu/nightly/5/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F8A27B36A6E2EAE9 |
|
Yes sorry, there are all commands needed here https://www.sogo.nu/download.html |
|
Hi, I added they key with your command, but "apt update" still produces the same error: W: GPG error: https://packages.sogo.nu/nightly/5/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F8A27B36A6E2EAE9 |
|
I've just tried it on a fresh debian bookworm vm quentin@quentin:~$ sudo tee /etc/apt/sources.list.d/SOGo.list <<EOF deb https://packages.sogo.nu/nightly/5/debian/ bookworm bookworm quentin@quentin:~$ sudo apt update Hit:1 http://security.debian.org/debian-security bookworm-security InRelease quentin@quentin:~$ sudo wget -O- 'https://keys.openpgp.org/vks/v1/by-fingerprint/74FFC6D72B925A34B5D356BDF8A27B36A6E2EAE9' | sudo gpg --dearmor | sudo apt-key add - Redirecting output to ‘wget-log’. quentin@quentin:~$ sudo apt update Hit:1 http://security.debian.org/debian-security bookworm-security InRelease quentin@quentin:~$ sudo apt install sogo Reading package lists... Done |
|
Hi, cheers. I added "deb https://packages.sogo.nu/nightly/5/debian/ bookworm bookworm" manually to sources.list before. Now I used your "tee" command which put the repo in the sources.list.d subdir and now I can upgrade to the latest Sogo version. I do get errors however, but that's because of conflicts I think: dpkg: error processing archive /tmp/apt-dpkg-install-m4ZcqS/40-libsope-xml4.9_4.9.r1664.20231124_amd64.deb (--unpack): So I will uninstall those packages first now, BC |
|
OK, I installed everything succesfully now. Should I run the /usr/share/doc/sogo/sql-update-5.8.4_to_5.9.0.sh script now first? I was on 5.8.0 before upgrading ... Cheers, BC |
|
Hi, so for the meantime I did a test and I could not login (Unhandled error response). This pops up in my sogo.log: Nov 24 16:03:15 sogod [504130]: SOGoRootPage successful login from '81.82.219.243' for user 'info' - expire = -1 grace = -1 BC |
|
Well now you can do two things:
For your error I assume sogo try to read something from database that is supposed to be a json but isn't. |
|
I added the debug stuff and now I have in the log file: Nov 24 17:50:57 sogod [506429]: 81.82.219.243 "GET /SOGo/login?language=English HTTP/1.1" 200 9382/0 0.023 38104 75% 432K - 12 |
|
I deleted the SQL row for this user again and now things seem to work. I will test for a while and come back with feedback. Thanks! BC |
|
Searching mails produces a "Request failed" popup and does not seem to work. I cannot see anything in the log file related to that. Cheers, BC |
|
For the searches the Apache log does produce a 501 error, so there is still something wrong there ... BC |
|
I have a 501 error again on the main page. log file: 2023-11-24 20:23:09.796 sogod[506429:506429] <MySQL4Channel[0x0x55cf1479c5c0] connection=0x0x55cf14a426c0> SQL: SELECT c_defaults FROM sogo_user_profile WHERE c_uid = 'info'; |
|
Hi, This is linked to table's collation :
Sebastien |
|
Hi, thanks for reopening the issue. Thanks, BC |
|
Hello, |
|
OK, I was able to do an upgrade with "apt upgrade", restarted sogo and now the 501 errors seem to be gone. Thanks for the assistance! BC |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-11-22 14:45 | bcnx | New Issue | |
2023-11-22 15:08 | qhivert | Note Added: 0017452 | |
2023-11-22 19:27 | bcnx | Note Added: 0017453 | |
2023-11-23 08:05 | qhivert | Note Added: 0017454 | |
2023-11-23 08:06 | qhivert | Note Edited: 0017454 | |
2023-11-23 08:06 | qhivert | Note View State: 0017454: public | |
2023-11-23 08:06 | qhivert | Assigned To | => qhivert |
2023-11-23 08:06 | qhivert | Status | new => feedback |
2023-11-23 09:28 | qhivert | Note Edited: 0017454 | |
2023-11-23 09:29 | qhivert | Note Edited: 0017454 | |
2023-11-23 18:06 | bcnx | Note Added: 0017456 | |
2023-11-23 18:06 | bcnx | Status | feedback => assigned |
2023-11-24 07:45 | qhivert | Note Added: 0017457 | |
2023-11-24 07:45 | qhivert | Note Edited: 0017457 | |
2023-11-24 07:45 | qhivert | Note Edited: 0017457 | |
2023-11-24 07:46 | qhivert | Note Edited: 0017457 | |
2023-11-24 07:46 | qhivert | Note View State: 0017457: public | |
2023-11-24 07:46 | qhivert | Status | assigned => feedback |
2023-11-24 14:06 | bcnx | Note Added: 0017458 | |
2023-11-24 14:06 | bcnx | Status | feedback => assigned |
2023-11-24 14:26 | qhivert | Note Added: 0017459 | |
2023-11-24 14:27 | qhivert | Note Edited: 0017459 | |
2023-11-24 14:27 | qhivert | Note Edited: 0017459 | |
2023-11-24 14:28 | qhivert | Note Edited: 0017459 | |
2023-11-24 14:28 | qhivert | Note Edited: 0017459 | |
2023-11-24 14:31 | qhivert | Note Edited: 0017459 | |
2023-11-24 14:32 | qhivert | Note Edited: 0017459 | |
2023-11-24 14:36 | qhivert | Note Edited: 0017459 | |
2023-11-24 14:36 | qhivert | Note View State: 0017459: public | |
2023-11-24 14:37 | qhivert | Status | assigned => feedback |
2023-11-24 14:51 | bcnx | Note Added: 0017460 | |
2023-11-24 14:51 | bcnx | Status | feedback => assigned |
2023-11-24 15:01 | bcnx | Note Added: 0017461 | |
2023-11-24 15:05 | bcnx | Note Added: 0017462 | |
2023-11-24 15:15 | qhivert | Note Added: 0017463 | |
2023-11-24 15:16 | qhivert | Note Edited: 0017463 | |
2023-11-24 15:16 | qhivert | Note View State: 0017463: public | |
2023-11-24 15:16 | qhivert | Status | assigned => feedback |
2023-11-24 16:53 | bcnx | Note Added: 0017464 | |
2023-11-24 16:53 | bcnx | Status | feedback => assigned |
2023-11-24 16:58 | bcnx | Note Added: 0017465 | |
2023-11-24 17:05 | bcnx | Note Added: 0017466 | |
2023-11-24 18:16 | bcnx | Note Added: 0017467 | |
2023-11-24 19:24 | bcnx | Note Added: 0017468 | |
2023-11-27 15:00 | sebastien | Note Added: 0017470 | |
2023-11-27 15:00 | sebastien | Assigned To | qhivert => sebastien |
2023-11-27 15:00 | sebastien | Status | assigned => resolved |
2023-11-27 15:00 | sebastien | Resolution | open => fixed |
2023-11-27 15:00 | sebastien | Fixed in Version | => 5.9.1 |
2023-11-30 16:29 | qhivert | Status | resolved => new |
2023-11-30 16:29 | qhivert | Resolution | fixed => reopened |
2023-11-30 16:32 | bcnx | Note Added: 0017474 | |
2023-11-30 16:34 | qhivert | Note Added: 0017475 | |
2023-11-30 16:34 | qhivert | Status | new => feedback |
2023-11-30 17:15 | bcnx | Note Added: 0017476 | |
2023-11-30 17:15 | bcnx | Status | feedback => assigned |
2023-11-30 19:47 | sebastien | Status | assigned => resolved |
2023-11-30 19:47 | sebastien | Resolution | reopened => fixed |