YunoHost-Apps / roundcube_ynh

Roundcube package for YunoHost
https://roundcube.net/
GNU Affero General Public License v3.0
11 stars 21 forks source link

roundcube is not accessible - No input file specified. #27

Closed Psycojoker closed 1 year ago

Psycojoker commented 6 years ago

NOT ME

COPY PASTED FROM https://dev.yunohost.org/issues/811


Hello,

I'm not experienced enough but I'm thinking there is an error in the initial roundcube config. The roundcube instance is not available after installation. The fastcgi handler just returns "No input file specified." and the log file contains this message: "ERROR: Unable to open primary script: /var/www/roundcube//webmail/index.php (No such file or directory)"

After moving the fastcgi default parameter inclusion before the path config it is working:

fastcgi_index index.php;
include fastcgi_params;
fastcgi_param REMOTE_USER     $remote_user;
fastcgi_param PATH_INFO       $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $request_filename;

I'm not sure if that is good NGINX config, but it works.

Thanks for your very useful project. I like to use yunohost for all my stuff. I couldn't find any other ticket about that error - hopefully it isn't a duplicate...

Best Regards Rolf