Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Mautic 4.0 500 error with Configuration page

Scheduled Pinned Locked Moved Solved Mautic
25 Posts 5 Posters 1.4k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • luckowL Offline
    luckowL Offline
    luckow translator
    wrote on last edited by girish
    #1

    My instance throws some 500 errors every time I submit/save the system settings/Configuration page

    [2021-09-15 11:15:14] mautic.NOTICE: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'ALTER TABLE oauth2_clients ADD CONSTRAINT FK_CLIENT_ROLE FOREIGN KEY (role_id) REFERENCES roles (id)': SQLSTATE[HY000]: General error: 3780 Referencing column 'role_id' and referenced column 'id' in foreign key constraint 'FK_CLIENT_ROLE' are incompatible. (uncaught exception) at /app/code/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 128 while running console command `doctrine:migrations:migrate` [] []
    [2021-09-15 11:15:14] mautic.WARNING: Command `doctrine:migrations:migrate` exited with status code 1 [] []
    [2021-09-15 09:16:56] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Form\Exception\UnexpectedTypeException: "Expected argument of type "null or string", "boolean" given" at /app/code/vendor/symfony/form/Extension/Core/DataMapper/RadioListMapper.php line 49 {"exception":"[object] (Symfony\\Component\\Form\\Exception\\UnexpectedTypeException(code: 0): Expected argument of type \"null or string\", \"boolean\" given at /app/code/vendor/symfony/form/Extension/Core/DataMapper/RadioListMapper.php:49)"} []

    Need to test it with a fresh installation.

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #0

    We have updated mautic to 4.1 now.

    mdreiraM 1 Reply Last reply
    2
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #2

    For automatic backups that is always the case, otherwise it is of course also recommended to always make one and not skip it.

    1 Reply Last reply
    1
  • luckowL Offline
    luckowL Offline
    luckow translator
    wrote on last edited by luckow
    #3

    same problem with a fresh installation.
    f46a1562-14e8-4168-a895-2afce9b0390e-grafik.png

    To reproduce: install the mautic app in version 4.0, open the dashboard with the default admin user, select configuration from the dropdown, click on save & close. Boom.

    Pronouns: he/him | Primary language: German

    nebulonN 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to luckow on last edited by
    #4

    @luckow I can reproduce it easily, I will revoke that package release for a start.

    1 Reply Last reply
    2
  • V Offline
    V Offline
    Vladimir
    wrote on last edited by Vladimir
    #5

    When I try to update I get this error:

    The Mautic update could not complete successfully because of the following error: Could not extract the contents of the ZIP archive to the filesystem.

    girishG luckowL 2 Replies Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to Vladimir on last edited by
    #6

    @vladimir We have revoked the release for now. Looks like some bugs in mautic 4.0 . We have to wait for a patch release.

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by girish
    #7

    I found a couple of related issues in the upstream forum - https://forum.mautic.org/t/error-500-bei-formular-ohne-rendering-stil-speichern/20916 and https://forum.mautic.org/t/mautic-4-speichern-von-formularen-kommt-error-500/20901 . Also, https://forum.mautic.org/t/mautic-form-preview-form-submission-500-error/20623/3

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #8

    The upstream issue is https://github.com/mautic/mautic/issues/10450 and https://github.com/mautic/mautic/issues/10453

    1 Reply Last reply
    0
  • luckowL Offline
    luckowL Offline
    luckow translator
    replied to Vladimir on last edited by
    #9

    @vladimir Updating from inside Mautic itself does not work because the file system for the core files is read-only. Only templates, plugins, and other editable configuration files are on a read/write partition. To update your Cloudron apps, go to the my.cloudron dashboard and check for updates for your apps. The default setting for apps is: auto-update.

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    0
  • mdreiraM Offline
    mdreiraM Offline
    mdreira translator
    wrote on last edited by
    #10

    Hi guys! How is going the development of Mautic 4 on cloudron? I think the update to 4.0.1 is out.

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to mdreira on last edited by girish
    #11

    @mdreira there is no fix upstream - https://github.com/mautic/mautic/issues/10453 . I had left a note there last week, let's see.

    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #12

    Mautic 4.0.2 also still has this issue...

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #13

    We have updated mautic to 4.1 now.

    mdreiraM 1 Reply Last reply
    2
  • mdreiraM Offline
    mdreiraM Offline
    mdreira translator
    replied to girish on last edited by
    #14

    @girish I just upgraded to Mautic 4.1 from an install that was working with version 3.3.4 (not a clean install, it has content).

    Channels/Emails section is not working: https://prnt.sc/26j9ypp

    And if I force to search the url /s/emails it gives me error 500: https://prnt.sc/26j9z9z

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to mdreira on last edited by
    #15

    @mdreira See https://forum.cloudron.io/topic/6270/installing-mautic-4-x/7

    mdreiraM 2 Replies Last reply
    0
  • mdreiraM Offline
    mdreiraM Offline
    mdreira translator
    replied to girish on last edited by
    #16

    @girish done! Now working.

    1 Reply Last reply
    1
  • mdreiraM Offline
    mdreiraM Offline
    mdreira translator
    replied to girish on last edited by
    #17

    @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.

    😱

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to mdreira on last edited by
    #18

    @mdreira might be worth asking this upstream, maybe it's a theme issue that things are not getting translated?

    mdreiraM 1 Reply Last reply
    0
  • mdreiraM Offline
    mdreiraM Offline
    mdreira translator
    replied to girish on last edited by
    #19

    @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.

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to mdreira on last edited by
    #20

    @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.

    mdreiraM 2 Replies Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks