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]: Using a path with umlauts as logDir is broken #4890

Closed
5 of 8 tasks
uusijani opened this issue Sep 4, 2022 · 3 comments
Closed
5 of 8 tasks

[Bug]: Using a path with umlauts as logDir is broken #4890

uusijani opened this issue Sep 4, 2022 · 3 comments
Labels

Comments

@uusijani
Copy link
Contributor

uusijani commented Sep 4, 2022

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

Bug description

Using a path with umlauts as logDir causes an incorrectly encoded directory to be created and used as log directory, instead of the specified directory.

Steps to reproduce

  1. Quit the client.
  2. Edit nextcloud.cfg. Set logDir=/home/jani/Tänne (applying appropriately to your home directory)
  3. Start the client.
  4. ls /home/jani/Tänne

Expected behavior

A listing of new log files residing in /home/jani/Tänne.

Which files are affected by this bug

This question is unclear. The log files are the ones affected.

Operating system

Linux

Which version of the operating system you are running.

Ubuntu 20.04

Package

Distro package manager

Nextcloud Server version

24.0.4

Nextcloud Desktop Client version

3.5.4-20220806.084713.fea986309-1.0~focal1

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

This bizarre and otherwise exhaustingly long issue form is lacking a "What happens instead of my expected outcome" question, so I'm entering it here instead: there are no logs in the specified target directory (it doesn't even exist if you've not created it beforehand). Instead, like in the ye olden days, there is now a directory called Tänne containing the logs. In nextcloud.cfg the path has been re-encoded as logDir=/home/jani/T\xc3\xa4nne/ which is apparently how it should be, since a similarly re-encoded value for a ...localPath with umlauts in the [accounts] section has been working just fine for as long as I can remember using it.

@claucambra
Copy link
Collaborator

Hi, we just recently rewrote how debug packages are created and stored. Could you try the AppImage package generated here and see if the issue still occurs?

#4768 (comment)

@uusijani
Copy link
Contributor Author

Hi @claucambra, I tested the appimage and the issue still reproduces.

@Rello
Copy link
Contributor

Rello commented Oct 9, 2024

Hello,

thank you for reporting this issue.

This issue was reported long time ago on old versions and we improved a lot since then.
If the error shows up again, please open an issue for the current versions.

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

4 participants