After applying the Magento patch SUPEE-6788, I find that the tables permission_block and permission_variable are not created in the database. How should I start investigate this problem? (The Magento version is

  • Did the patch apply correctly? Have you tried clearing your cache and refreshing the page?
    – rob3000
    Commented Oct 28, 2015 at 4:11
  • The patch claimed to be applied correctly. Cache clearing was done, but I would think that this is not a matter of cache, since the problem lies in the MySQL database, not on the web pages. Commented Oct 28, 2015 at 5:23
  • When you clear the cache and go to the frontend it runs all the update scripts for magento which is what the patch does. If you have the n98 tool installed you can run the following sys:setup:run
    – rob3000
    Commented Oct 28, 2015 at 5:32
  • You are right. After applying the patch, I did a 'clear cache' followed by a reload of the front-end home page, the tables correctly appeared in the database. Commented Oct 28, 2015 at 5:52
  • Awesome. Just added it as an answer :)
    – rob3000
    Commented Oct 28, 2015 at 7:00

1 Answer 1


Answered in comments.

You will need to clear the cache a reload the homepage in order for magento's update scripts to be called. Alternatively you can download N98-magerun and run the sys:setup:run command to run the updates.

  • If this answer does not help you then you should also check out this answer
    – MatthijsIJ
    Commented Nov 3, 2015 at 15:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.