I've updated my local site with composer. Now I'm trying to update the production one:
- Go to Cpanel.
- On my local computer, take the local web folder and delete in it all 1-level files that are non-folders, and the sites folder.
- Make a zip archive from the rest of the folders and upload it production (delete the invisible files too).
- Delete on production all folders except the sites folder into trash.
- Unzip the uploaded archive.
- Change permissions for the uploaded folders:
find /home/zb/public_html/core -type d -exec chmod 755 {} \; find /home/zb/public_html/libraries -type d -exec chmod 755 {} \; find /home/zb/public_html/modules -type d -exec chmod 755 {} \; find /home/zb/public_html/profiles -type d -exec chmod 755 {} \; find /home/zb/public_html/themes -type d -exec chmod 755 {} \; find /home/zb/public_html/vendor -type d -exec chmod 755 {} \;
- Reload the production site and it says that it encountered an unexpected error.
I've looked at error_log file and saw this:
Uncaught PHP Exception Drupal\Core\Entity\EntityStorageException: "Field uses_legacy_adjustments is unknown." at /home/zb/public_html/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php line 829
What do I do wrong? How to make the site work?