1.24.0-2ubuntu7.20
Me too. Those are recent updates though, and it looks like they include patches for nginx2root:
https://launchpad.net/ubuntu/+source/nginx/1.24.0-2ubuntu7.20
1.24.0-2ubuntu7.20
Me too. Those are recent updates though, and it looks like they include patches for nginx2root:
https://launchpad.net/ubuntu/+source/nginx/1.24.0-2ubuntu7.20
Do we also need to be concerned about Cloudron apps' use of NginX? From the outside it isn't easy to tell which apps use it, and I seem to remember reading that the exploit can also succeed through a reverse proxy.
For now I've halted the Cloudron services, rather than turn of the entire server:
systemctl stop box docker nginx
This seems to stop all the local nginx processes. There don't seem to be any nginx updates for Ubuntu (Noble) yet, and it's still running 1.24.0-2ubuntu7.19, which is I think in the affected range.
Alas, yet another serious exploit, this time for NginX, which they've named "nginx2root"
https://xint.io/blog/nginx2root-remote-code-execution
I'm currently wondering whether to simply shut down my Cloudron server until further notice? Or is there a less intrusive mitigation?
Thanks!
Matrix can be quite puzzling, and I've just now made another effort to understand it better.
In particular, I'd like to be able to moderate a space hosted on Cloudron better - I want to manage users access and room privileges, visibilty etc.
But this appears to be entirely a room-by-room setting. I'm admin of my space, but I can't admin the rooms in it, if I didn't create them, or an existing admin granted me admin powers. This seems to be because a space is just a kind of room, and being admin of a space does not give you any special privileges over the rooms in it. (Rooms, including spaces, can be members of multiple spaces.)
The main solution to that, it appears, is to run an admin bot in all of the rooms you want to manage - IRC-style. According to Matrix's documentation here this bot is called Mjolnir. And you need to either pay someone to run it, or self-host it. It then says, "We're aware this situation is suboptimal and are working on a service so people get can mjolnir bots much more easily."
Except! I then read in this other Matrix documentation that Mjolnir is deprecated, in favour of another bot called Draupnir...
But either way - I can find scarce mention of these bots, no public services. And there's no mentions in the Cloudron forum so far, yet alone the app store.
This makes me wonder:
Thanks!
Some other references:
@girish Thanks for confirming this won't work.
BTW, why not just use the relay features of your MX?
Because our 3rd party service doesn't offer a SMTP smarthost relay service per se, just webmail and mailboxes with SMTP credentials. So I'd be forced to use that hack you mention: sending via a mailbox.
And I hesitate to do that in both cases because I'm not yet confident that email relayed from another server via this mechanism will not be scored as spam downstream. (I wonder how careful about the HELO greeting recorded in the headers, for instance, and perhaps certain SPF checks)
The bottom line would be to try it and see, but I wanted to know if Cloudron had a more SMTP relay I could use in this situation.
Perhaps I should add: is there another way than enabling the mailboxes option in the dashboard? I infer that all the Cloudron hosted apps will have access to an internal SMTP relay service - so external access to that is what I'm really after, not making Cloudron think it should be an MX server.
I'm looking into using my Cloudron server as a SMTP relay for other servers on our domain, allowing them to send notifications, password resets, etc. through credentials for a mailbox-enabled account on it.
We can update our DNS records to ensure SPF/DKIM/DMARC allow this.
However, there are some constraints:
Cloudron's option to act as a mail server is enabled, I've just not checked the box allowing Cloudron to update the DNS. This results in a warning in Cloudron's dashboard that email is incorrectly configured, and although it'd be nice to suppress that, I can live with it for the moment.
The immediate problem seems to be that we can't connect to port 25 on the Cloudron server. Our ISP (Hetzner) claims they are not blocking it, so I am wondering if something else is wrong.
Checking netstat -plant, something is listening on 0.0.0.0 on port 25 on the Cloudron server, but not port 465 or 587. More investigation reveals this to be postfix, which I don't think should be installed on Cloudron servers. Removing it, there is now nothing listening on any of the above ports.
Inspecting the output of iptables -L I can't see anything which explicitly allows SMTP ports, so perhaps Cloudron's SMTP service is not quite enabled fully.
The question is: should I be able to get this to work if the ports are genuinely unblocked?
I'm wondering if Cloudron won't support this situation for some known reason. The lack of port 465 etc. seems like a sign that it's not fully enabled the SMTP service in some way?
And, beyond that, will the DKIM headers etc. be inserted correctly on relayed mail? I would expect this to be necessary to support regular mail clients which wouldn't know the correct keys to use, but I can't check that until I can get to the point of being able to send an email.
Thanks!
Ok, it's described here: https://docs.cloudron.io/backups/#restore-app
I wasn't aware that I could, or at least not easily... trying to work out how now.
Since the update rolled out last night, on two Cloudron servers I maintain which use Nextcloud and OnlyOffice, we can now no longer open documents in OnlyOffice.
The usual splash screen appears, the loading animation begins, but no percentage shows, and it eventually times out with an error dialog saying: "Connection to the server has been interrupted"
Inspecting the browser console, I see that the websocket connection is repeatedly attempted, until eventually it fails. This is in Firefox on Linux for me, but it has been reported by users on other OSes (Windows I think) and presumably other browsers.
There appears to be no errors I can see in the OnlyOffice app server logs, or the NextCloud logs. the OnlyOffice web page indicates no problems. I've restarted the apps and the server. It still doesn't work. But as I said, the thing which makes me think it may be a problem with the update is that it is behaving like this on two Cloudron instances, running on different servers for different organisations I'm involved with.
Is there anything else I can try to work out what the problem is?
Thanks
Also just experienced this on Cloudron (v7.2.5, Ubuntu 18.04.6 LTS). I'd report this as a bug via the support panel in the Cloudron dashboard, but the "submit" button seems to be disabled even when the form is apparently filled out correctly. Therefore posting here.
Users reported that mail wasn't syncing. This is generally not well reported in the clients - in Thunderbird, it just seems to show a spinning "busy" icon when syncing. Therefore it wasn't obvious what the cause was immediately.
No obviously related errors in the Cloudron dashboard's mail logs, but these all seem to be SMTP related.
Tracked down the IMAP log in the mail container, under /var/run/dovecot.log (This doesn't seem to be accessible in the UI or documented on the Cloudron site? Be great if it was!)
This listed errors like this:
Oct 07 08:29:44 imap-login: Info: Disconnected (no auth attempts in 0 secs): user=<>, rip=REDACTED, lip=172.18.0.9, TLS handshaking: SSL_accept() failed: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown: SSL alert number 46, session=<pGuonG3qbIhQwAEL>
Validated the SSL certificate using openssl:
openssl s_client -showcerts -connect $host:993 -servername $host > $host.certcheck
This included the line:
Verify return code: 10 (certificate has expired)
I restarted the mail service.
The SSL check then seemed included this line instead:
Verify return code: 0 (ok)
Mail syncing then seemed to work normally.
So problem solved for now, but it might reoccur. I infer something isn't restarting the mail service correctly when the SSL cert is updated?
Thanks!
I've successfully connected Thunderbird's Sieve mail-filter plug-in to my Cloudron mail account, and created a range of filters.
The problem is, most of these don't seem to work. I shelved this for a while, but I'm trying to work out why, again.
I recall seeing a post in which it was said that Thunderbird's sieve plugin doesn't work with Cloudron's sieve, but I can't find it again. Is that true, and if so, why is that?
I've tried installing Snappymail and the filters are visible in the UI there, they seem like they ought to work. But they don't.
I don't think the problem is because they're working but not selecting the email I think they should, but that is still a possibility. Is there any means for testing filters against Cloudron mail? Even hacky ones...
Thanks!
@girish Thanks for the sanity check. There does seem to have been something wrong with my jekyll site creation. Trying again, it works as advertised...!? I can see a remote: => jekyll build line in the git-push output.
IIRC I did attempt this more than once earlier, and I'm not sure what was wrong.
Anyway, hopefully this thread may nevertheless be helpful for someone else getting started on this.
I've been testing out the Cloudron github pages app, using approximately the test case outlined in the earlier post here:
https://forum.cloudron.io/post/1889
Although correctly pushing the repository inside the site, so
gem install bundler jekylljekyll new my-awesome-sitecd my-awesome-sitegit initgit add .git commit -m 'initial commit'git remote add page https://my.domain/_git/pagegit push page masterAfter the push succeeds, I visit the app's URL, and I see an error:
Error: ENOENT: no such file or directory, stat '/app/data/website/404.html'
Inspecting the contents of /app/data/website/, it's not the built version of the site. It looks like a copy of the latest master branch commit, which intentionally has no 404.html, nor an index.html file.
Shouldn't the app have built the site, and published the result in /app/data/website/?
At the very least I'd have expected some evidence of a _site folder or log entries showing that Jekyll has been run. The logs simply show:
Jun 27 12:01:17 => First run, create bare repo
Jun 27 12:01:17 Initialized empty Git repository in /app/data/repo.git/
Jun 27 12:01:17 => Install welcome page
Jun 27 12:01:17 => Update welcome page
Jun 27 12:01:17 => Ensure git hook
Jun 27 12:01:17 => Ensure permissions
Jun 27 12:01:17 => Run server
Jun 27 12:01:17 Listening on port 3000
Jun 27 12:01:17 Using git repo at /app/data/repo.git
Jun 27 12:01:17 Serving up directory /app/data/website
Jul 05 11:25:59 git: info {}
Jul 05 11:26:11 git: info {}
Jul 05 12:01:34 git: info {}
Jul 05 12:01:40 git: info {}
Jul 05 12:01:40 git: push {
Jul 05 12:01:40 head: '5c044c8e60311e7bb76c61817d3c3b65eededd46',
Jul 05 12:01:40 last: '0095e37ae41807050bb92ead9279c38dfc84151bb247',
Jul 05 12:01:40 refname: 'refs/heads/master',
Jul 05 12:01:40 ref: 'heads',
Jul 05 12:01:40 name: 'master',
Jul 05 12:01:40 branch: 'master'
Jul 05 12:01:40 }
Jul 05 12:01:52 Error: ENOENT: no such file or directory, stat '/app/data/website/404.html'
I was wondering if the build is failing because of Jekyll version differences.
I attempted to match the version exactly. Unfortunately the latest version of Jekyll mentioned in the updates thread (3.8.7) won't install due to errors (Bundler could not find compatible versions for gem "kramdown"), so I used the next version up which will install, 3.9.2. (I note Jekyll has a 4.0 series now).
I'm not sure how crucial that version for the app to work correctly - but I don't see any errors in the logs, so I can only assume it's okay to have a slight difference? If the Github Pages app is very sensitive to version differences in Jekyll, how would I deal with errors such as the one above, due to changes in compatible versions of other gems?
@nebulon I expected it to indicate the absence of LDAP integration in the app's panel on the app store (and the my-apps list). See my other reply above.
Although there is an account setup screen, I don't think that necessarily makes it clear that the application hasn't also got LDAP integration. It could plausibly need a separate administrator account set up for some unknown technical reason, and yet have access for the Cloudron users.
(My previous Cloudron application installs are so few and long ago I don't remember all the details of what to expect!)
I guess what confused me is that the "dashboard visibility" option there does look a bit like you're allowing access to members, especially as there's no mention of that LDAP integration option which could go here but doesn't. You need to have seen that option on another app to know that is missing.
What would probably be clearer would be to mention something like "This application does not integrate with Cloudron's account management" or words to that effect on that panel. (I believe I've seen this somewhere else, thought it was here, and expected to see it as a consequence.)
Stating this on the app store description would also make sense?
Thanks @jdaviescoates. In other cases, the Cloudron panel in the app store explains that there is no authentication integration - for n8n, I believe it doesn't. This would be useful! Without it, I'll need to rely on that table - which I hadn't found before.
On starting to use the n8n application, I'm prompted to create an owner user log-in. This allows me access fine.
However, I am under the impression that any Cloudron user should be able to access this application. The log-in requires an email address as the user-name, so I can't simply use my Cloudron user name as it doesn't have the right form. But trying to use the primary email address of my user doesn't seem to work either.
The Cloudron docs for n8n don't mention how to do this, so would someone be able to clarify that for me?
Thanks
(PS I've scanned through the other posts in this category - I don't see an obvious answer here. But maybe I should add that I don't have 2FA enabled on my account!)
@girish I've written non-trivial Sieve filters before, Dovecot supports it (which the server in question uses, and I believe, Cloudron). So far as I know (and scanning through the extensions in those docs) it doesn't really support storing state between filter runs which will allow aliases to be disabled.
So I think the best I could hope for is to use wildcard aliases, and manually block spammy ones using sieve filters. This wouldn't be very user friendly, so this seems to be a potential show-stopper.
(Possibly something external to Haraka could be inserted into the mail delivery process?)
Thanks!