Update roundcube in Vesta CP on Ubuntu 16.04?
-
Hello! I would like to see if someone would know how I can update the roundcube version correctly in Vesta CP on Ubuntu 16.04? And I would also like to know how to put access to webmail from the subdomain https://webmail.mydomain.com instead of https://mydomain.com/webmail (with https redirection included please)
Thank you in advance!
-
Hi whats the current version of roundube installed?
-
@mitialademurcia hi here is the tutorial for upgrading roundcube
Update Roundcube on Ubuntu 18.04/16.04/VestaCP
https://www.mysterydata.com/install-and-update-roundcube-latest-version-on-ubuntu-vestacp/ -
@mitialademurcia said in Update roundcube in Vesta CP on Ubuntu 16.04?:
And I would also like to know how to put access to webmail from the subdomain https://webmail.mydomain.com instead of https://mydomain.com/webmail (with https redirection included please)
you need to proxy pass ip/webmail this needs manual apache/nginx configs.
-
Thank you so much friend!!!
-
@sandeep sorry, I could not see the message, I'm using Roundcube Webmail 1.2-beta
-
I will try to do the update, and the redirection, to see if I can do it, thank you very much!
-
I follow all steps, but it says DATABASE ERROR: CONNECTION FAILED!
-
then you must missed the correct DB password and DB user for roundcube
under/etc/roundcube/debian-db.php
-
you need to follow step 4
https://www.mysterydata.com/install-and-update-roundcube-latest-version-on-ubuntu-vestacp/Step 4
(you can skip this step if you’re updating from 1.3.x):This step will install fresh roundcube Database.
Now you need to use command line mysql its easy just follow the commands one by one :mysql DROP DATABASE roundcube; CREATE DATABASE roundcube; quit
Now we’ll import Roundcube DB
mysql roundcube < /var/lib/roundcube/SQL/mysql.initial.sql
if it is still db issue reset the rouncube DB user password and update it in
/var/lib/roundcube/config/config.inc.php
-
@sandeep YESSS!!! Thank you so much!!!! Then it works, fantastic friend!!!
But it was in /etc/roundcube/debiand-db-roundcube.php
-
@mitialademurcia said in Update roundcube in Vesta CP on Ubuntu 16.04?:
/etc/roundcube/debiand-db-roundcube.php
i tested with 18.06 no 16.04 available for me proabbly file name is different
-
i've updated the post thanks for the report
-
@sandeep you're welcome friend, thanks to you!
-
@sandeep Hi, I've tried all the ways I know and I've seen on the internet and I can't do it, did you know how could I do it exactly??
-
what exactly you're asking for ?
-
@sandeep How to put access to webmail from the subdomain https://webmail.mydomain.com instead of https://mydomain.com/webmail
-
create a subdomain in vesta and use proxy pass config.
<VirtualHost server-ip:80> ServerName webmail.domain.tld <IfModule mod_proxy.c> ProxyRequests Off ProxyPreserveHost On ProxyVia Full ProxyPass / http://server-ip/webmail/ ProxyPassReverse / http://server-ip/webmail/ <Proxy *> AllowOverride All </Proxy> </IfModule> </VirtualHost>
for ssl :
<VirtualHost server-ip:443> ServerName webmail.domain.tld SSLEngine on SSLCertificateFile /etc/pki/tls/certs/domain.tld.cert SSLCertificateKeyFile /etc/pki/tls/private/domain.tld.key SSLCertificateChainFile /etc/pki/tls/certs/domain.tld.bundle SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown <IfModule mod_proxy.c> ProxyRequests Off ProxyPreserveHost On ProxyVia Full ProxyPass / http://server-ip/webmail/ ProxyPassReverse / http://server-ip/webmail/ <Proxy *> AllowOverride All </Proxy> </IfModule> </VirtualHost>
-
@sandeep thank you!!
-
Now I am having a problem, and that when I use the v-change-domain-owner anydomain.tld NEWUSER command, to change a domain to another user, this always returns me:
/usr/local/vesta//data/users/users/web.conf: No file or directory of this type
/usr/local/vesta//data/users/users/dns.conf: No file or directory of this type
/usr/local/vesta//data/users/users/mail.conf: No file or directory of this type
Error: user users doesn't existAlways put user users regardless of the user that I put, instead the NEWUSER
I don't know how I can fix it, does anyone know how?