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

[Bug]: Log files getting too large with Windows client #4394

Closed
5 of 8 tasks
eqipe-leon opened this issue Mar 29, 2022 · 5 comments
Closed
5 of 8 tasks

[Bug]: Log files getting too large with Windows client #4394

eqipe-leon opened this issue Mar 29, 2022 · 5 comments
Labels
Milestone

Comments

@eqipe-leon
Copy link

eqipe-leon commented Mar 29, 2022

⚠️ Before submitting, please verify the following: ⚠️

Bug description

We have a Nextcloud 23.0.3 server for a customer which uses Nextcloud 3.4.4 Desktop Clients to sync the files to their PCs with Windows 10. The folder size of the log folder (C:\Users[username]\AppData\Roaming\Nextcloud\logs) is getting very large in a short amount of time. Our customer regularly deletes all files out of this folder, when it gets as big as 100-200 GB. After just a night almost 10 GB appeared again. The folder permissions are set to full-access for the user, Nextcloud is also run as the user.
grafik

When the folder is getting very big, a lot of 1-2 GB as well as 400 MB log files can be found. This state in the screenshot is only after one night, so its not as big.
grafik

We did setup the folder synchronisation from scratch to see if something would change. Now also updated on the latest version of the client, the problem still persists.
grafik

Steps to reproduce

  1. Set up folder synchronisation with Nextcloud client.
  2. Wait a time.
  3. Check C:\Users[username]\AppData\Roaming\Nextcloud\logs for big log data.

We couldn't reproduce the error though, so it doesn't seem to affect all PCs.

Expected behavior

Log files should be deleted after a short time or maybe get file size capped to not generate log folders as big as 100-200 GB.

Which files are affected by this bug

x

Operating system

Windows

Which version of the operating system you are running.

Windows 10

Package

Other

Nextcloud Server version

23.0.3

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

No response

Additional info

No response

@CoYoNq
Copy link

CoYoNq commented Jul 21, 2022

Same issue here, log directory grows on every restart.
NC 24.0.3 and Windows Client 3.5.2
As far i see, logs get gziped after any sync session, but looks like older ones are not deleted.
IMHO maybe, an option to control de log verbosity could help. First sync ones with about 500.000 files generates a ~650mb log file (gziped shrink to ~40mb). Its this really necessary?

@bjoernwuest
Copy link

Using Client 3.4.0 on Windows 11, with Nextcloud 24.0.4.1 has same issue. Syncing approx. 600k files, ~60GB of data. Log directory grew to over 200 GB.

@KoenigDickBauch
Copy link

If Nextcloud start with synchronization, then my computer get very slow. And the logfiles grows and grows.
Please open DebugView from Sysinternals. How in the hell can a release-program use the Debug messages!

@Rello Rello added this to the 3.14.2 milestone Oct 9, 2024
@Rello
Copy link
Contributor

Rello commented Oct 9, 2024

#7263

@Rello
Copy link
Contributor

Rello commented Oct 17, 2024

fixed with next release

@Rello Rello closed this as completed Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants