After having upgraded two separate Umbraco installations both the dbo.umbracoApp and dbo.umbracoAppTree tables have been damaged and are totally empty. No columns, no keys, nothing.
Originally both installations were version 4.5.2 and has been continously upgraded all the way to 4.11.10 (and one even to 6.1.4).
Unfortunately I didn't notice that anything was wrong until yesterday where I suddenly had to edit a User profile (not Member) on one of the installations. This gives an "object reference not set to an instance of an object" error. I check with the other installation, which gave me the same error. I've been googling for many hours checking out all sorts of ways to find out what's wrong ... and suddenly I found out that the above mentioned tables are completely damaged.
Does anybody know what might have caused the problem ... and will it be possible to restore these tables? It's a pretty big installation including a TeaCommerce webshop, that also has been upgraded along the way.
Please help. If needed I'll supply with all possible details.
I've never seen an issue like this but I'm thinking about if you have a backup of the database? Have you been able to see something in the log files/tables?
Those tables were removed in v.6.0.0 and haven't been used since.
If you are only on 4.11 then a foreign key has been removed for each of those tables as far as I remember. So maybe revisit the db schema for each of your installs and ensure that the schema corresponds to that of a clean install of the same version
Maybe your TeaCommerce package isn't properly installed? The UmbracoLanguageId doesn't exist and as its not a column in any of the Core tables it most be something that TeaCommerce added.
Still think the best thing you can do is to make a clean install along with TeaCommerce and compare the db schema between the clean/fresh install and the one causing you problems.
Issue with dbo.umbracoApp and dbo.umbracoAppTree
After having upgraded two separate Umbraco installations both the dbo.umbracoApp and dbo.umbracoAppTree tables have been damaged and are totally empty. No columns, no keys, nothing.
Originally both installations were version 4.5.2 and has been continously upgraded all the way to 4.11.10 (and one even to 6.1.4).
Unfortunately I didn't notice that anything was wrong until yesterday where I suddenly had to edit a User profile (not Member) on one of the installations. This gives an "object reference not set to an instance of an object" error. I check with the other installation, which gave me the same error. I've been googling for many hours checking out all sorts of ways to find out what's wrong ... and suddenly I found out that the above mentioned tables are completely damaged.
Does anybody know what might have caused the problem ... and will it be possible to restore these tables? It's a pretty big installation including a TeaCommerce webshop, that also has been upgraded along the way.
Please help. If needed I'll supply with all possible details.
Thx
Søren
Hi Søren
I've never seen an issue like this but I'm thinking about if you have a backup of the database? Have you been able to see something in the log files/tables?
/Jan
Those tables were removed in v.6.0.0 and haven't been used since. If you are only on 4.11 then a foreign key has been removed for each of those tables as far as I remember. So maybe revisit the db schema for each of your installs and ensure that the schema corresponds to that of a clean install of the same version
/ Morten
Hi Jan and Morten.
Thanks for your input. The removed tables explains why they are empty ... although they are also empty on the 4.11.8 installation.
But on the same note, how do you explain - if possible - the reason for the "object reference not set..." error when trying to edit a User?
And when I'm trying to open up the Tea Commerce section I get this error ... don't know if they are related:
Server Error in '/' Application.
Invalid column name 'UmbracoLanguageId'.
Maybe your TeaCommerce package isn't properly installed? The UmbracoLanguageId doesn't exist and as its not a column in any of the Core tables it most be something that TeaCommerce added.
Still think the best thing you can do is to make a clean install along with TeaCommerce and compare the db schema between the clean/fresh install and the one causing you problems.
/ Morten
is working on a reply...