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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Delete all logs of connectivity from users to server

    Discuss
    logs
    5
    10
    127
    Loading More Posts
    • 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.
    • P
      privsec last edited by girish

      Is there a way (ideally automated) to delete all logs of all apps, as well as Ubuntu logs easily?

      I have a request by a user to delete there data, even connection logs from their ip’s, and everything else is functioning normally, so I’m not concerned about wiping out any existing log data

      girish 1 Reply Last reply Reply Quote 1
      • girish
        girish Staff @privsec last edited by girish

        @privsec currently, logs are wiped out after 2 weeks. Is that enough for your compliance? Alternately, you have to just:

        • delete old logs - rm -f /home/yellowtent/platformdata/logs/*/*.log.* /var/log/nginx/*.log.*
        • truncate current logs - truncate -s0 /home/yellowtent/platformdata/logs/*/*.log /var/log/nginx/*.log

        WARNING: PLEASE BE VERY CAREFUL RUNNING ABOVE COMMANDS. CHECK FOR SPACES AND OTHER COMMON MISTAKES THAT MIGHT DELETE ACTUAL DATA.

        P 1 Reply Last reply Reply Quote 1
        • P
          privsec @girish last edited by

          @girish Perfect, that 2 week timeframe is actually going to be just fine.

          Does that wipe out all logs from all sources on the server every two weeks?

          I can delete app backups and all that, but just want to confirm.

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @privsec last edited by girish

            @privsec yes, all clients/sources are wiped out.

            P murgero 2 Replies Last reply Reply Quote 0
            • P
              privsec @girish last edited by

              @girish neat, ok. Thank you!

              1 Reply Last reply Reply Quote 0
              • murgero
                murgero App Dev @girish last edited by

                @girish This brings up the question - can Cloudron make a function in the admin UI that can delete user data on demand?

                --
                https://urgero.org
                ~ Professional Nerd. Freelance Programmer. ~
                Matrix: @murgero:urgero.org

                subven P 2 Replies Last reply Reply Quote 2
                • subven
                  subven @murgero last edited by

                  @murgero said in Delete all logs of connectivity from users to server:

                  that can delete user data on demand?

                  You mean for like GDPR (EU) or DSGVO (Germany) compliance?

                  murgero 1 Reply Last reply Reply Quote 1
                  • P
                    privsec @murgero last edited by

                    @murgero and @girish this functionality would be way neat.

                    A simple button that culls/truncates/deletes all log data from all apps, email logs, Ubuntu logs would be fantastic.

                    It would be also pretty neat to also build into this app a functionality to select the apps’ backups respectively that need to be deleted (posts, comments, connection logs, etcetra) as well as cloudron a backups and then immediately create a new backup of each respective app as well as a cloudron backup

                    I know thats a tall order, but would make compliance superbly easy.

                    1 Reply Last reply Reply Quote 0
                    • murgero
                      murgero App Dev @subven last edited by

                      @subven Yeah pretty much

                      --
                      https://urgero.org
                      ~ Professional Nerd. Freelance Programmer. ~
                      Matrix: @murgero:urgero.org

                      1 Reply Last reply Reply Quote 0
                      • marcusquinn
                        marcusquinn last edited by marcusquinn

                        The rabbit hole is when you have to delete from backups too. Some people I'm sure try to weaponise GDPR to cost you time and the most inconvenience.

                        (Best not even say here if you think that's the case, they might even try to claim they are identified by implying.)

                        We're not here for a long time - but we are here for a good time :)
                        Jersey/UK
                        Work & Ecommerce Advice: https://brandlight.org
                        Personal & Software Tips: https://marcusquinn.com

                        1 Reply Last reply Reply Quote 3
                        • First post
                          Last post
                        Powered by NodeBB