RoundCube to version 0.8.5

when i try to update roundcube script, i got error

Failed to upgrade scripts : Could not find PHP version for /home/xxxxxxx/public_html/roundcube

where can i correct this ?

Status: 
Closed (fixed)

Comments

im using varnish cache system, and apache listen on other ports ..

i correct it this way , make apache listen on port 80 and it works

sorry for trouble

Could you post the Apache configuration for that domain? It can be found in the file /etc/apache2/sites-available/xxxxxx.com

<VirtualHost 142.4.222.77:880 [2607:5300:60:0Dd0::1]:80>
SuexecUserGroup "#1007" "#1006"
ServerName rechercheweb.ca
ServerAlias www.rechercheweb.ca
ServerAlias webmail.rechercheweb.ca
ServerAlias ww6.rechercheweb.ca
DocumentRoot /home/rechercheweb/public_html
ErrorLog /var/log/virtualmin/rechercheweb.ca_error_log
CustomLog /var/log/virtualmin/rechercheweb.ca_access_log combined
ScriptAlias /cgi-bin/ /home/rechercheweb/cgi-bin/
ScriptAlias /awstats/ /home/rechercheweb/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/rechercheweb/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksifOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/rechercheweb/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/rechercheweb/fcgi-bin/php5.fcgi .php5
</Directory>
<Directory /home/rechercheweb/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.rechercheweb.ca
RewriteRule ^(.*) https://rechercheweb.ca:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.rechercheweb.ca
RewriteRule ^(.*) https://rechercheweb.ca:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
IPCCommTimeout 31
FcgidMaxRequestLen 1073741824
Alias /dav /home/rechercheweb/public_html
Alias /pipermail /var/lib/mailman/archives/public
<Location /dav>
DAV on
AuthType Basic
AuthName "rechercheweb.ca"
AuthUserFile /home/rechercheweb/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
RemoveHandler .php
RemoveHandler .php5
RewriteEngine off
</Location>
<Files awstats.pl>
AuthName "rechercheweb.ca statistics"
AuthType Basic
AuthUserFile /home/rechercheweb/.awstats-htpasswd
require valid-user
</Files>
RedirectMatch /cgi-bin/mailman/([^/\.]*)(.cgi)?(.*) https://rechercheweb.ca:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
RedirectMatch /mailman/([^/\.]*)(.cgi)?(.*) https://rechercheweb.ca:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
php_value memory_limit 32M
php_value suhosin.session.encrypt Off
php_admin_value engine Off
</VirtualHost>

That looks OK to me.

Could you also SSH into your system as root and run virtualmin validate-domains --domain rechercheweb.ca --all-features and let me know what it outputs?

Apache website : No Apache virtual host for rechercheweb.ca found Webalizer reporting : No webserver log found for virtual host rechercheweb.ca Log file rotation : No webserver log found for virtual host rechercheweb.ca Mailman : No Apache Virtualhost found for rechercheweb.ca

the virtualhost is on port 880 ... virtualmin look only for port80 ?

Ok, that explains it .. for some reason, the <virtualhost> line for this domain has been changed to port 880 for the IPv4 address. Was that intentional, and if so why did you make that change?

This confuses Virtualmin, as it is expecting the virtual host to be on port 80.

as i said on second post , i use varnish to cache apache , varnish is listening on port 80

i have to change it before i need to update

but thanks for your time anyway

Ok .. alternately, you can tell Virtualmin to use a different port for the domain at Server Configuration -> Change IP Address. If you do it this way, script installs and updates will work fine.