Logfile locked up system, any remote way out?

Nextcloud version : 29.0.4
Operating system and version : Debian 12
Apache or nginx version : unknown
PHP version : 8.3.10

The issue you are facing:

Mistakes where made and yes, most of them are my fault, I am sure :wink:

Nextcloud is claiming about having more then 14000 log lines but it does not show them to me in the appropriate admin / logging menu. The screen stays white for hours.
Then I discovered that the sda1 drive is 100% full, so while trying to assess the problem, something (may be Nextcloud) has spilled the drive with logs.

With spilling the drive, I cannot use MFA anymore. All accounts using MFA get a message, that the token does not match. Luckily I do have a secondary admin account, that does not require MFA.

It gets worse as I also now cannot ssh into the system anymore, too. Probably due to some files cannot be written, login is not working anymore.

Finally, I have no physical access to the system for the next weeks, as it is 500km away from me.

Due to the fact, that there is no “button” to clear caches or logs, no standard limits that avoid filling the drive and no app that allows me a second or third way into the system and onto a console, I cannot provide any additional logs, scripts, hints that this support form suggests me to do.

Question:
Is there any way to clean the logs and then analyze the system instead of me having to do the trip, reboot with a rescue system and copy over the logs to some other drive for later analysis?

BR
Astralix

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