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

Switch to Composer-based installation

Scheduled Pinned Locked Moved Mautic
9 Posts 3 Posters 466 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
    #1

    Guess what:
    https://docs.mautic.org/en/setup/switch-to-composer

    Up until Mautic 4, users could download Mautic as a ZIP file and install it on any PHP server. [...] Next to that, Mautic recently introduced the Marketplace which isn't compatible with this installation method.
    

    To be compatible with the Marketplace (and because the next major version of Mautic will use Composer as the default method), we should switch to the Composer-based installation in the app package.

    I have no idea what that means in terms of time commitment, but I'm willing to test. Ping me if you need testers 🙂

    Pronouns: he/him | Primary language: German

    girishG 1 Reply Last reply
    2
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to luckow on last edited by
    #2

    @luckow It already uses composer.

    luckowL 1 Reply Last reply
    2
  • luckowL Offline
    luckowL Offline
    luckow translator
    replied to girish on last edited by
    #3

    @girish 7866d78b-5002-4428-99ef-38f99568151e-image.png
    (Information from a Cloudron Mautic.app Backend)

    Pronouns: he/him | Primary language: German

    girishG 1 Reply Last reply
    1
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to luckow on last edited by
    #4

    @luckow Oh thanks, we do use composer to install the deps. I think they want to install mautic itself via composer.

    micmcM 1 Reply Last reply
    1
  • micmcM Offline
    micmcM Offline
    micmc
    replied to girish on last edited by micmc
    #5

    @girish said in Switch to Composer-based installation:

    @luckow Oh thanks, we do use composer to install the deps. I think they want to install mautic itself via composer.

    What @luckow is referring to is that plugins can be installed by accessing the marketplace from within the Mautic app now.

    The screenshot above is what we can see from inside the app stating we cannot use the market place because it claims we're not using Composer.

    Now, that brings another issue with that Composer thing apparently.

    My installation is running 4.4.0, this is what we see at the bottom of the page inside my Mautic app. Though the update module of my Mautic installation in Cloudron says my version is 4.1.1

    Apparently we need to apply that update within Mautic as well so it'd be completed. We receive this notification inside the app.
    mautic update notification.png


    Though when we try to update it seems we cannot do it because files cannot be extracted because of dir permission of all evidences.
    mautic update stopped.png


    We are being told that updating through the UI is deprecated and won't work anymore with version 5, with the notification of the update available.
    update available in mautic.png


    But as we can see, the update you push to Cloudron is not updating the app itself, the app is assuming we're not yet using Composer, and file permission is preventing us from manually applying the update to the app. 😞

    Here's the log after the missed update:

    Aug 16 15:18:28 [Tue Aug 16 19:18:28.687822 2022] [php7:warn] [pid 35418] [client 172.18.0.1:45860] PHP Warning: ZipArchive::extractTo(): Read-only file system in /app/code/app/bundles/CoreBundle/Controller/AjaxController.php on line 522, referer: https://the.mautic.app/s/update
    

    It seems there's some update path that needs to be reviewed. Otherwise, the app works great.


    https://marketingtechnology.agency
    For cutting edge web technologies

    girishG 1 Reply Last reply
    2
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #6

    I see something like this:

    855d783f-8c04-4a7d-8669-440bb152b8cb-image.png

    There are only 4 things listed and all are very old. https://www.mautic.org/marketplace has a lot more but they don't get listed, looks like they are still building it.

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to micmc on last edited by
    #7

    @micmc said in Switch to Composer-based installation:

    My installation is running 4.4.0, this is what we see at the bottom of the page inside my Mautic app. Though the update module of my Mautic installation in Cloudron says my version is 4.1.1

    I guess you meant 4.4.1. This I can confirm, something is odd...

    micmcM 2 Replies Last reply
    2
  • micmcM Offline
    micmcM Offline
    micmc
    replied to girish on last edited by
    #8

    @girish said in Switch to Composer-based installation:

    @micmc said in Switch to Composer-based installation:

    My installation is running 4.4.0, this is what we see at the bottom of the page inside my Mautic app. Though the update module of my Mautic installation in Cloudron says my version is 4.1.1

    I guess you meant 4.4.1. This I can confirm, something is odd...

    Yes, 4.4.1 is what I meant.


    https://marketingtechnology.agency
    For cutting edge web technologies

    1 Reply Last reply
    0
  • micmcM Offline
    micmcM Offline
    micmc
    replied to girish on last edited by
    #9

    @girish Amazing!

    The new update has fixed the above described problem and we have been able to update and are now running version 4.4.2 of Mautic.

    Great job! Thanks.


    https://marketingtechnology.agency
    For cutting edge web technologies

    1 Reply 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
  • Login

  • Don't have an account? Register

  • Login or register to search.