Hi, I installed roundcube from tutorial and it worked great except for auto replay. Now i have messed around and cant connect to roundcube, i try to reinstall but it says all ready installed, i need to reenter mysql passwords again. I installed an new version of roundcube and it worked but i dont think the ISPC plugins worked with that install. Can someone please help me repair my 0.72 original install?
First, try to reinstall it with --reinstall option in apt command. e.g.: apt-get install --reinstall roundcube roundcube-mysql .... (and the other roundcube modules that you installed). To reconfigure roundcube, use: dpkg-reconfigure roundcube-mysql
I get this: Code: DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator. so i think i just need to manually insert mysql password for roundcube but i dont know where. I guess it is in several places ?
Code: dpkg-reconfigure roundcube-mysql does nothing, i was hoping this would let me retype password and so on?
Somehow i managed to get this topic in IspConfig 2 and thats wrong. It should be IspConfig 3. Maybe this changes your answers, Sorry.
Then try: dpkg-reconfigure roundcube or dpkg-reconfigure roundcube-core I dont have a roundcube system here at hand but a reconfigure on one of these 3 packages will ask you for the mysql details again.
How can i completely and manually remove everything regarding roundcube so i can install it from the guide again. I cant reinstall the whole server again.
Did you ever figure this out. I'm having a hell of a time. Roundcube-core does not ask for the mysql root password. It just skips it altogether and fails. It asks for the root database user name.. but not the password. I tried everything above.. and nothing works. Followed every instruction.
After lots of wasted time.. the only solution I could find, was to remove the password altogether for the root user of mysql (a.k.a. mariadb) . For anyone with the same issue: Either manually or thru phpmyadmin - make sure there is no roundcube database listed. Then from terminal command line do the following: Code: mysqladmin --user=root -p password "" then reconfigure the roundcube package again. Code: dpkg_reconfigure roundcube-core . Go thru the prompts. Once done, verify the roundcube database exists and that the tables are listed. Then do the following to re-enstate the password on the root user of mysql. Code: mysqladmin --user=root password "enter-your-password-here" Check to see if mysql requests a root password to confirm your secured the root login. Code: mysql -uroot -p
Did you try Code: dpkg_reconfigure -plow roundcube-core to force the reconfigure to ask more setup questions?
I know this is 2 years old, but I think the below still might help a few I ran into the same issue today. The fix was the following (On a older Debain Stretch) apt remove --purge roundcube-core (select delete database) apt remove --purge roundcube rm -R /etc/roundcube/ rm /etc/dbconfig-common/roundcube.conf rm /etc/apache2/conf-available/roundcube.conf mysql (Delete the roundcube database if it's still there and the roundcube user) ### now install roundcube core ### apt install roundcube-core ### finially roundcube ### apt install roundcube