Mautic 4.0 500 error with Configuration page
-
@girish There is other problem with the Spanish translation with the update: https://prnt.sc/26jag0t
If I create a fresh install spanish translation looks fine.
I have no idea what to do to solve it, I have several installations working, I can't create them all from scratch.
-
@girish It looks like a problem that comes when updating, because if I create a new installation of mautic it looks correct: https://prnt.sc/26jixzv
Surely it will be necessary to delete some other folder from the new grapejs email builder, because that is where the translation problem comes from.
Not everything is translated into Spanish, but at least it doesn't look so weird.
-
@mdreira possibly, we need to clean something up in the themes. Unfortunately, mautic has no clear upgrade instructions to mautic 4 wrt themes afaict. The whole thing is a bit of a trial and learning from errors, which is why we pushed mautic 4 as a major upgrade (i.e it does not update the app automatically).
One idea is to take a backup, delete the grapejs theme entirely and restart the app. The app package copies the "latest" code from the release bundle when files are missing. Maybe that fixes the issue.
-
@girish I deleted all mautic translations folder, the themes you commented before and the grapejs plugin. Then I restarted app.
Mautic took a while to load all the changes (maybe it was the cache), but it worked!
I can now see everything in Spanish.
Thank you!
-
@girish I think I have found the problem with the translation of grapejs to Spanish. I don't know if it will happen with other translations.
This folders was missing: https://prnt.sc/26jrlw7
When I restart the app upgraded to Mautic 4, those folders are not added inside translations/es
I hope this helps.
-
@mdreira Interesting find. So, atleast upstream that directory is empty - https://github.com/mautic/mautic/tree/4.x/translations and also in the release zip file - https://github.com/mautic/mautic/releases/tag/4.1.2 . Do you remember if you had to upload the spanish translations yourself?
-
Ah, I see. Per https://docs.mautic.org/en/translations , it seems it downloads translations from Transifex - https://docs.mautic.org/en/translations#how-to-update-a-language .
-
@girish Do you remember if you had to upload the spanish translations yourself? No, I copied the translations from a clean install of Mautic 4 on Cloudron. In a clean Mautic installation, it does upload the translation folders.
It would be necessary to check if the grapejs translation files is complete, because there are many words missing to translate into Spanish.