Roundcube Community Forum

 

Can't send or forward mail

Started by Catoman, April 10, 2025, 11:18:56 AM

Previous topic - Next topic

Catoman

Hi,

I upgraded from 1.6.7 to 1.6.10 a while ago and discovered today that i can't send or forward
mail anymore via Roundcube webmail. When i click the "Send" button nothing happens.
I usually use Thunderbird for mail so that's why i noticed just now.

My webmail runs in a Debian 12 KVM host and so do my Postfix mailserver. Port 25, 143 and 587 are open from webmail to mailserver.
I can't see anything in the Apache logs and there is nothing in the mailserver log either.
My Letsencrypt cert is valid on both servers.

New mails that arrive show up in Roundcude GUI and i can read them without any problem

Any clues how to fix this ?
How do i get Roundcube to log more ?

BR
  Johan

SKaero

Check your browser JS console. If you have any plugins enabled try disabling them and see if that makes a deference.

Catoman

I have tested on two different computers.
Ubuntu - Chrome and Firefox and Windows - Chrome and Edge.
Same result. Nothing happens when i press "Send"

SKaero

There should be something in the browser JavaScript console. You can see the JavaScript console in Chrome by clicking the three dots next to the URL bar and then go to More Tools -> Developer Tools.

Catoman

Got this :

jquery.min.js?s=1743508388:36 Uncaught ReferenceError: tinymce is not defined
    at new rcube_text_editor (editor.min.js?s=1739004470:31:1397)
    at rcube_webmail.editor_init (app.min.js?s=1739004470:35:148992)
    at rcube_webmail.init (app.min.js?s=1739004470:35:7264)
    at HTMLDocument.<anonymous> (?_task=mail&_action=...67f7f77b518bb:532:8)
    at e (jquery.min.js?s=1743508388:36:30005)
    at t (jquery.min.js?s=1743508388:36:30307)
rcube_text_editor    @    editor.min.js?s=1739004470:31
editor_init    @    app.min.js?s=1739004470:35
init    @    app.min.js?s=1739004470:35
(anonymous)    @    ?_task=mail&_action=...6867f7f77b518bb:532
e    @    jquery.min.js?s=1743508388:36
t    @    jquery.min.js?s=1743508388:36
setTimeout       
(anonymous)    @    jquery.min.js?s=1743508388:36
c    @    jquery.min.js?s=1743508388:36
fireWith    @    jquery.min.js?s=1743508388:36
fire    @    jquery.min.js?s=1743508388:36
c    @    jquery.min.js?s=1743508388:36
fireWith    @    jquery.min.js?s=1743508388:36
ready    @    jquery.min.js?s=1743508388:36
B    @    jquery.min.js?s=1743508388:36

4
app.min.js?s=1739004470:35 Uncaught TypeError: Cannot read properties of undefined (reading 'get_content')
    at rcube_webmail.check_compose_input (app.min.js?s=1739004470:35:84089)
    at rcube_webmail.command_handler (app.min.js?s=1739004470:35:24162)
    at rcube_webmail.command (app.min.js?s=1739004470:35:16752)
    at HTMLButtonElement.onclick (?_task=mail&_action=...f7f77b518bb:451:202)
check_compose_input    @    app.min.js?s=1739004470:35
command_handler    @    app.min.js?s=1739004470:35
command    @    app.min.js?s=1739004470:35
onclick    @    ?_task=mail&_action=...6867f7f77b518bb:451

Catoman

# ls -la /var/www/roundcube-1.6.7/program/js
total 904
drwxr-xr-x 3 johan johan   4096 May 19  2024 .
drwxr-xr-x 8 johan johan   4096 May 19  2024 ..
-rw-r--r-- 1 johan johan 320200 May 19  2024 app.js
-rw-r--r-- 1 johan johan 171657 May 19  2024 app.min.js
-rw-r--r-- 1 johan johan  22912 May 19  2024 common.js
-rw-r--r-- 1 johan johan  12757 May 19  2024 common.min.js
-rw-r--r-- 1 johan johan  28101 May 19  2024 editor.js
-rw-r--r-- 1 johan johan  14759 May 19  2024 editor.min.js
-rw-r--r-- 1 johan johan  28704 May 19  2024 googiespell.js
-rw-r--r-- 1 johan johan  17844 May 19  2024 googiespell.min.js
-rw-r--r-- 1 johan johan  90926 May 19  2024 jquery.min.js
-rw-r--r-- 1 johan johan  13835 May 19  2024 jstz.min.js
-rw-r--r-- 1 johan johan  50228 May 19  2024 list.js
-rw-r--r-- 1 johan johan  28677 May 19  2024 list.min.js
-rw-r--r-- 1 johan johan  20229 May 19  2024 publickey.js
-rw-r--r-- 1 johan johan   5929 May 19  2024 publickey.min.js
drwxr-xr-x 7 johan johan   4096 May 19  2024 tinymce
-rw-r--r-- 1 johan johan  33795 May 19  2024 treelist.js
-rw-r--r-- 1 johan johan  14125 May 19  2024 treelist.min.js

This is the 1.6.10 installation. No tinymce folder  :p

ls -la /var/www/roundcube/program/js
total 892
drwxr-xr-x 2 johan johan   4096 Apr  1 13:53 .
drwxr-xr-x 8 johan johan   4096 Feb  8 09:47 ..
-rw-r--r-- 1 johan johan 320443 Feb  8 09:47 app.js
-rw-r--r-- 1 johan johan 171633 Feb  8 09:47 app.min.js
-rw-r--r-- 1 johan johan  22914 Feb  8 09:47 common.js
-rw-r--r-- 1 johan johan  12745 Feb  8 09:47 common.min.js
-rw-r--r-- 1 johan johan  28101 Feb  8 09:47 editor.js
-rw-r--r-- 1 johan johan  14759 Feb  8 09:47 editor.min.js
-rw-r--r-- 1 johan johan  28704 Feb  8 09:47 googiespell.js
-rw-r--r-- 1 johan johan  17844 Feb  8 09:47 googiespell.min.js
-rw-r--r-- 1 root  root   90926 Apr  1 13:53 jquery.min.js
-rw-r--r-- 1 root  root   13835 Apr  1 13:53 jstz.min.js
-rw-r--r-- 1 johan johan  50228 Feb  8 09:47 list.js
-rw-r--r-- 1 johan johan  28678 Feb  8 09:47 list.min.js
-rw-r--r-- 1 root  root   20229 Apr  1 13:53 publickey.js
-rw-r--r-- 1 johan johan  33795 Feb  8 09:47 treelist.js
-rw-r--r-- 1 johan johan  14105 Feb  8 09:47 treelist.min.js

Catoman

Problem solved (as it seems at least)

I copied the tinymce folder from the 1.6.7 installation to 1.6.10 and now
it works to send and forward mail again.

SKaero

It sounds like when you upgraded you used the Dependent package instead of the Complete package. You're likely missing other dependencies, see how to install them here: https://github.com/roundcube/roundcubemail/wiki/Installation#install-dependencies

Catoman

That is definitely possible. Unfortunately i have deleted the software package i downloaded so i can't confirm (or deny)