YunoHost-Apps / tandoor_ynh

Tandoor package for YunoHost
https://tandoor.dev
MIT License
3 stars 5 forks source link

Recursive creation of venv, filling disk space #60

Open julianfoad opened 9 months ago

julianfoad commented 9 months ago

Describe the bug

The 'tandoor' installation has created recursive 'venv' directories, each successive one eating up about 300 MB disk space.

$ sudo find /var/www/tandoor -name 'venv' -exec du -BM -s {} \;
2316M   /var/www/tandoor/venv
2039M   /var/www/tandoor/venv/venv
1736M   /var/www/tandoor/venv/venv/venv
1433M   /var/www/tandoor/venv/venv/venv/venv
1141M   /var/www/tandoor/venv/venv/venv/venv/venv
849M    /var/www/tandoor/venv/venv/venv/venv/venv/venv
557M    /var/www/tandoor/venv/venv/venv/venv/venv/venv/venv
265M    /var/www/tandoor/venv/venv/venv/venv/venv/venv/venv/venv

Context

Steps to reproduce

Probably 'upgrade'.

Noticed after having used Tandoor for about 6 months. It has been upgraded 8 times. There are 8 levels of 'venv'. The mtime date stamps of the innermost level correspond to original installation, and those of the other levels all correspond to the first upgrade after installation.

Expected behavior

A single 'venv'.

Logs

Nothing specifically related to the 'venv', not even in a 'sudo yunohost log list -l 10000 -s -d' (where 10000 is sufficient to go right back to original YunoHost installation).