Upgrade to 3 deleted modx_site_content!

Summary

I upgraded from 2.8 to 3.0.5 and after upgrade the site is broken because the table modx_site_content is gone. This is the SECOND time this has happened. Before it was a different site to an earlier 3 stable build maybe 6 months ago.

Obviously I can easily restore my site from backup and try again (that’s what I did last time) but this should not be happening. Would be great if y’all could figure out how to prevent this.

Everything did go smooth as usual during the upgrade including success message, but obviously wasn’t successful.

Any insight or devs fixing this error would be appreciated.

I never heard of anybody else having this problem.

So this is not reproducible? The second time you run the same upgrade, modx_site_content doesn’t get deleted anymore?


I honestly have no idea, why MODX would delete the table modx_site_content during the upgrade. And I couldn’t find any code that would do this either.

Did you use the UpgradeMODX extra to do the upgrade?

Are you sure you were looking in the correct database to check for the site_content table?

Is the table missing, or just empty?

This sounds like user error.