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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Delete all logs of connectivity from users to server

Scheduled Pinned Locked Moved Discuss
logs
10 Posts 5 Posters 148 Views
    • 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
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to privsec 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
  • P Offline
    P Offline
    privsec
    replied to girish 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
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to privsec on last edited by girish
    #4

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

    P murgeroM 2 Replies Last reply
    0
  • P Offline
    P Offline
    privsec
    replied to girish on last edited by
    #5

    @girish neat, ok. Thank you!

    1 Reply Last reply
    0
  • murgeroM Offline
    murgeroM Offline
    murgero App Dev
    replied to girish 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. ~
    Matrix: @murgero:urgero.org

    subvenS P 2 Replies Last reply
    2
  • subvenS Offline
    subvenS Offline
    subven
    replied to murgero 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
  • P Offline
    P Offline
    privsec
    replied to murgero 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
  • murgeroM Offline
    murgeroM Offline
    murgero App Dev
    replied to subven on last edited by
    #9

    @subven Yeah pretty much

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

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

    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
    3

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.