Page 1 of 2
roundcube install?
Posted: Tue Mar 07, 2017 10:35 pm
by zoxovsky
Hello
How i can install roundcube? I just remove it and want to re-install it again. How to? :)
Re: roundcube install?
Posted: Wed Mar 08, 2017 5:28 am
by plutocrat
Depends how you removed it. Also depends on what OS you're using. Care to share some details? :-)
Re: roundcube install?
Posted: Wed Mar 08, 2017 8:46 am
by zoxovsky
I use debian 8 jessie
I have to use purge roundcube cuz cant login on any account mail it gives me error to login every new acc make ehh...
Re: roundcube install?
Posted: Wed Mar 08, 2017 10:01 am
by plutocrat
OK, well if you're on Debian 8 and you ran a purge, then it will have removed all the config files from your system too.
Looking at the install script, what it appears to do is to
apt-get install roundcube-core roundcube-mysql roundcube-plugins
and then it does the following modifications ... I don't know if you can follow these by hand?
Code: Select all
#----------------------------------------------------------#
# Configure RoundCube #
#----------------------------------------------------------#
if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
if [ "$apache" = 'yes' ]; then
wget $vestacp/roundcube/apache.conf -O /etc/roundcube/apache.conf
ln -s /etc/roundcube/apache.conf /etc/apache2/conf.d/roundcube.conf
fi
wget $vestacp/roundcube/main.inc.php -O /etc/roundcube/main.inc.php
wget $vestacp/roundcube/db.inc.php -O /etc/roundcube/db.inc.php
wget $vestacp/roundcube/vesta.php -O \
/usr/share/roundcube/plugins/password/drivers/vesta.php
wget $vestacp/roundcube/config.inc.php -O \
/etc/roundcube/plugins/password/config.inc.php
r="$(gen_pass)"
mysql -e "CREATE DATABASE roundcube"
mysql -e "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r'"
sed -i "s/%password%/$r/g" /etc/roundcube/db.inc.php
sed -i "s/localhost/$servername/g" /etc/roundcube/plugins/password/config.inc.php
mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
chmod a+r /etc/roundcube/main.inc.php
if [ "$release" -eq 8 ]; then
mv -f /etc/roundcube/main.inc.php /etc/roundcube/config.inc.php
mv -f /etc/roundcube/db.inc.php /etc/roundcube/debian-db-roundcube.php
# RoundCube tinyMCE fix
tinymceFixArchiveURL=$vestacp/roundcube/roundcube-tinymce.tar.gz
tinymceParentFolder=/usr/share/roundcube/program/js
tinymceFolder=$tinymceParentFolder/tinymce
tinymceBadJS=$tinymceFolder/tiny_mce.js
tinymceFixArchive=$tinymceParentFolder/roundcube-tinymce.tar.gz
if [[ -L "$tinymceFolder" && -d "$tinymceFolder" ]]; then
if [ -f "$tinymceBadJS" ]; then
wget $tinymceFixArchiveURL -O $tinymceFixArchive
if [[ -f "$tinymceFixArchive" && -s "$tinymceFixArchive" ]]; then
rm $tinymceFolder
tar -xzf $tinymceFixArchive -C $tinymceParentFolder
rm $tinymceFixArchive
chown -R root:root $tinymceFolder
else
echo "File roundcube-tinymce.tar.gz is not downloaded, RoundCube tinyMCE fix is not applied"
rm $tinymceFixArchive
fi
fi
fi
fi
fi
Re: roundcube install?
Posted: Wed Mar 08, 2017 11:13 am
by zoxovsky
Ok i will look into it after job
Re: roundcube install?
Posted: Wed Mar 08, 2017 6:14 pm
by zoxovsky
Ok i have installed it but i have problems with login, there is error log :
Code: Select all
[08-Mar-2017 19:07:42 +0100]: <ghak0de5> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/)
[08-Mar-2017 19:08:22 +0100]: <ghak0de5> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/)
[08-Mar-2017 19:08:28 +0100]: <ghak0de5> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=login?_task=login&_action=login)
[08-Mar-2017 19:08:38 +0100]: <ghak0de5> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=login?_task=login&_action=login)
[08-Mar-2017 19:08:40 +0100]: <ghak0de5> IMAP Error: Login failed for [email protected] from IP. AUTHENTICATE PLAIN: Authentication failed. in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 198 (POST /webmail/?_task=login?_task=login&_action=login)
[08-Mar-2017 19:08:51 +0100]: <ghak0de5> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=login?_task=login&_action=login)
[08-Mar-2017 19:08:53 +0100]: <ghak0de5> IMAP Error: Login failed for [email protected] from IP. AUTHENTICATE PLAIN: Authentication failed. in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 198 (POST /webmail/?_task=login?_task=login&_action=login)
[08-Mar-2017 19:09:11 +0100]: <ghak0de5> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/)
[08-Mar-2017 19:09:15 +0100]: <munlrbmj> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /webmail/)
[08-Mar-2017 19:09:24 +0100]: <munlrbmj> PHP Error: Failed to load config from /var/lib/roundcube/plugins/jqueryui/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /webmail/?_task=login?_task=login&_action=login)
[08-Mar-2017 19:09:26 +0100]: <munlrbmj> IMAP Error: Login failed for [email protected] from IP. AUTHENTICATE PLAIN: Authentication failed. in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 198 (POST /webmail/?_task=login?_task=login&_action=login)
Re: roundcube install?
Posted: Wed Mar 08, 2017 6:42 pm
by zoxovsky
Ok i just repair it,
v-rebuild-mail-domains user
working good :P
Re: roundcube install?
Posted: Thu Mar 09, 2017 12:12 pm
by skurudo
Wow, nice catch, zoxovsky!
Re: roundcube install?
Posted: Thu Mar 09, 2017 5:17 pm
by zoxovsky
skurudo wrote:Wow, nice catch, zoxovsky!
Yea thanks,
There is 1 problem, Mailing sends are arrived (from my host) but sends to my host are not received how to fix this?
Re: roundcube install?
Posted: Thu Mar 09, 2017 8:21 pm
by skurudo
MX records?
Some errors/logs may be ?