{"id":870,"date":"2024-07-15T10:41:20","date_gmt":"2024-07-15T10:41:20","guid":{"rendered":"https:\/\/linuxresellerwebhosting.in\/blog\/?p=870"},"modified":"2024-07-15T10:45:35","modified_gmt":"2024-07-15T10:45:35","slug":"corrupted-roundcube-sqlite-database","status":"publish","type":"post","link":"https:\/\/linuxresellerwebhosting.in\/blog\/corrupted-roundcube-sqlite-database\/","title":{"rendered":"How-To Fix A Corrupted RoundCube SQLite Database"},"content":{"rendered":"<p>This aritcle will explain How-To Fix A Corrupted RoundCube SQLite Database.<\/p>\n<p>Sometimes RoundCube will no longer allow users to access their webmail; it will show either the symptoms of a failed login or redirect to a login page if accessed from <a href=\"https:\/\/www.squarebrothers.com\/cpanel-hosting-india\/\" target=\"_blank\" rel=\"noopener\">cPanel<\/a>. Below shows you how to correct this issue should it happen.<\/p>\n<h3>Below steps will clearly tell how to resolve this issue Corrupted RoundCube SQLite Database<\/h3>\n<p>Login to cpanel or server SSH, go to<\/p>\n<pre>\/home\/&lt;cpanel_user&gt;\/etc\/&lt;domain&gt;\/<\/pre>\n<p>To restore to a previous version, either from the automatic copies made, or from a backup<\/p>\n<ol>\n<li>Rename the file &lt;email_user&gt;.rcube.db to &lt;email_user&gt;.rcube.db.bak or move it out of the folder<\/li>\n<li>Rename &lt;email_user&gt;.rcube.db.&lt;number_stamp&gt; (use the most recent copy first based on timestamp) to &lt;email_user&gt;.rcube.db<\/li>\n<li>Attempt to access RoundCube again<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-873 size-large\" src=\"https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/test-round-cube-1024x34.png\" alt=\"Corrupted RoundCube SQLite Database\" width=\"1024\" height=\"34\" srcset=\"https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/test-round-cube-1024x34.png 1024w, https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/test-round-cube-300x10.png 300w, https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/test-round-cube-768x26.png 768w, https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/test-round-cube-1536x51.png 1536w, https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/test-round-cube.png 1553w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-874 size-large\" src=\"https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/testroundcube-back-1024x23.png\" alt=\"\" width=\"1024\" height=\"23\" srcset=\"https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/testroundcube-back-1024x23.png 1024w, https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/testroundcube-back-300x7.png 300w, https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/testroundcube-back-768x17.png 768w, https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/testroundcube-back-1536x34.png 1536w, https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2024\/07\/testroundcube-back.png 1580w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>or to allow RoundCube to start from the beginning without attempting to restore any previous settings or contacts.<\/p>\n<ol>\n<li>Rename the file &lt;email_user&gt;.rcube.db to &lt;email_user&gt;.rcube.db.bak or move it out of the folder<\/li>\n<li>For servers running PHP-FPM for the cPanel service the service should be restarted<\/li>\n<\/ol>\n<pre>\/scripts\/restartsrv_cpanel_php_fpm --stop<\/pre>\n<pre>\/scripts\/restartsrv_cpanel_php_fpm --start\r\n\r\n<\/pre>\n<ol>\n<li value=\"3\">Attempt to access RoundCube again<\/li>\n<\/ol>\n<p>Login to the account using either cPanel or https:\/\/www.domain.com:2096 and select RoundCube.<\/p>\n<p>Your account should start working again.<\/p>\n<p>Copies of your RoundCube database can also be found in any full cpmove backup under the following folder (you may need to open this file using your favorite archive utility.)<\/p>\n<p>For more information on Error mysqli_sql_exception too many connections<a href=\"https:\/\/linuxresellerwebhosting.in\/blog\/fix-mysqli_sql_exception-too-many-connections\/\"> click here.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This aritcle will explain How-To Fix A Corrupted RoundCube SQLite Database. Sometimes RoundCube will no longer allow users to access<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[2,33],"tags":[50,38],"class_list":["post-870","post","type-post","status-publish","format-standard","hentry","category-linux","category-cpanel","tag-roundcube","tag-sql"],"_links":{"self":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/870","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/comments?post=870"}],"version-history":[{"count":4,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/870\/revisions"}],"predecessor-version":[{"id":876,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/870\/revisions\/876"}],"wp:attachment":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/media?parent=870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/categories?post=870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/tags?post=870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}