Search code examples
odooodoo-10qweb

odoo Missing dependencies qweb (After DB restore)


ERROR

So after restoring a database dump the frontend resources appear to be corrupted on my Odoo installation.

I do not see what I would consider to be critical errors in the server logs and all the resources appear to load correctly (No 404 errors).

I have heard people having similar issues after an database restore if they do not backup the filestore as well. So I am leaning towards this being a filestore <--> DB issue (ie. the db is referencing items in the filestore that have been moved, although I have seen no error indicating this).

Does anyone have any advice on how to best debug this issue?

Also... full disclosure, I have posted this on Odoo's forum as well (go ahead and hate me for that if you will). Here is the posting odoo Missing dependencies qweb


Solution

  • Sorry Sudhanshu, I am going to post the answer for this. And thanks again for all your help last night. That was epic!

    This answer will likely not help anyone. The solution to the problem was rather unique and unexpected. The Main Layout template for the front end was overridden. The new layout was missing critical components which included the csrf_token. Without this Qweb could not properly load and as a result many other modules failed which had Qweb as a dependency or referenced the csrf_token.

    I have no explanation for the overridden template, except "It wasn't me".