Thanks - that sounds interesting. Didn't know that - but this is a reason to rethink my approach.
Dirk Spannaus
Posts
-
SpamAssassin Rule for some Catch-all users in my domain -
Automatic restart of an app (especially regarding websites) after it is downThanks! Increased it and will monitor and report, if it solved it.
-
SpamAssassin Rule for some Catch-all users in my domainHi @necrevistonnezr ... right, that is also a good approach. I just didn't want to setup the alias before I start using it. I deactivate reactively now. Seems to work pretty good right now.
-
HTTP Loopback - where the server couldn't access the site which is hosted in the same serverRight, that seems to work. Looks like something within infiniteWP is the issue? I will contact their support. I wonder why the loopback check within infiniteWP fails.
-
Automatic restart of an app (especially regarding websites) after it is down@girish - the most likely reason my wordpress stops responding is this:
2024-05-19T22:56:54.000Z [Sun May 19 22:56:54.610795 2024] [mpm_prefork:error] [pid 1] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting 2
Is this something I can set?
-
HTTP Loopback - where the server couldn't access the site which is hosted in the same serverHi @girish - we again run in this issue, while we choose a workaround in January.
We can't connect from infiniteWP Panel (installed in this instance) to a LAMP instance.We came back to the loopback issue, which was also mentioned in the IWP diagnostics:
https://support.infinitewp.com/support/solutions/articles/195234-error-while-adding-a-wordpress-site-to-the-infinitewp-admin-panelShould we be able to connect from one Cloudron App to another? We even tried with the Instance "local" IP address, but had no luck.
-
SpamAssassin Rule for some Catch-all users in my domainI added the solution in my initial post. Turns out, that with the custom rule, one would need to consider the many different ways of how an email address is build up, as it takes the whole string and applies your rules. So that why it worked sometimes (like when it was written as "user@example.com", but had no match with ""user example" user@example.com").
-
Automatic restart of an app (especially regarding websites) after it is downYes, randomly the WordPress Dev instance is crashing on the well powered system, while it was running on a native vServer stable before. The application log is not telling much about the reason - how can I see the Apache log for instance? I read https://docs.cloudron.io/packaging/cheat-sheet/#logging but have trouble understanding it, @girish
-
Read only mysql access in cloudron - possible?That would make things even easier
But adding that user is also out of reach for me as Cloudron admin? -
Read only mysql access in cloudron - possible?Yes - I want to use Grafana, installed via Cloudron, to check some apps' mySQL databases.
-
SpamAssassin Rule for some Catch-all users in my domainHaving said that, a bit later it stopped working, @girish - could it be, that with maybe regularly rebuilding the spam rules, the custom ones get forgotten? I still have the rule set up, checked its syntax several times (also with help of KI ;)) ... but it's not adding that custom rule right now.(I can still verify it was working yesterday afternoon, as the type of spam had the correct rule added to X-SPAM-STATUS - while later not anymore.)Solution in the initial post.
-
Read only mysql access in cloudron - possible?Grafana recommends using a read-only user for accessing mysql databases for reporting. Absolutely valuable recommendation, as it would execute any given sql statement when setting up queries.
Is there a way to have a restricted access for Grafana?
I read the instruction from here:
https://docs.cloudron.io/guides/connect-mysql/#database-credentialsIf there is no way currently, I should add it as a feature request.
Would be great to have an read only access too. -
SpamAssassin Rule for some Catch-all users in my domain@girish looks like the rule is now for me working too. May have to do with a restart of the server / service? Also probably missed one user name or two initially
-
SpamAssassin Rule for some Catch-all users in my domainHi there,
I have certain usernames in my catchall domain that are 100% spam.I'm trying to filter them out using a custom SpamAssassin rule:DELETE MISSLEADING CODE
However, those emails are still getting through. Also, it seems the score isn't being adjusted when I check the headers. Any ideas?UPDATE:
Wrong approach. No custom rule needed. Just a regular one rule is needed. Adding to addresses into the "Custom Spamassassin rule" will do it.Nothing more - Spamassassin will add 10 points to the score.
The initial code was an over engineered approach bei KI
-
Automatic restart of an app (especially regarding websites) after it is down@girish did you have seen other reports, where internal IP traffic in WordPress dev Image causes Wordpress to crash?
-
Installation of plugins is broken in Mautic package@girish no that won't work, as the installation needs the central composer.json and also update it. It also loads more directories into the vendor directory, which is read-only in Cloudron. Did you come to some conclusion with your experiments?
Looks to me like the Mautic plugin concept doesn't work well with the Cloudron way of things.
Potential Scenarios:
- Plugins should be installed with composer, a lot of directories and the central composer.json would need to be writable... not good.
- Cloudron Mautic image would have some basic required plugins preinstalled, how to decide which? For me it would be (AWS)Mail, Custom Objects, Multi Domain plugins. Probably it would need to be different mailers. But this would increase maintenance, as plugins may have urgent updates outside of release cycles of Mautic.
- Cloudron set up like WordPress (Dev) - like a preinstall but without continuous updates of core (because that would kill customizations). A little improvement, as the initial installation is fine and working (at least causing 50% of Mautic beginners trouble otherwise).
- Cloudron self maintained on LAMP stack. Almost all the benefits of Cloudron lost.
Which other options did I miss?
-
Fail2Ban questionBut if I read https://docs.cloudron.io/security/ correctly:
"Be aware that Fail2Ban only works partially on Cloudron because most apps do not log failed authenticated attempts in a manner that Fail2Ban can parse (even if they did, Cloudron's reverse proxy hides the remote IP)."
This means it could be indeed outside traffic? When will outside traffic have an internal IP, because I also have public IPs in my log.
-
Automatic restart of an app (especially regarding websites) after it is down@girish we haven not finally found the reason. The "someone" mentioned actually is the internal IP Adress of the WordPress App. I only found one scenario in the web, when this might happen - if IPv6 is in use and the reverse proxy maps it with an internal IP. But IPv6 in our case is not enabled...
Its a specific wordpress plugin, which again and again will loaded with many of its files. Strange..
-
Automatic restart of an app (especially regarding websites) after it is downWe experience it sometimes in the last days, where WordPress went down. At least in one case, when someone hammered our site and downloaded files from a plugin for whatever reason (DDOS?). Cloudron realized, the app is "not responding".
Unfortunately we realized it quite some time later. So an automatic restart attempt, when the app is not responding, would help in this scenario.
-
Mautic dev app@mdreira by chance I found your comment
You may want to follow the discussion here: https://forum.cloudron.io/topic/10747/installation-of-plugins-is-broken-in-mautic-package/8?_=1712966003187