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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. New to Cloudron. Having different issues

New to Cloudron. Having different issues

Scheduled Pinned Locked Moved Solved Support
notifications
10 Posts 2 Posters 1.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q Offline
      Q Offline
      qilin
      wrote on last edited by girish
      #1

      Hello Everyone,

      I have been using Cloudron for about a month now, testing it and different apps I want to use. Up until about a week or so ago, I was able to access my /var/log/auth.log, /var/log/fail2ban.logs, etc. Now I cannot access them via ssh.

      I am on 22.04 have created a sudo user and configured the Cloudron per the Cloudron docs. All logs seemed to have been accessible until about a week or so ago.

      Moreover, I have not received several notifications from Cloudron such as weekly digests, app notifications, etc. since installation. The only notification I have received has been a new user logon to the Cloudron. Nothing else. My email system seems to work fine since it shows configured correctly and all the test emails are received.

      Can someone please help me try to solve this/these issues?

      girishG 1 Reply Last reply
      0
      • Q qilin

        Hello Everyone,

        I have been using Cloudron for about a month now, testing it and different apps I want to use. Up until about a week or so ago, I was able to access my /var/log/auth.log, /var/log/fail2ban.logs, etc. Now I cannot access them via ssh.

        I am on 22.04 have created a sudo user and configured the Cloudron per the Cloudron docs. All logs seemed to have been accessible until about a week or so ago.

        Moreover, I have not received several notifications from Cloudron such as weekly digests, app notifications, etc. since installation. The only notification I have received has been a new user logon to the Cloudron. Nothing else. My email system seems to work fine since it shows configured correctly and all the test emails are received.

        Can someone please help me try to solve this/these issues?

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @qilin said in New to Cloudron. Having different issues:

        Now I cannot access them via ssh.

        What do you mean by this? That you are not able to SSH into the server at all or you get some permission denied after you SSH?

        Moreover, I have not received several notifications from Cloudron such as weekly digests, app notifications, etc. since installation. The only notification I have received has been a new user logon to the Cloudron. Nothing else. My email system seems to work fine since it shows configured correctly and all the test emails are received.

        There is no weekly digest email on Cloudron. App notification by email depends on the app. Can you tell us which app you are refering to?

        Generally, we removed most email notifications because people complained that they were mostly annoying and not serving any purpose. So... you have to visit the dashboard to see notifications now.

        Q 2 Replies Last reply
        0
        • girishG girish

          @qilin said in New to Cloudron. Having different issues:

          Now I cannot access them via ssh.

          What do you mean by this? That you are not able to SSH into the server at all or you get some permission denied after you SSH?

          Moreover, I have not received several notifications from Cloudron such as weekly digests, app notifications, etc. since installation. The only notification I have received has been a new user logon to the Cloudron. Nothing else. My email system seems to work fine since it shows configured correctly and all the test emails are received.

          There is no weekly digest email on Cloudron. App notification by email depends on the app. Can you tell us which app you are refering to?

          Generally, we removed most email notifications because people complained that they were mostly annoying and not serving any purpose. So... you have to visit the dashboard to see notifications now.

          Q Offline
          Q Offline
          qilin
          wrote on last edited by qilin
          #3
          This post is deleted!
          1 Reply Last reply
          0
          • girishG girish marked this topic as a question on
          • girishG girish

            @qilin said in New to Cloudron. Having different issues:

            Now I cannot access them via ssh.

            What do you mean by this? That you are not able to SSH into the server at all or you get some permission denied after you SSH?

            Moreover, I have not received several notifications from Cloudron such as weekly digests, app notifications, etc. since installation. The only notification I have received has been a new user logon to the Cloudron. Nothing else. My email system seems to work fine since it shows configured correctly and all the test emails are received.

            There is no weekly digest email on Cloudron. App notification by email depends on the app. Can you tell us which app you are refering to?

            Generally, we removed most email notifications because people complained that they were mostly annoying and not serving any purpose. So... you have to visit the dashboard to see notifications now.

            Q Offline
            Q Offline
            qilin
            wrote on last edited by
            #4

            @girish

            Hi @girish. Thanks for the reply.

            @qilin said in New to Cloudron. Having different issues:

            Now I cannot access them via ssh.

            What do you mean by this? That you are not able to SSH into the server at all or you get some permission denied after you SSH?

            If I try to access them via ssh into the server. Thus cat /var/log/auth.log or cat var/log/fail2ban.log yields nothing. It just goes back to the command prompt. A week ago it would display the logs. I have not made any modifications since then.

            I can log into the server fine with my ssh key and by the user which has sudo privileges. I have disabled root logins and password logins.

            Therefore, I am not sure why I cannot access these logs anymore. I am thinking its a permissions issue, but don't know where to start with this.

            Moreover, I have not received several notifications from Cloudron such as weekly digests, app notifications, etc. since installation. The only notification I have received has been a new user logon to the Cloudron. Nothing else. My email system seems to work fine since it shows configured correctly and all the test emails are received.

            There is no weekly digest email on Cloudron. App notification by email depends on the app. Can you tell us which app you are refering to?

            I have tried this with a Grav installation but I think you answered this part of the question since I was expecting notifications by email from Cloudron. The logs on the Cloudron dashboard do show the errors, memory issues, app restarts, etc.

            Generally, we removed most email notifications because people complained that they were mostly annoying and not serving any purpose. So... you have to visit the dashboard to see notifications now.

            Ok. I understand. I just read in the docs that this is what Cloudron was supposed to do. No worries. Thank you for letting me know.

            girishG 1 Reply Last reply
            0
            • Q qilin

              @girish

              Hi @girish. Thanks for the reply.

              @qilin said in New to Cloudron. Having different issues:

              Now I cannot access them via ssh.

              What do you mean by this? That you are not able to SSH into the server at all or you get some permission denied after you SSH?

              If I try to access them via ssh into the server. Thus cat /var/log/auth.log or cat var/log/fail2ban.log yields nothing. It just goes back to the command prompt. A week ago it would display the logs. I have not made any modifications since then.

              I can log into the server fine with my ssh key and by the user which has sudo privileges. I have disabled root logins and password logins.

              Therefore, I am not sure why I cannot access these logs anymore. I am thinking its a permissions issue, but don't know where to start with this.

              Moreover, I have not received several notifications from Cloudron such as weekly digests, app notifications, etc. since installation. The only notification I have received has been a new user logon to the Cloudron. Nothing else. My email system seems to work fine since it shows configured correctly and all the test emails are received.

              There is no weekly digest email on Cloudron. App notification by email depends on the app. Can you tell us which app you are refering to?

              I have tried this with a Grav installation but I think you answered this part of the question since I was expecting notifications by email from Cloudron. The logs on the Cloudron dashboard do show the errors, memory issues, app restarts, etc.

              Generally, we removed most email notifications because people complained that they were mostly annoying and not serving any purpose. So... you have to visit the dashboard to see notifications now.

              Ok. I understand. I just read in the docs that this is what Cloudron was supposed to do. No worries. Thank you for letting me know.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              @qilin said in New to Cloudron. Having different issues:

              If I try to access them via ssh into the server. Thus cat /var/log/auth.log or cat var/log/fail2ban.log yields nothing. It just goes back to the command prompt. A week ago it would display the logs. I have not made any modifications since then.

              Cloudron does not use fail2ban, so /var/log/fail2ban.log won't have anything. As for ssh access logs, try journalctl -fa -u ssh since sshd logs to syslog/journalctl on Cloudron.

              Q 1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @qilin Also for email, you can check if Cloudron is configured properly to send email in the Email view. There, select a domain and go to Status tab. You can also send a test email from the Email view - https://docs.cloudron.io/email/#send-test-email

                Q 1 Reply Last reply
                0
                • girishG girish

                  @qilin said in New to Cloudron. Having different issues:

                  If I try to access them via ssh into the server. Thus cat /var/log/auth.log or cat var/log/fail2ban.log yields nothing. It just goes back to the command prompt. A week ago it would display the logs. I have not made any modifications since then.

                  Cloudron does not use fail2ban, so /var/log/fail2ban.log won't have anything. As for ssh access logs, try journalctl -fa -u ssh since sshd logs to syslog/journalctl on Cloudron.

                  Q Offline
                  Q Offline
                  qilin
                  wrote on last edited by
                  #7

                  @girish

                  I understand Cloudron does not come with fail2ban, but I followed the install docs and then the security docs here: https://docs.cloudron.io/security/. I have configured everything as per the docs.

                  I also installed fail2ban. That said /var/log/auth +/var/log/fail2ban used to work even a few weeks after Cloudron was installed. journalctl -fa -u ssh and lastlog work fine.
                  fail2ban service is working also.

                  fail2ban-client status sshd yields:

                  Screenshot_sshd.png

                  A few weeks ago with Cloudron installed I could still access /var/log/fail2ban and /var/log/auth. Now its only through the above. The strange part is that there are no bans which is worrisome to me. While I was installing Cloudron there were several attempts to access ssh and now none are logged and/or banned.

                  journalctl sshd logs do not show other attempts to access my server via ssh. It only shows my logins via ssh.

                  So I am concerned why I cannot seem to find any ssh login attempts and cannot access some logs.

                  girishG 1 Reply Last reply
                  0
                  • girishG girish

                    @qilin Also for email, you can check if Cloudron is configured properly to send email in the Email view. There, select a domain and go to Status tab. You can also send a test email from the Email view - https://docs.cloudron.io/email/#send-test-email

                    Q Offline
                    Q Offline
                    qilin
                    wrote on last edited by qilin
                    #8

                    @girish

                    No problems here. The email part works fine 🙂 It was the notifications by email that I was referring to before and expecting to get from the Cloudron, as per the docs here:

                    https://docs.cloudron.io/notifications/

                    girishG 1 Reply Last reply
                    0
                    • Q qilin

                      @girish

                      No problems here. The email part works fine 🙂 It was the notifications by email that I was referring to before and expecting to get from the Cloudron, as per the docs here:

                      https://docs.cloudron.io/notifications/

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #9

                      @qilin said in New to Cloudron. Having different issues:

                      No problems here. The email part works fine It was the notifications by email that I was referring to before and expecting to get from the Cloudron, as per the docs here:

                      Whoops, that is indeed outdated. Will fix.

                      1 Reply Last reply
                      1
                      • Q qilin

                        @girish

                        I understand Cloudron does not come with fail2ban, but I followed the install docs and then the security docs here: https://docs.cloudron.io/security/. I have configured everything as per the docs.

                        I also installed fail2ban. That said /var/log/auth +/var/log/fail2ban used to work even a few weeks after Cloudron was installed. journalctl -fa -u ssh and lastlog work fine.
                        fail2ban service is working also.

                        fail2ban-client status sshd yields:

                        Screenshot_sshd.png

                        A few weeks ago with Cloudron installed I could still access /var/log/fail2ban and /var/log/auth. Now its only through the above. The strange part is that there are no bans which is worrisome to me. While I was installing Cloudron there were several attempts to access ssh and now none are logged and/or banned.

                        journalctl sshd logs do not show other attempts to access my server via ssh. It only shows my logins via ssh.

                        So I am concerned why I cannot seem to find any ssh login attempts and cannot access some logs.

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #10

                        @qilin said in New to Cloudron. Having different issues:

                        The strange part is that there are no bans which is worrisome to me.

                        So, this doesn't work most because fail2ban itself works by scanning log files and as you said, there is nothing in the auth.log.

                        Generally, this is outside Cloudron configuration (as in, Cloudron does not configure or update all this on the server). My understanding is sshd logs always to syslog. You can check the Facility with which it logs in /etc/ssh/sshd_config. I think from there it goes to /etc/rsyslog.d/* config files to log based on the facility. Not 100% sure, maybe others can chime in.

                        1 Reply Last reply
                        1
                        • girishG girish has marked this topic as solved on
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search