Recent posts
#81
Pending Issues / Re: Bad Gateway - Ubuntu 22.04
Last post by SKaero - November 22, 2025, 09:03:43 PMThat error would be the problem but it's a little hard to say what the problem is specifically. The part that jumps out at me is "upstream: "fastcgi://xxx.xxx.xxx.xxx:80" that should be the port that php-fpm is running on and that shouldn't be port 80. It makes it seem like its trying to connect to nginx instead of php-fpm. What does you php-fpm config look like?
#82
Pending Issues / Re: Bad Gateway - Ubuntu 22.04
Last post by CairoBlues - November 22, 2025, 02:50:55 PMHi, SKaero.
I just tried to load the webmail again, and the php-fpm log (/var/log/php-fpm/php-fpm.log) hasn't recorded anything new (latest entry is from an hour ago).
The nginx error log (/var/log/nginx/error.log) shows a new entry:
I'm not sure if the version of FastCGI protocol can be specified somewhere, of if server should be something other than _. Is this a useful log entry?
Thanks.
I just tried to load the webmail again, and the php-fpm log (/var/log/php-fpm/php-fpm.log) hasn't recorded anything new (latest entry is from an hour ago).
The nginx error log (/var/log/nginx/error.log) shows a new entry:
Code Select
*6886 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client: xxx.xxx.xxx.xxx(IP), server: _, request: "GET /mail/ HTTP/2.0", upstream: "fastcgi://xxx.xxx.xxx.xxx:80", host: "mail.website.com"
I'm not sure if the version of FastCGI protocol can be specified somewhere, of if server should be something other than _. Is this a useful log entry?
Thanks.
#83
General Discussion / Re: PHP Error: Bind failed: In...
Last post by alec - November 21, 2025, 03:07:00 AMA fix for Roundcube master (which supports PHP >= 8.1) might be to remove all ->done() calls from the 'ldap' driver code, but I can't test it.
#84
General Discussion / Re: PHP Error: Bind failed: In...
Last post by alec - November 21, 2025, 02:35:14 AMI suggest to try the ldap_simple driver instead of ldap for the password plugin.
#85
General Discussion / Re: PHP Error: Bind failed: In...
Last post by alec - November 21, 2025, 02:12:52 AMThe fatal error is Net_LDAP2 issue. https://github.com/pear/Net_LDAP2/issues/15.
#86
General Discussion / Re: Does Roundcube support ssh...
Last post by simonleung - November 21, 2025, 01:55:21 AMQuote from: SKaero on November 21, 2025, 01:29:55 AMRoundcube supports ssha512 in the password plugin but does require hashing support in PHP. I'm not sure what that error message means or exactly where that would come from, is that an error that you added for debugging?
I found that error in the file /var/www/roundcube/logs/password.log
#87
General Discussion / Re: Does Roundcube support ssh...
Last post by SKaero - November 21, 2025, 01:29:55 AMRoundcube supports ssha512 in the password plugin but does require hashing support in PHP. I'm not sure what that error message means or exactly where that would come from, is that an error that you added for debugging?
#88
General Discussion / Re: Does Roundcube support ssh...
Last post by simonleung - November 20, 2025, 09:15:26 PMQuote from: SKaero on November 20, 2025, 01:14:58 PMIn what context are you asking about the hash support? Roundcube supports ssha512 in the password plugin for changing passwords. The hash type doesn't matter when using normal Roundcube operations.
I enabled the password hash in the configuration file of Roundcube as follows.
$config['password_algorithm'] = 'ssha512';
$config['password_ldap_encodage'] = 'ssha512';
Still, I could not change the password of mailbox on Roundcube webmail and found the error in the log file as follows.
[21-Nov-2025 10:10:39 +0800]: <3tcldptb> PHP Error: HIT ssha (POST /?_task=settings&_action=plugin.password-save)
Do Roundcube and php support ssha512?
#89
General Discussion / Re: Does Roundcube support ssh...
Last post by SKaero - November 20, 2025, 01:14:58 PMIn what context are you asking about the hash support? Roundcube supports ssha512 in the password plugin for changing passwords. The hash type doesn't matter when using normal Roundcube operations.
#90
General Discussion / Does Roundcube support ssha512...
Last post by simonleung - November 20, 2025, 12:18:45 PMDoes Roundcube support ssha512 password hash?