The content reversion issue was reported during the production deployment of a new module on the Craft CMS site.
To address this issue, we suspect the below deployment scripts are causing the content reversion problem. So, we manually executed these deployment scripts on the staging server including the following: ./craft migrate/all ./craft project-config/apply ./craft clear-caches/data ./craft project-config/rebuild
During this investigation, we were able to replicate the content reversion issue specifically while running the php craft project-config/apply command in the terminal. Below is the screenshot for your reference,
Therefore, we suspect that there might be an inherent glitch within the Craft CMS. Below are the Application & server details of the site, please help us to understand the issue better and to avoid this kind of issue in the future.
- PHP version 8.2.10
- OS version Linux 5.15.0-1044-aws
- Database driver & version MySQL 5.7.42
- Craft edition & version Craft Pro 4.5.3