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

Add basic-space-cleanup command #1761

Merged
merged 2 commits into from
Jan 13, 2024
Merged

Add basic-space-cleanup command #1761

merged 2 commits into from
Jan 13, 2024

Conversation

tituspijean
Copy link
Contributor

Addresses parts of YunoHost/issues#2230

How to test

yunohost tools basic-space-cleanup

src/tools.py Outdated Show resolved Hide resolved
@olberger
Copy link

I fear this command lacks documentation, elsewhere that in ```

yunohost tools basic-space-cleanup --help

usage: yunohost tools basic-space-cleanup [-h]

Basic space cleanup (apt, journalctl, logs, ...)

Too bad. 

@alexAubin
Copy link
Member

... which place are you thinking of that it should be documented it ?

@olberger
Copy link

https://yunohost.org/fr/troubleshooting for a start ? I guess this is pretty empty so far, but never too late to start ?

@tituspijean
Copy link
Contributor Author

You are most welcome to contribute with such a piece of documentation. 🙂

I have recently experienced an issue with a completely full disk, and the command did not help. The issue is that since it is a yunohost command, it triggers by default some logging. But it cannot log anything if the disk is full. 🙃

So, before integrating the new paragraph in the troubleshooting documentation, we need to disable logging for that command.

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

Successfully merging this pull request may close these issues.

3 participants