I think documentation is part of development, thats why I post it here.
I ran through the documentation of the update process for composer based instances:
https://docs.mautic.org/en/5.x/getting_started/how_to_update_mautic.html
Here is my feedback:
Part “Follow the steps below to update your core files.”
- Is clear and its working.
- No clue, contains not enough information for the average trained and technically interested Mautic user.
- and 4. same as 2.
- those steps are partly wrong or dangerous:
1. bin/console cache:clear
2. bin/console mautic:update:apply --finish
3. bin/console doctrine:migration:migrate --no-interaction
4. bin/console doctrine:schema:update --no-interaction --force
5. bin/console cache:clear
- works fine
- error “You have Composer updates enabled. This means that you can only update Mautic through the ‘composer update’ command” … sounds to me like wrong step for this setup.
- ran through
- not sure, if that should really be forced? also see this warning: “[CAUTION] This operation should not be executed in a production environment!” So what to do in a production environment?
- as step 1, ok
Could maybe an experienced developer have a look about the documented upgrade path? It should be intended for production and be better understandable.
Which way can we update docs as contribution?