What is the point of WordPress (Managed)?
-
Out of curiosity, what is the difference between WordPress Unmanaged and just installing WordPress inside of the LAMP app? It'd be more configuration at first in the LAMP app, that's about all I can think of. Am I maybe missing something?
I did a test today and deployed WordPress in a LAMP app, and it did really well after tweaking some things in wp-config.php and adding in the WP Mail SMTP plugin and modifying it's wp_mail_smtp.php file. The tweaks of course were just using the getenv() PHP variables setup from credentials.txt in the LAMP app, which makes it dynamic so I could setup a template WordPress and copy from there to a different domain without needing to manually setup a bunch of stuff.
This makes me wonder... wouldn't one approach (and I had sort of suggested this earlier in this thread too) be to just publish/manage the Managed one, and those of us who want to use the Unmanaged version can effectively just deploy it in a LAMP stack? Of course, no matter what I still lose LDAP which I hope to see resolved in the future for either the Unmanaged app or LAMP app, but that won't impact the WordPress app either way anyways no matter what the deployment is.
Seems to me Cloudron could just stick to the managed apps (since every other app is managed anyways) and those who want to deviate from that can use the LAMP stack instead, as I was able to do today in a test.
Maybe I'm missing something though?
@d19dotca said in What is the point of WordPress (Managed)?:
Out of curiosity, what is the difference between WordPress Unmanaged and just installing WordPress inside of the LAMP app?
Until 2-3 releases ago, the main way to get "code" into the LAMP stack was via SFTP (i.e no file manager). We used to get like one support request everyday asking how to install WordPress into LAMP stack because SFTP will fail in many ways (you have to open port 222, people forget sftp:// in filezilla, cloudron SFTP username has two "@" and is sometimes is rejected by clients etc). Our solution was to make a LAMP stack with WP pre-installed, which is essentially Unmanaged WordPress
The other thing Unmanaged WP app has is the WP CLI. It's very useful for automation.
-
Cool - WP CLI is essential for us - good to know.
-
@d19dotca said in What is the point of WordPress (Managed)?:
Out of curiosity, what is the difference between WordPress Unmanaged and just installing WordPress inside of the LAMP app?
Until 2-3 releases ago, the main way to get "code" into the LAMP stack was via SFTP (i.e no file manager). We used to get like one support request everyday asking how to install WordPress into LAMP stack because SFTP will fail in many ways (you have to open port 222, people forget sftp:// in filezilla, cloudron SFTP username has two "@" and is sometimes is rejected by clients etc). Our solution was to make a LAMP stack with WP pre-installed, which is essentially Unmanaged WordPress
The other thing Unmanaged WP app has is the WP CLI. It's very useful for automation.
@girish All of this is achievable in LAMP app today though, right? I was able to make a pretty good WordPress install in LAMP yesterday that I could clone from to new domains and it all updated accordingly, mail would send, etc. Just makes me wonder if it's something we can just have those interested in an unmanaged WP do just to keep things "clean" on Cloudron. But maybe that's not desirable by the community, in which is that's fine, just thought I'd suggest it after having tried it with success.
-
@girish All of this is achievable in LAMP app today though, right? I was able to make a pretty good WordPress install in LAMP yesterday that I could clone from to new domains and it all updated accordingly, mail would send, etc. Just makes me wonder if it's something we can just have those interested in an unmanaged WP do just to keep things "clean" on Cloudron. But maybe that's not desirable by the community, in which is that's fine, just thought I'd suggest it after having tried it with success.
@d19dotca said in What is the point of WordPress (Managed)?:
@girish All of this is achievable in LAMP app today though, right?
Yes, that's correct. Many our LAMP apps are also the same btw, it's not specific to WordPress
For example, say shaarli, invoice ninja, mediawiki, moodle etc. One can just spin up a LAMP stack and install them. It's just a lot of error prone work. As an example, one has to also setup cron jobs in LAMP stack (did you remember to do that for WP?). So, I would say, the benefit is that by specializing packages, you get some of this learnt knowledge automated.
-
@d19dotca said in What is the point of WordPress (Managed)?:
Out of curiosity, what is the difference between WordPress Unmanaged and just installing WordPress inside of the LAMP app?
Until 2-3 releases ago, the main way to get "code" into the LAMP stack was via SFTP (i.e no file manager). We used to get like one support request everyday asking how to install WordPress into LAMP stack because SFTP will fail in many ways (you have to open port 222, people forget sftp:// in filezilla, cloudron SFTP username has two "@" and is sometimes is rejected by clients etc). Our solution was to make a LAMP stack with WP pre-installed, which is essentially Unmanaged WordPress
The other thing Unmanaged WP app has is the WP CLI. It's very useful for automation.
@girish said in What is the point of WordPress (Managed)?:
@d19dotca said in What is the point of WordPress (Managed)?:
Out of curiosity, what is the difference between WordPress Unmanaged and just installing WordPress inside of the LAMP app?
Until 2-3 releases ago, the main way to get "code" into the LAMP stack was via SFTP (i.e no file manager). We used to get like one support request everyday asking how to install WordPress into LAMP stack because SFTP will fail in many ways (you have to open port 222, people forget sftp:// in filezilla, cloudron SFTP username has two "@" and is sometimes is rejected by clients etc). Our solution was to make a LAMP stack with WP pre-installed, which is essentially Unmanaged WordPress
The other thing Unmanaged WP app has is the WP CLI. It's very useful for automation.
Youβre forgetting the minutely Docker cron that you spawn whilst disabling WPβs built in WP-Cron (for good reason, itβs unreliable).
-
@d19dotca said in What is the point of WordPress (Managed)?:
@girish All of this is achievable in LAMP app today though, right?
Yes, that's correct. Many our LAMP apps are also the same btw, it's not specific to WordPress
For example, say shaarli, invoice ninja, mediawiki, moodle etc. One can just spin up a LAMP stack and install them. It's just a lot of error prone work. As an example, one has to also setup cron jobs in LAMP stack (did you remember to do that for WP?). So, I would say, the benefit is that by specializing packages, you get some of this learnt knowledge automated.
@girish That's fair, good point. It's good knowing I can at least run them all in LAMP though if I needed to, my test last night was really just me seeing if I could do it all on my own, haha, then it got me thinking more about the difference between the two.
Curious... any ETA on when the Unmanaged once will come with LDAP? I think that's a highly requested feature for a while now. I know you mentioned before there was a reason to not include it with LDAP when it already had SFTP, but unsure if that's still a current vulnerability or not. If it helps, I could try making the changes needed to implement LDAP by forking the repository if that helps at all.
-
@girish That's fair, good point. It's good knowing I can at least run them all in LAMP though if I needed to, my test last night was really just me seeing if I could do it all on my own, haha, then it got me thinking more about the difference between the two.
Curious... any ETA on when the Unmanaged once will come with LDAP? I think that's a highly requested feature for a while now. I know you mentioned before there was a reason to not include it with LDAP when it already had SFTP, but unsure if that's still a current vulnerability or not. If it helps, I could try making the changes needed to implement LDAP by forking the repository if that helps at all.
@d19dotca We'll be needing to solve this LDAP connection need too.
-
I can help with LDAP integration if the devs need help figuring out an implementation. Just wanted to throw my offer out there if it helps other's get up and running on Cloudron faster.
οΈ
@Lonk Cool - I feel a new Wordpress (Hyper Edition) coming on