suitecrm Processing database and vardef comparison... repair issues?

all of a sudden when i came to repair suitecrm the repair process got stuck at Processing database and vardef comparison… and never proceeded. i tried to check the permissions but every thing seems ok. ? can some one please direct me to the right path to solve this issue.

You need to check your logs.

Thank you for you reply,

after checking the logs i found the following

but i don’t know if the issue is form the query or the rmdir_recursive?

Sat Sep 2 08:33:02 2017 [666238][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.
Sat Sep 2 08:33:02 2017 [666238][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Sat Sep 2 08:33:02 2017 [666238][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Sat Sep 2 08:55:59 2017 [725513][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.
Sat Sep 2 08:55:59 2017 [725513][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Sat Sep 2 08:55:59 2017 [725513][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Sat Sep 2 09:00:24 2017 [732184][1][FATAL] Query Failed: DESCRIBE versions: MySQL error 1146: Table ‘smepsbra_suite1.versions’ doesn’t exist
Sat Sep 2 09:00:24 2017 [732184][1][FATAL] Query Failed: SHOW INDEX FROM versions: MySQL error 1146: Table ‘smepsbra_suite1.versions’ doesn’t exist
Sat Sep 2 09:00:24 2017 [732184][1][FATAL] Query Failed: select * from versions: MySQL error 1146: Table ‘smepsbra_suite1.versions’ doesn’t exist
Sat Sep 2 09:12:24 2017 [767950][1][FATAL] Query Failed: SELECT count(*) as count FROM suppl_suppliers: MySQL error 1146: Table ‘smepsbra_suite1.suppl_suppliers’ doesn’t exist
Sat Sep 2 09:12:24 2017 [767950][1][FATAL] Query Failed: SELECT id FROM suppl_suppliers: MySQL error 1146: Table ‘smepsbra_suite1.suppl_suppliers’ doesn’t exist
Sat Sep 2 09:19:01 2017 [785532][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Sat Sep 2 09:19:01 2017 [785532][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Sat Sep 2 09:19:01 2017 [785532][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.
Sat Sep 2 09:22:19 2017 [797420][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Sat Sep 2 09:22:19 2017 [797420][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Sat Sep 2 09:22:19 2017 [797420][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.

Can you please tell us your versions of OS, database, web server, PHP, and SuiteCRM?

You can try these repairs:

  1. Delete the entire directory
    cache/themes

  2. Run a quick repair and rebuild, and any other repair that mentions “caches”.

Try again and report the errors found in the log then.

Same mistake, running on Ubuntu 16.04 LTS server, mariaDB, fresh install, suitecrm 7.8.9, trying to install Spanish language without luck, when upload .zip file with module loader get error

ZIP Error(0): Status(9): Arhive(upload://suitecrmtranslations.zip): Directory(/tmp/FHIFw9)

and log

Mon Jan 8 19:44:45 2018 [1399][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Mon Jan 8 20:07:43 2018 [1703][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Mon Jan 8 20:07:43 2018 [1703][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.
Mon Jan 8 20:07:43 2018 [1703][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Mon Jan 8 20:08:23 2018 [1387][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Mon Jan 8 20:08:23 2018 [1387][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.
Mon Jan 8 20:08:23 2018 [1387][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Mon Jan 8 20:17:17 2018 [1643][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Mon Jan 8 20:17:17 2018 [1643][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.
Mon Jan 8 20:17:17 2018 [1643][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Mon Jan 8 20:20:45 2018 [1844][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Mon Jan 8 20:20:45 2018 [1844][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.
Mon Jan 8 20:20:45 2018 [1844][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Mon Jan 8 20:23:51 2018 [1384][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Mon Jan 8 20:23:51 2018 [1384][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.
Mon Jan 8 20:23:51 2018 [1384][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.

I’ve tried all permission, delete cache folder and rebuild everything with no luck

You should really open a new thread with your problem…

a few things to try

  • make sure you have zip module installed in PHP, and enabled in php.ini
  • re-download the zip
  • test the zip with Winzip or another zip program
  • check permissions also on /tmp directory