{"id":9578,"date":"2023-09-13T12:13:40","date_gmt":"2023-09-13T12:13:40","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=9578"},"modified":"2023-10-21T06:05:17","modified_gmt":"2023-10-21T06:05:17","slug":"fixing-a-corrupted-roundcube-sqlite-database","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/","title":{"rendered":"Fixing a Corrupted RoundCube SQLite Database"},"content":{"rendered":"<p><strong>Introduction:<\/strong><\/p>\n<p>Occasionally, users may encounter issues with RoundCube, preventing them from accessing their webmail. This can manifest as failed login attempts or redirection to a login page when accessed through cPanel. This detailed guide provides step-by-step instructions to resolve these problems.<\/p>\n<p><strong>Here<\/strong> is a <strong>step-by-step<\/strong> guide on how to<strong> Fix a Corrupted RoundCube SQLite Database<\/strong><\/p>\n<ol>\n<li>\n<h4>Navigating to the Directory:<\/h4>\n<p>a.<strong>\u00a0 \u00a0Start by locating the directory:<\/strong><\/p>\n<pre>\/home\/&lt;cpanel_user&gt;\/etc\/&lt;domain&gt;\/<\/pre>\n<\/li>\n<li>\n<h4>Restoring from Backups:<\/h4>\n<p>First, we will try to restore the file from cpanel generated backup<\/p>\n<p>a.<strong>To do this Rename or Move the Database File:<\/strong><\/p>\n<ul>\n<li>Rename the below file\n<pre>&lt;email_user&gt;.rcube.db<\/pre>\n<p>to<\/p>\n<pre>&lt;email_user&gt;.rcube.db.bak<\/pre>\n<\/li>\n<li>Alternatively, you can move it out of the folder for safekeeping.<\/li>\n<\/ul>\n<p>b. <strong>Selecting a Backup Version<\/strong>:<\/p>\n<ul>\n<li>Identify the most recent backup copy by examining the timestamp on files named<\/li>\n<\/ul>\n<pre>&lt;email_user&gt;.rcube.db.&lt;number_stamp&gt;<\/pre>\n<ul>\n<li>Choose the latest one.<\/li>\n<\/ul>\n<p>c. <strong>Applying the Backup:<\/strong><\/p>\n<ul>\n<li>Rename the chosen backup file to\n<pre>&lt;email_user&gt;.rcube.db<\/pre>\n<\/li>\n<\/ul>\n<p>d. <strong>Testing:<\/strong><\/p>\n<ul>\n<li>Attempt to access RoundCube again to ensure the issue is resolved.<\/li>\n<\/ul>\n<\/li>\n<li>\n<h4>Starting RoundCube from begining:<\/h4>\n<p>If the issue is not been fixed, alternatively we can start rouncude to start from the begining by following the below steps<\/p>\n<p>a.<strong>To do this Rename or Move the Database File:<\/strong><\/p>\n<ul>\n<li>Rename the below file\n<pre>&lt;email_user&gt;.rcube.db<\/pre>\n<p>to<\/p>\n<pre>&lt;email_user&gt;.rcube.db.bak<\/pre>\n<\/li>\n<li>Alternatively, you can move it out of the folder for safekeeping.<\/li>\n<\/ul>\n<p>b. <strong>Restarting PHP-FPM (For Servers Using cPanel with PHP-FPM):<\/strong><\/p>\n<ul>\n<li>If your server employs PHP-FPM for the cPanel service, execute the following commands to restart it:\n<div>\n<div>bash<\/div>\n<div>\n<pre>\/scripts\/restartsrv_cpanel_php_fpm --stop\r\n\/scripts\/restartsrv_cpanel_php_fpm --start\r\n<\/pre>\n<\/div>\n<\/div>\n<\/li>\n<\/ul>\n<p>c. <strong>Testing:<\/strong><\/p>\n<ul>\n<li>Try accessing RoundCube again to see if the issue has been resolved<strong>.<\/strong><\/li>\n<\/ul>\n<\/li>\n<li><strong>Logging in:<\/strong>\n<ul>\n<li>Access your account either through cPanel or\n<pre>https:\/\/www.domain.com:2096<\/pre>\n<p>select RoundCube. Your account should now function properly.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>Additional Note:<\/strong><\/p>\n<p>Copies of your RoundCube database can also be found within any full <strong>cpmove<\/strong> backup.<\/p>\n<p>These backups are stored in the following directory:<\/p>\n<pre>(cpmove-&lt;user&gt;.tar.gz) homedir\/etc\/&lt;domain&gt;\/&lt;user&gt;rcube.db<\/pre>\n<p>That is it how to Fix a Corrupted RoundCube SQLite Database<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Occasionally, users may encounter issues with RoundCube, preventing them from accessing their webmail. This can manifest as failed login attempts or redirection to a login page when accessed through cPanel. This detailed guide provides step-by-step instructions to resolve these problems. Here is a step-by-step guide on how to Fix a Corrupted RoundCube SQLite Database [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":24,"featured_media":9692,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9578","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Fixing a Corrupted RoundCube SQLite Database - cPanel Plesk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Fixing a Corrupted RoundCube SQLite Database - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"Introduction: Occasionally, users may encounter issues with RoundCube, preventing them from accessing their webmail. This can manifest as failed login attempts or redirection to a login page when accessed through cPanel. This detailed guide provides step-by-step instructions to resolve these problems. Here is a step-by-step guide on how to Fix a Corrupted RoundCube SQLite Database [...]Continue Reading...\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2023\/09\/Gulf-Blue-Simple-Professional-How-To-Improve-Your-SEO-Rankings-Blog-Banner-1.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ali Munir\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/\"},\"author\":{\"name\":\"Ali Munir\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/1e61af015618daffbcedb81f40ebf69f\"},\"headline\":\"Fixing a Corrupted RoundCube SQLite Database\",\"datePublished\":\"2023-09-13T12:13:40+00:00\",\"dateModified\":\"2023-10-21T06:05:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/\"},\"wordCount\":301,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2023\/09\/Gulf-Blue-Simple-Professional-How-To-Improve-Your-SEO-Rankings-Blog-Banner-1.png\",\"articleSection\":[\"Cpanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/\",\"name\":\"Fixing a Corrupted RoundCube SQLite Database - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2023\/09\/Gulf-Blue-Simple-Professional-How-To-Improve-Your-SEO-Rankings-Blog-Banner-1.png\",\"datePublished\":\"2023-09-13T12:13:40+00:00\",\"dateModified\":\"2023-10-21T06:05:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#primaryimage\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2023\/09\/Gulf-Blue-Simple-Professional-How-To-Improve-Your-SEO-Rankings-Blog-Banner-1.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2023\/09\/Gulf-Blue-Simple-Professional-How-To-Improve-Your-SEO-Rankings-Blog-Banner-1.png\",\"width\":2240,\"height\":1260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fixing a Corrupted RoundCube SQLite Database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/1e61af015618daffbcedb81f40ebf69f\",\"name\":\"Ali Munir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/68fb4a03160a1b0486bd5d9f2c67d83b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/68fb4a03160a1b0486bd5d9f2c67d83b?s=96&d=mm&r=g\",\"caption\":\"Ali Munir\"},\"sameAs\":[\"https:\/\/cpanelplesk.com\/wp62\"],\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/ali\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fixing a Corrupted RoundCube SQLite Database - cPanel Plesk","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/","twitter_card":"summary_large_image","twitter_title":"Fixing a Corrupted RoundCube SQLite Database - cPanel Plesk","twitter_description":"Introduction: Occasionally, users may encounter issues with RoundCube, preventing them from accessing their webmail. This can manifest as failed login attempts or redirection to a login page when accessed through cPanel. This detailed guide provides step-by-step instructions to resolve these problems. Here is a step-by-step guide on how to Fix a Corrupted RoundCube SQLite Database [...]Continue Reading...","twitter_image":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2023\/09\/Gulf-Blue-Simple-Professional-How-To-Improve-Your-SEO-Rankings-Blog-Banner-1.png","twitter_misc":{"Written by":"Ali Munir","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/"},"author":{"name":"Ali Munir","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/1e61af015618daffbcedb81f40ebf69f"},"headline":"Fixing a Corrupted RoundCube SQLite Database","datePublished":"2023-09-13T12:13:40+00:00","dateModified":"2023-10-21T06:05:17+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/"},"wordCount":301,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2023\/09\/Gulf-Blue-Simple-Professional-How-To-Improve-Your-SEO-Rankings-Blog-Banner-1.png","articleSection":["Cpanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/","url":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/","name":"Fixing a Corrupted RoundCube SQLite Database - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#primaryimage"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2023\/09\/Gulf-Blue-Simple-Professional-How-To-Improve-Your-SEO-Rankings-Blog-Banner-1.png","datePublished":"2023-09-13T12:13:40+00:00","dateModified":"2023-10-21T06:05:17+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#primaryimage","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2023\/09\/Gulf-Blue-Simple-Professional-How-To-Improve-Your-SEO-Rankings-Blog-Banner-1.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2023\/09\/Gulf-Blue-Simple-Professional-How-To-Improve-Your-SEO-Rankings-Blog-Banner-1.png","width":2240,"height":1260},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/fixing-a-corrupted-roundcube-sqlite-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"Fixing a Corrupted RoundCube SQLite Database"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/1e61af015618daffbcedb81f40ebf69f","name":"Ali Munir","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/68fb4a03160a1b0486bd5d9f2c67d83b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/68fb4a03160a1b0486bd5d9f2c67d83b?s=96&d=mm&r=g","caption":"Ali Munir"},"sameAs":["https:\/\/cpanelplesk.com\/wp62"],"url":"https:\/\/cpanelplesk.com\/wp62\/author\/ali\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/9578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=9578"}],"version-history":[{"count":17,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/9578\/revisions"}],"predecessor-version":[{"id":9693,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/9578\/revisions\/9693"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media\/9692"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=9578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=9578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=9578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}