Author Topic: Roundcube Internal server error  (Read 9016 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Roundcube Internal server error
« on: October 19, 2021, 09:44:50 AM »
Hi,

as of today the Roundcube is not working on multiple CWP servers.
Here is the error log from /usr/local/cwpsrv/var/services/roundcube/logs/errors.log

Code: [Select]
[19-Oct-2021 09:33:55 UTC] PHP Fatal error:  Uncaught Error: Class 'Spoofchecker' not found in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php:50
Stack trace:
#0 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/index.php(1400): rcube_spoofchecker::check('guest.domain.com')
#1 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/index.php(523): rcmail_action_mail_index::address_string('"Name Surname...', 3, false, NULL, NULL)
#2 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/list.php(123): rcmail_action_mail_index::js_message_list(Array, false, Array)
#3 /usr/local/cwpsrv/var/services/roundcube/program/include/rcmail.php(275): rcmail_action_mail_list->run(Array)
#4 /usr/local/cwpsrv/var/services/roundcube/index.php(283): rcmail->action_handler()
#5 {main}
  thrown in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php on line 50

It looks like that php intl extension is now required, but it's not included in cwpphp (ver 7.2.30)
Link: https://githubmemory.com/repo/roundcube/roundcubemail/issues/8127



Offline
*
Re: Roundcube Internal server error
« Reply #1 on: October 19, 2021, 10:14:05 AM »
Same issue here... starting today

Offline
*
Re: Roundcube Internal server error
« Reply #2 on: October 19, 2021, 11:16:24 AM »
I've just received the fix from the CWP team...

Basically it's a downgrade of RoundCube from 1.5 to 1.4.11

Just run the following...
Code: [Select]
/scripts/update_cwp
/scripts/mail_roundcube_update
« Last Edit: October 19, 2021, 11:20:15 AM by mihan »

Offline
*
Re: Roundcube Internal server error
« Reply #3 on: October 19, 2021, 11:39:43 AM »
Thank you very much for solving my problem for now.

Offline
*
Re: Roundcube Internal server error
« Reply #4 on: October 19, 2021, 12:19:42 PM »

I've just received the fix from the CWP team...

Basically it's a downgrade of RoundCube from 1.5 to 1.4.11

Just run the following...
Code: [Select]
/scripts/update_cwp
/scripts/mail_roundcube_update

I run update script, but now I have problem with contact photo size...

Offline
*
Re: Roundcube Internal server error
« Reply #5 on: October 19, 2021, 01:06:40 PM »

I've just received the fix from the CWP team...

Basically it's a downgrade of RoundCube from 1.5 to 1.4.11

Just run the following...
Code: [Select]
/scripts/update_cwp
/scripts/mail_roundcube_update

I run update script, but now I have problem with contact photo size...

I think that this is something you will have to ask/search on RoundCube forum(s).

Offline
*
Re: Roundcube Internal server error
« Reply #6 on: October 19, 2021, 02:23:17 PM »

I've just received the fix from the CWP team...

Basically it's a downgrade of RoundCube from 1.5 to 1.4.11

Just run the following...
Code: [Select]
/scripts/update_cwp
/scripts/mail_roundcube_update

I run update script, but now I have problem with contact photo size...



222 / 5000


This is an Elastic skin problem, I added the following line in

/usr/local/cwpsrv/var/services/roundcube/skins/elastic/styles/styles.min.css

.short-header {
display: none! important;
}

And I hid the default image.

Offline
*
Re: Roundcube Internal server error
« Reply #7 on: October 19, 2021, 04:28:01 PM »
I've just received the fix from the CWP team...

Basically it's a downgrade of RoundCube from 1.5 to 1.4.11

Just run the following...
Code: [Select]
/scripts/update_cwp
/scripts/mail_roundcube_update

I run update script, but now I have problem with contact photo size...

I think that this is something you will have to ask/search on RoundCube forum(s).

Okay, thanks. I just wrote that, the current cwp roundcube pack is not completly good in this: http://static.cdn-cwp.com/files/mail/roundcubemail-$url-complete.tar.gz

Offline
*
Re: Roundcube Internal server error
« Reply #8 on: October 19, 2021, 04:28:53 PM »
I've just received the fix from the CWP team...

Basically it's a downgrade of RoundCube from 1.5 to 1.4.11

Just run the following...
Code: [Select]
/scripts/update_cwp
/scripts/mail_roundcube_update

I run update script, but now I have problem with contact photo size...



222 / 5000


This is an Elastic skin problem, I added the following line in

/usr/local/cwpsrv/var/services/roundcube/skins/elastic/styles/styles.min.css

.short-header {
display: none! important;
}

And I hid the default image.

Thanks your solution.

Offline
***
Re: Roundcube Internal server error
« Reply #9 on: October 30, 2021, 12:39:11 AM »
I just logged into admin and tried to use roundcube.   Inbox resulted in internal server error.
Listen to everything Pixelpadre says.

Offline
***
Re: Roundcube Internal server error
« Reply #10 on: October 30, 2021, 11:43:39 AM »
I just logged into admin and tried to use roundcube.   Inbox resulted in internal server error.

Upgrade as mentioned above will rollback v1.5 to v1.4.11 and will fix it.
Listen to everything Pixelpadre says.

Offline
*
Re: Roundcube Internal server error
« Reply #11 on: May 22, 2022, 11:36:12 PM »
I have the same problem with elastic skin of the big pic occupying all the space available in the email panel, I tried to change the css files and nothing good happened, finally I simply changed the svg image size to 50x50px and that did the trick, for the moment at least

Uploading an image for the contact will show the image just as big as originally imported.

Many months passed by since people begun to notice these roundcube errors, seems that it is still the same, 1.4, big image, and probably other errors.

One that s not minor that I found out on my server is that using elastic skin when I reply or wrtie a new email, despite having settled the configuration to always use HTML, the editor's tools to format the text do not appear nowhere, also the emoticons do not appear (I enable the emoticons plugin).

I have no idea about how to solve this one...

Offline
*
Re: Roundcube Internal server error
« Reply #12 on: May 23, 2022, 03:33:26 AM »
The problem of the inbox not working is fast solved with the cwp and cwp roundcube update fix as suggested by CWP.

I have two servers with CWP, the older one had all of these problems with roundcube, the newer one not, comparing the two, for what is concerning the big contact photo and the absence of the HTML rich editor when composing emails I could find out what was fixed in the newer and replicate a similar environment in the older.

Very simply in the elastic skin folder the files that are listed here below do conflict(?) with others and the result is a botched GUI.

I have no idea of why and which file does what wrong, however renaming or deleting those files do the trick.

The files are:

dark.less
embed.min.css
print.min.css
styles.min.css

So far now seems all ok.
Ty