Roundcube Community Forum

 

Recent posts

#41
General Discussion / Re: Im confused from updating ...
Last post by Dmitry42 - October 28, 2025, 11:52:50 AM
looks like you have the same problem.
Try comment or remove 'try-files'

 
Quote# try_files $uri =404;
#42
General Discussion / Re: Im confused from updating ...
Last post by dea75 - October 28, 2025, 06:31:04 AM
I've the same problem... now share my nginx conf (works fine on 1.6.x):

Any idea ?

*************************
        root /var/www/html/public_html;
        index index.php;

        location / {
                try_files $uri $uri/ /index.php?q=$uri&$args;
        }

        location ~ ^/(README.md|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
                deny all;
        }

        location ~ ^/(config|temp|logs|SQL|bin)/ {
                deny all;
        }

        location ~ /\. {
                deny all;
                access_log off;
                log_not_found off;
        }

        location ~ \.php$ {
                try_files $uri =404;
                fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_param PATH_INFO $fastcgi_path_info;
                include fastcgi_params;
        }
*************************
#43
Release Discussion / SMTP Error (550) suspended
Last post by Gede Adi - October 28, 2025, 03:25:18 AM
hello , good afternoon how to fixed this ? ( SMTP Error (550): Failed to add recipient " admit.com " (Outgoing mail from "myemail.com" has been suspended.). please let me know , thank you .
#44
Issues & Bugs / e mail time out
Last post by dixoneec - October 27, 2025, 02:07:53 PM
I time out of my emails and have to sign back in after 5 miutes. is there a way to change this?
#45
General Discussion / Re: Im confused from updating ...
Last post by Dmitry42 - October 27, 2025, 12:57:35 PM
But it was not the end ))))

Still have problem with "try_files" and now its problem with new mail composer - can't  switch to HTML editor and with one of calendar plugins:
Quote2025/10/27 23:47:54 [error] 230452#230452: *240 open() "/var/www/html/webmail/public_html404" failed (2: No such file or directory), client: 192.168.6.210, server: mail, request: "GET /static.php/program/js/publickey.js?s=1761116479 HTTP/2.0", host: "10.1.1.1", referrer: "https://10.1.1.1/?_task=mail&_action=compose&_id=6815834868ffa239d049f"

I remove "try_files" from config and all working fine. So i will search solution to check user request with try_files and not broke my RC publication.


Im back later with solution
#46
General Discussion / Re: Im confused from updating ...
Last post by Dmitry42 - October 27, 2025, 12:39:27 PM
Im come back. I find that :

QuoteThe try_files directive changes URI of a request to the one matched on the file system, and subsequent attempt to split the URI into $fastcgi_script_name and $fastcgi_path_info results in empty path info - as there is no path info in the URI after try_files.

So the my solution was backup $fastcgi_path_info and restore after try_files.

    location ~ \.php(?:$|/) {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
       
        set $backup  $fastcgi_path_info;
        try_files $uri = 404;
        fastcgi_param PATH_INFO $backup;


THANK YOU!!!
#47
General Discussion / Re: Im confused from updating ...
Last post by Dmitry42 - October 27, 2025, 11:55:46 AM
Quote from: SKaero on October 26, 2025, 09:45:53 PMI wonder if your $_SERVER['PATH_INFO'] value is invalid or empty. If you create a php file with the following what does it output?
<?php
echo $_SERVER['PATH_INFO'];

I think you are right. Your php script output plank page - nothing. So I will search and read about setup this variable. Thank you!

I'l back later with any news.
#48
General Discussion / Re: Im confused from updating ...
Last post by SKaero - October 26, 2025, 09:45:53 PM
I wonder if your $_SERVER['PATH_INFO'] value is invalid or empty. If you create a php file with the following what does it output?
<?php
echo $_SERVER['PATH_INFO'];
#49
Theme Releases / Re: Elastic2022
Last post by Seb1k - October 26, 2025, 02:15:48 PM
Hi !

Just corrected a few thing and added a Popup composer in the lastest version !



#50
General Discussion / Re: Im confused from updating ...
Last post by Dmitry42 - October 26, 2025, 12:36:34 PM
So im come back. I check browser console and yes - problem with access to files.


bootstrap.min.css:1
 Failed to load resource: the server responded with a status of 404 ()
styles.min.css:1
 Failed to load resource: the server responded with a status of 404 ()
elastic.css:1
 Failed to load resource: the server responded with a status of 404 ()
styles.css:1
 Failed to load resource: the server responded with a status of 404 ()
styles.css:1
 Failed to load resource: the server responded with a status of 404 ()
elastic.css:1
 Failed to load resource: the server responded with a status of 404 ()
jquery-ui.min.css:1
 Failed to load resource: the server responded with a status of 404 ()
custom.php:1
 Failed to load resource: the server responded with a status of 404 ()
scripts.min.js:1
 Failed to load resource: the server responded with a status of 404 ()
jquery.min.js:1
 Failed to load resource: the server responded with a status of 404 ()
common.js:1
 Failed to load resource: the server responded with a status of 404 ()
js.cookie.js:1
 Failed to load resource: the server responded with a status of 404 ()
app.js:1
 Failed to load resource: the server responded with a status of 404 ()
xskin.min.js:1
 Failed to load resource: the server responded with a status of 404 ()
framework.min.js:1
 Failed to load resource: the server responded with a status of 404 ()
howler.min.js:1
 Failed to load resource: the server responded with a status of 404 ()
jquery-ui.min.js:1
 Failed to load resource: the server responded with a status of 404 ()
alarm.min.js:1
 Failed to load resource: the server responded with a status of 404 ()
datepicker-en-GB.js:1
 Failed to load resource: the server responded with a status of 404 ()
bootstrap.bundle.min.js:1
 Failed to load resource: the server responded with a status of 404 ()
ui.min.js:1
 Failed to load resource: the server responded with a status of 404 ()
(index):44 Uncaught ReferenceError: rcube_webmail is not defined
    at (index):44:14
(index):92 Uncaught ReferenceError: $ is not defined
    at (index):92:1
/static.php/skins/el....ico?s=1760867757:1
 Failed to load resource: the server responded with a status of 404 ()

I can't understand how static.php must use files from folder upper than nginx root.

Can you show your nginx SERVER section ? How you config root folder ?