Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

Support

Get help for your Cloudron

3.3k Topics 23.2k Posts
  • 🤔 Cloudron External SMTP > Mail-in-a-box SMTP > ECONNREFUSED

    Solved relay email smtp
    10
    1
    0 Votes
    10 Posts
    2k Views
    girishG
    The root cause for this was the Cloudron server had the hostname as "box.domain.com" (same as the relay). Debian/Ubuntu has a quirk that it will put the hostname in /etc/hosts to resolve as 127.0.1.1. This meant that when we try to set it as relay, it resolves to 127.0.1.1 instead of the actual IP. To add to the confusion, I suggested using the host command which does not use /etc/hosts (i.e the nsswitch mechanisms) and uses only the DNS. If I had suggested using ping then we would have narrowed down the issue more quickly... Anyway, the fix is simply to hostnamectl set-hostname somethingelse.domain.com and also edit /etc/hosts (for some reason, hostnamectl doesn't change hosts file even after reboot, ).
  • Change "You found a Cloudron out in the wild!" page?

    Solved branding error page customization
    10
    4 Votes
    10 Posts
    2k Views
    girishG
    @jlx89 You can just create that directory. It's customizable now with notfound.html - https://docs.cloudron.io/branding/#custom-pages
  • App can not be uninstalled

    Solved appstore uninstall dns
    3
    1
    0 Votes
    3 Posts
    781 Views
    GrienauerG
    a restart dit the trick! thank you.
  • Disaster recovery - Restoring a backup

    Solved restore backups uninstall
    8
    3
    2 Votes
    8 Posts
    2k Views
    cbeamsC
    @girish wrote: Are you able to open a request [for this]? Done, thanks: https://forum.cloudron.io/topic/4306/provide-ui-support-for-choosing-app-package-version-during-installation
  • TTRSS - API Invalid ID

    Solved
    17
    0 Votes
    17 Posts
    3k Views
    J
    @girish That did the trick, thank you so much!
  • Cloudron crashing every ~30 minutes on new install

    19
    1 Votes
    19 Posts
    3k Views
    P
    @girish Thank's a lot!
  • Subdomain CNAME alias to Heroku DNS still ends up at Cloudron

    dns
    3
    0 Votes
    3 Posts
    691 Views
    nebulonN
    @meaculpa hehe I was just about to comment here, since I wasn't able to reproduce it on my side. Glad it worked out now for you. Always good to have such topic for others to find if they hit the same issue in the future.
  • gmail blocks my server?

    Solved email gmail relay
    12
    0 Votes
    12 Posts
    3k Views
    jdaviescoatesJ
    @drpaneas said in gmail blocks my server?: @jdaviescoates I have cloudron installed at home. Ah, right.
  • Destroy data before moving to a new server

    migration
    8
    0 Votes
    8 Posts
    2k Views
    girishG
    Depending on the provider, they already zero things out. For example, DO does this. Of course, you have to trust your provider.
  • hostPath does not exist

    Solved volumes
    5
    1
    0 Votes
    5 Posts
    1k Views
    girishG
    @drpaneas Ah thanks, I think I found the bug. It seems a "permission denied" issue is being flagged incorrectly as directory does not exist. The chown you did essentially changed permissions and fixed the issue.
  • Let's Encrypt Issue

    Solved letsencrypt
    6
    0 Votes
    6 Posts
    2k Views
    doodlemania2D
    @girish no changes - will monitor to see if it crops back up.
  • Migration to new server failed, can't reach dashboard

    Solved
    6
    0 Votes
    6 Posts
    685 Views
    ianhyzyI
    @nebulon one more issue that's popping up - the server completely stops working after a few minutes of everything working fine and I can't SSH in either. Any way to find out what's doing that?
  • NodeJS app logs do not show IP address of clients

    Solved logs reverseproxy nodejs
    3
    0 Votes
    3 Posts
    1k Views
    jimcavoliJ
    Note: It took me a minute to put this together while @nebulon was responding and I got pulled onto something else for a minute, but I think the detailed writeup is worth having for posterity, so I'll post it anyway. So what's going on here is that the app in question isn't reading the "right" headers to find the remote address. Basically, the inbound requests come in and hit the box-level nginx reverse proxy, which forwards the request on with the original inbound IP in the X-Forwarded-For header. Since from the sound of it, you're just routing straight to your app in the container, you'll want to either reconfigure your logging library to use the forwarded IP header as the client IP or drop nginx or similar as a reverse proxy in front of your app and configure it to rearrange the incoming headers as your app needs. Sounds like you can just adjust a configuration so that this (your existing flow) works nicely: [image: 1611584495688-container-sans-rp.png] Basically, here, the headers are adjusted in the "Step 1" processing as they reach the Cloudron so when they reach your app, the proxied headers have already gone into place. Again, this configuration should be fine with the configuration that @nebulon mentioned going in, since that should reconfigure your framework to read these adjusted headers correctly. Failing that, or for apps with more complex setup or which aren't able to read those headers on their own by configuration, the solution is to further proxy those requests, by adding nginx or similar to take over the "Step 3" handoff and smooth out any specific details (like re-adjusting headers) for the app, and having it proxy those requests down to your app, all in-container, so that the logging and such in your app will all match up with expectations/reality. The whole point of the second reverse proxy when it's added it to make the world appear as it needs to for the app and/or its components inside the container. [image: 1611584698827-container-rp.png]
  • Is this normal?

    11
    1
    0 Votes
    11 Posts
    2k Views
    C
    @girish df -h output du -hcs /* output du -hcs /var/lib/docker/overlay2 output
  • App Store > New Apps missing

    Solved appstore
    18
    1 Votes
    18 Posts
    3k Views
    girishG
    @jdaviescoates It's fixed in 6.1, yes.
  • Backup Fails NEXTCLOUD

    backups
    7
    1
    0 Votes
    7 Posts
    1k Views
    S
    @girish It didn't worked for 4 Days now in a row
  • I cannot login / authenthicate via github anymore on this forum

    Solved forum
    13
    0 Votes
    13 Posts
    1k Views
    necrevistonnezrN
    All good now, thanks.
  • Emails are coming in with *****SPAM***** in the Subject line

    Solved email
    3
    0 Votes
    3 Posts
    786 Views
    scookeS
    @girish Yes, I guess the email from my Cloudron domain is getting flagged as spam on their side, and then they reply to me without removing it from the Subject line. Ok, I'll get in touch with them and figure things out. As far as I know, I've done all I should to legitimize my cloudron domain - they use a provincial ISP for the email so I suspect they are picky. Thanks!
  • Integrate Cloudron apps with external app (Auth, LDAP, SSO)?

    5
    0 Votes
    5 Posts
    1k Views
    BrutalBirdieB
    @jimcavoli said in Integrate Cloudron apps with external app (Auth, LDAP, SSO)?: Yeah, I've read this discussion to this point three times to make sure I'm confused, and I am. Which piece(s) are you trying to change the authentication method for? I think he wants to change Greenlight since bigbluebutton has no real user management as I am aware of. And yes I also read it multible times and still I am not sure
  • Shared folders best practice

    Solved volumes
    4
    0 Votes
    4 Posts
    901 Views
    girishG
    @annaooo To add to this, it's best to create shared folders under /srv, /mnt, /opt instead of /home/yellowtent. The /home/yellowtent is the home directory of the user which cloudron platform runs as and it's not meant for user data. In fact, it won't let you create a volume under /home/yellowtent.