[GH-ISSUE #1081] Some things wrong after update to 1.7.2 #901

Closed
opened 2026-02-27 11:14:10 +03:00 by kerem · 5 comments
Owner

Originally created by @mkkeck on GitHub (Mar 18, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1081

Impacted versions

  • Modoboa: 1.7.2
  • installer used: Yes
  • Webserver: Apache (PHP-FPM, mod_wsgi, mod_security)
  • OS: Centos 7.3

Steps to reproduce

Update from version 1.7.1 to 1.7.2 (see docs)

Current behavior

  • After login dashboard throws error
  • Loading any page is some times very slow (timeout)
  • Uploading images via CKEditor does not work (can't select uploaded image)
    • how should this configured?
  • Spellchecker is not available
    • how should this configured?
  • I've attached my debugging log: modoboa-debug.md.txt
Originally created by @mkkeck on GitHub (Mar 18, 2017). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1081 # Impacted versions * Modoboa: 1.7.2 * installer used: Yes * Webserver: Apache (PHP-FPM, mod_wsgi, mod_security) * OS: Centos 7.3 # Steps to reproduce Update from version 1.7.1 to 1.7.2 (see [docs](http://modoboa.readthedocs.io/en/1.7.2/upgrade.html)) # Current behavior * After login dashboard throws error * Loading any page is some times very slow (timeout) * Uploading images via CKEditor does not work (can't select uploaded image) - how should this configured? * Spellchecker is not available - how should this configured? * I've attached my debugging log: [modoboa-debug.md.txt](https://github.com/modoboa/modoboa/files/852345/modoboa-debug.md.txt)
kerem closed this issue 2026-02-27 11:14:10 +03:00
Author
Owner

@tonioo commented on GitHub (Mar 20, 2017):

@mkkeck About the trace you sent, can you check which version of requests is installed on your virtualenv please?

<!-- gh-comment-id:287698802 --> @tonioo commented on GitHub (Mar 20, 2017): @mkkeck About the trace you sent, can you check which version of ``requests`` is installed on your virtualenv please?
Author
Owner

@mkkeck commented on GitHub (Mar 20, 2017):

I've typed in my shell:

[user@host ~] sudo -u <modoboa-user> -i
-bash-4.2$ source env/bin/activate
(env)-bash-4.2$ python

Python 2.7.5 (default, Nov 6 2016, 00:28:07)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import requests
requests.__version__

'2.12.4'

<!-- gh-comment-id:287727009 --> @mkkeck commented on GitHub (Mar 20, 2017): I've typed in my shell: ```bash [user@host ~] sudo -u <modoboa-user> -i -bash-4.2$ source env/bin/activate (env)-bash-4.2$ python ``` > Python 2.7.5 (default, Nov 6 2016, 00:28:07) > [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. ```python import requests requests.__version__ ``` > **'2.12.4'** >>>
Author
Owner

@mkkeck commented on GitHub (Mar 20, 2017):

Now it works:

(env)-bash-4.2$ pip install --upgrade requests
Collecting requests
  Downloading requests-2.13.0-py2.py3-none-any.whl (584kB)
Installing collected packages: requests
  Found existing installation: requests 2.12.4
    Uninstalling requests-2.12.4:
      Successfully uninstalled requests-2.12.4
Successfully installed requests-2.13.0
systemctl restart httpd.service

Login ...
... and the Dashboard is available
Upload to the server works via CKEditor too. But how can I configure the spellchecker?

<!-- gh-comment-id:287734694 --> @mkkeck commented on GitHub (Mar 20, 2017): Now it works: ```shell (env)-bash-4.2$ pip install --upgrade requests ``` > ``` > Collecting requests > Downloading requests-2.13.0-py2.py3-none-any.whl (584kB) > Installing collected packages: requests > Found existing installation: requests 2.12.4 > Uninstalling requests-2.12.4: > Successfully uninstalled requests-2.12.4 > Successfully installed requests-2.13.0 > ``` ```shell systemctl restart httpd.service ``` Login ... ... and the Dashboard is available Upload to the server works via CKEditor too. But how can I configure the spellchecker?
Author
Owner

@tonioo commented on GitHub (Mar 20, 2017):

Two possibilities:

  • Enable CKeditor SCAYT plugin: add 'Scayt' to CKEDITOR_CONFIGS inside settings.py (just after SpellChecking)
  • Enable browser native support: add 'disableNativeSpellChecker': False to CKEDITOR_CONFIGS inside settings.py
<!-- gh-comment-id:287816613 --> @tonioo commented on GitHub (Mar 20, 2017): Two possibilities: * Enable CKeditor [SCAYT](http://ckeditor.com/addon/scayt) plugin: add `'Scayt'` to `CKEDITOR_CONFIGS` inside settings.py (just after `SpellChecking`) * Enable browser native support: add `'disableNativeSpellChecker': False` to `CKEDITOR_CONFIGS` inside settings.py
Author
Owner

@mkkeck commented on GitHub (Mar 20, 2017):

@tonioo:

Many thanks 👍 it works! (I prefer the native spell checker instead of Scayt)
So I close this Issue ...

<!-- gh-comment-id:287845276 --> @mkkeck commented on GitHub (Mar 20, 2017): **@tonioo:** Many thanks :+1: it works! (I prefer the `native spell checker` instead of `Scayt`) So I close this Issue ...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#901
No description provided.