If, when I did the upgrade to 2.1.3, just got the setup directory on the server run the installer,
and reached the end after saying "install succesfull" gave us a write error, and he entered the manager,
I said it was the folder "setup" present, but the folder was gone,
then delete the cache and said that now the system was fine.
You advised me to reinstall everything, overwriting?
Finding myself in this problem,
I realized that in a MODx site, you should have a general backup import~export configuaracion with DB,
because if for example my clients decide to move to another server biggest or best price.
to me to re-write all the chunks, snippet, ect, because the id’s of the DB are self-generated and after a few months,
many ID’s are deleted and no reference tables will contain all the new ID’s.
If there is any plugin that already does this, dispose of your mind you have just read
Thank you for your help.
PS. for problems of English grammar, found in this message, the fault is entirely the google translator