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. Discuss
  3. Delete all logs of connectivity from users to server

Delete all logs of connectivity from users to server

Scheduled Pinned Locked Moved Discuss
logs
10 Posts 5 Posters 1.4k Views 5 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.
    • P Offline
      P Offline
      privsec
      wrote on last edited by girish
      #1

      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

      girishG 1 Reply Last reply
      1
      • P privsec

        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

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

        @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
        1
        • girishG 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 Offline
          P Offline
          privsec
          wrote on last edited by
          #3

          @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.

          girishG 1 Reply Last reply
          0
          • P privsec

            @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.

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

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

            P murgeroM 2 Replies Last reply
            0
            • girishG girish

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

              P Offline
              P Offline
              privsec
              wrote on last edited by
              #5

              @girish neat, ok. Thank you!

              1 Reply Last reply
              0
              • girishG girish

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

                murgeroM Offline
                murgeroM Offline
                murgero
                App Dev
                wrote on last edited by
                #6

                @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. ~

                subvenS P 2 Replies Last reply
                2
                • murgeroM murgero

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

                  subvenS Offline
                  subvenS Offline
                  subven
                  wrote on last edited by
                  #7

                  @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?

                  murgeroM 1 Reply Last reply
                  1
                  • murgeroM murgero

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

                    P Offline
                    P Offline
                    privsec
                    wrote on last edited by
                    #8

                    @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
                    0
                    • subvenS subven

                      @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?

                      murgeroM Offline
                      murgeroM Offline
                      murgero
                      App Dev
                      wrote on last edited by
                      #9

                      @subven Yeah pretty much

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

                      1 Reply Last reply
                      0
                      • marcusquinnM Offline
                        marcusquinnM Offline
                        marcusquinn
                        wrote on last edited by marcusquinn
                        #10

                        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.)

                        Web Design https://www.evergreen.je
                        Development https://brandlight.org
                        Life https://marcusquinn.com

                        1 Reply Last reply
                        3
                        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