I just updated mautic from 4. something, up to the latest version 6.0.
I used the commandline, the following steps:
php bin/console mautic:update:find
php bin/console mautic:update:apply
php bin/console mautic:update:apply --finish
The last command gave the following output:
php bin/console mautic:update:apply --finish
Step 1 [>---------------------------] Migrating database schema…
An error occurred while updating the database. Check log for more details.
However, the error_log is empty. Is there another log I should check? Should I be worried? I can still log in, and most things seem to work.
After trying some more things in the system, it turns out that not everything is ok and working. Some items, like a contact, or a segment, shows up in the list, but I was not able to click the item and edit it.
I have successfully reverted back to 5.2.4, and will stay there for a while.
If it would be of any help, I can try the upgrade again, but maybe I would need some more pointers where to look for errors etc. I’m quite new to Mautic, not very good at php but I know my way around a linux system from the command prompt or a SQL database.
Just some pointers, depending on which webserver you installed and configured you should be able to check out logs for example for nginx in /etc/logs/nginx/mautic.access and mautic.error logs.
Mautic also generates their own logs in /var/logs/. they are stored in date format and the latest is usually with the date of the day you are looking on. (These logs can be seen as well inside the UI from Configuration/System Info/Logs).
Besides that always good to check out inspect in your web browser and look for any console error messages.
We spun up a version of 6 for testing, if you want, you can PM me and i can give you login details or you can get them here if you want to just give it a spin.