Switch to Composer-based installation
-
Guess what:
https://docs.mautic.org/en/setup/switch-to-composerUp 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
-
-
-
@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.
Though when we try to update it seems we cannot do it because files cannot be extracted because of dir permission of all evidences.
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.
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.
-
I see something like this:
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.
-
@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...
-
@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.