/var/log takes 10Gb+

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 11.3.2
How are you able to access your server: The webadmin
SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no tweacking

Describe your issue

I try to upgraded to Ynh 12 with bookworm. But I miss space on a 32Gb card.
All my /home is on hdd, and I just migrate using the tuto Adding an external storage to your server | Yunohost Documentation my mails (1.1Gb) too. But it seems nothing’s working. I got a syslog of 3,6Gb !
basicly, all log folder is more than 10Gb and It feel that will go higher and higher. I’ve seen an echo command o delete all. But I don’t feel confident using it. Could you provide something that’s working with destroying my Yunohost ? :smiley:

And also, what if I put the logs on my hdd ? It says don’t need. But may be, I need ! :smiley:

Anyway, do you have an idea ? I’ll try to migrat now, I did free space on my log deleting with ncdu app.

Thank you !

Share relevant logs or error messages

no logs as it’s no space bug

To me the real question is why is this syslog weighting 3.6GB, that doesn’t sound right (also it should be automatically rotated by the system somehow, aren’t there any “syslog.1”, “syslog.2.gz” etc ?)

That is a good question.
I have looked a lot on the forum a lot befor posting, that’s a week I’m looking for this issue. But this morning just found that : Liberer espace disque - #3 by jarod5001

It looks that the issue could come from collabora that I also got on my instance.

I’ll run those command and take a look deeper.

I got those syslog you mentionned, but runned the command tools to clean everythings up. And that worked for now.

The daemon.log was really big also and now I don’t get it anymore. Is that okay ? What’s that for ?

I’ll stop the collabora tool. But how ? ^^’

It will be interesting to know if the log issue with Collabora is related to a specific Nextcloud version (I have Nextcloud 30.0.2 installed and I don’t have issue with logs)

1 Like

This only happens when upgrading collabora not with a new install

I’d love to know that. Thought I was on 29 something.
But now I launch the migration, and there was a bug 504 saying that I need to accept some terms.

And my whole server is broken. No logs ^^’ I’ll dig into the forum for that new problem !

I have a similar system problem. Originally I wanted to migrate to Yunohost 12.0. Then I got an error message. The disk space is full. My research so far has shown that the /var/log directory occupies 489 GB. What can I do or what makes sense?

1 Like

What says : journalctl -f?
Try sudo yunohost tools basic-space-cleanup to free up some space

3 Likes

Thank you, that has helped for now. I will be watching.

If you have collabora installed, it may spam your syslog, some users reported that reinstalling collabora fixed this

2 Likes

If you want some details on what’s going on with collabora and logging, there are some discussions here and there.

Personally I haven’t resolved the issue with collabora yet (didn’t have time to dig fully into it, but I’ll try reinstalling like @jarod5001 suggests may help).
In the meantime, the problematic service seems to be coolwsd, so running something like yunohost service stop coolwsd stops the crazyness with the logs.
If you don’t stop coolwsd, the basic cleanup yunohost command will just help you for a little while and you’ll get stuck again with the logs filling up again all the space that was freed with it.

On top of that, I had to manually remove some log files that were too huge, or split them in order no to loose all their content.

Thank you !
That’s really helpful as I just deleted collabora for now.
Not using it really, my rasp Pi4B is a bit slow for being productiv.

This will help others I guess ! :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.