Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive creation of venv, filling disk space #60

Open
julianfoad opened this issue Dec 7, 2023 · 0 comments
Open

Recursive creation of venv, filling disk space #60

julianfoad opened this issue Dec 7, 2023 · 0 comments

Comments

@julianfoad
Copy link

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

  • Hardware: Debian in VM under Proxmox
  • YunoHost version: 11.2.6(stable)
  • I have access to my server: Through SSH & through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: Installed version: 1.5.10~ynh1
  • If upgrading, current package version: can be found in the admin, or with yunohost app info $app_id

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant