salesagility / SuiteCRM-Core

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
169 stars 117 forks source link

Update scripts deletes files with no warning #475

Open pgorod opened 2 months ago

pgorod commented 2 months ago

Issue

Currently it seems that the update scripts use a diff to make changes to the SuiteCRM directory, causing any extraneous files and directories to just get deleted without any warning.

In the Forums some people have mentioned this. One person had backups created in the SuiteCRM directory, and they disappeared.

https://community.suitecrm.com/t/filter-using-advanced-filter-date-between-start-date-and-end-date-failed-with-7-14-and-8-5/92644/4?u=pgr

Expected Behavior

"Installation cannot continue because there are unknown files or folders that would be deleted. Please move them and try again".

./bin/console suitecrm:app:upgrade -t SuiteCRM-8.6.0 -deleteAllExtraneousFiles

If that is the only way to proceed and get things installed, then people will necessarily become aware.

chris001 commented 2 months ago

Silent 🤭 loss ♻️ 🗑️ of user generated files is bad. 😞