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]: Nextcloud_sync.log file keeps being recreated in .local/share/Nextcloud #6791

Closed
5 of 8 tasks
closingin opened this issue Jun 4, 2024 · 3 comments
Closed
5 of 8 tasks
Assignees

Comments

@closingin
Copy link

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

Bug description

Hello there 👋

It seems like the client refuses to keep its Nextcloud_sync.log file in the /home/[user]/.config/Nextcloud directory. No matter what I do, the client keeps re-creating its log file in .local/share/Nextcloud, even after total directory deletion.

Steps to reproduce

  1. Delete the old .local/share/Nextcloud directory
  2. Start Nextcloud
  3. Everything starts correctly (no output error), but the .local/share/Nextcloud is recreated with the Nextcloud_sync.log
  4. Restart Nextcloud, this output shows up :
nextcloud.gui.application: Migrating old config from "/home/[user]/.local/share/Nextcloud" to "/home/[user]/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/[user]/.local/share/Nextcloud" to "/home/[user]/.config/Nextcloud" )
nextcloud.gui.application: Will move the individual files ("Nextcloud_sync.log")
  1. Everything starts correctly, a new Nextcloud_sync.log is created in .config/Nextcloud, but only the one in .local/share/Nextcloud gets updated
  2. Restart Nextcloud, this output shows up :
nextcloud.gui.application: Migrating old config from "/home/[user]/.local/share/Nextcloud" to "/home/[user]/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/[user]/.local/share/Nextcloud" to "/home/[user]/.config/Nextcloud" )
nextcloud.gui.application: Will move the individual files ("Nextcloud_sync.log")
nextcloud.gui.application: Fallback move of  "Nextcloud_sync.log" also failed
  1. Everything starts correctly, the .local/share/Nextcloud_sync.log gets updated, the .config/Nextcloud one is left abandoned, without being updated
  2. Rinse and repeat

Expected behavior

I think the log file should now be .config/Nextcloud/Nextcloud_sync.log, the .local/share/Nextcloud one should not be recreated if it doesn't exist anymore.

Which files are affected by this bug

.config/Nextcloud/Nextcloud_sync.log

Operating system

Linux

Which version of the operating system you are running.

Arch Linux

Package

Distro package manager

Nextcloud Server version

Unknown

Nextcloud Desktop Client version

3.13.0

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

Updated from a minor version (ex. 3.4.2 to 3.4.4)

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

@mgscreativa

This comment was marked as duplicate.

@claucambra
Copy link
Collaborator

Can reproduce

@joshtrichards
Copy link
Member

Duplicate of #6201

@joshtrichards joshtrichards marked this as a duplicate of #6201 Aug 14, 2024
@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants