Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

roundcube install?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
11 posts
  • 1
  • 2
  • Next
zoxovsky
Posts: 31
Joined: Mon Feb 13, 2017 3:09 pm

roundcube install?
  • Quote

Post by zoxovsky » Tue Mar 07, 2017 10:35 pm

Hello

How i can install roundcube? I just remove it and want to re-install it again. How to? :)
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: roundcube install?
  • Quote

Post by plutocrat » Wed Mar 08, 2017 5:28 am

Depends how you removed it. Also depends on what OS you're using. Care to share some details? :-)
Top

zoxovsky
Posts: 31
Joined: Mon Feb 13, 2017 3:09 pm

Re: roundcube install?
  • Quote

Post by zoxovsky » Wed Mar 08, 2017 8:46 am

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...
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: roundcube install?
  • Quote

Post by plutocrat » Wed Mar 08, 2017 10:01 am

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
Top

zoxovsky
Posts: 31
Joined: Mon Feb 13, 2017 3:09 pm

Re: roundcube install?
  • Quote

Post by zoxovsky » Wed Mar 08, 2017 11:13 am

Ok i will look into it after job
Top

zoxovsky
Posts: 31
Joined: Mon Feb 13, 2017 3:09 pm

Re: roundcube install?
  • Quote

Post by zoxovsky » Wed Mar 08, 2017 6:14 pm

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)
Top

zoxovsky
Posts: 31
Joined: Mon Feb 13, 2017 3:09 pm

Re: roundcube install?
  • Quote

Post by zoxovsky » Wed Mar 08, 2017 6:42 pm

Ok i just repair it,

v-rebuild-mail-domains user

working good :P
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: roundcube install?
  • Quote

Post by skurudo » Thu Mar 09, 2017 12:12 pm

Wow, nice catch, zoxovsky!
Top

zoxovsky
Posts: 31
Joined: Mon Feb 13, 2017 3:09 pm

Re: roundcube install?
  • Quote

Post by zoxovsky » Thu Mar 09, 2017 5:17 pm

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?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: roundcube install?
  • Quote

Post by skurudo » Thu Mar 09, 2017 8:21 pm

MX records?
Some errors/logs may be ?
Top


Post Reply
  • Print view

11 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password