Open 130e opened 5 days ago
After upgrading to 3.14.0, nextcloud client commandline (nextcloudcmd) failed to parse netrc credential with -n option. As a result, nextcloud server prompt for credential. On the other hand, using --user and --password options work.
nextcloudcmd
-n
--user
--password
default login admin password mypassword
nextcloudcmd -n --path /Documents /home/user/Nextcloud/Documents/ https://myserver.com
09-20 17:27:56:193 [ debug default ] [ OCC::NetrcParser::parse ]: error fetching value for "default\nlogin admin\npassword mypassword\n" Please enter username:
nextcloudcmd should parsed netrc.
netrc
Linux
NixOS 24.11.20240919.c04d565 (Vicuna) x86_64
Distro package manager
29.0.4
3.14.0
Fresh desktop client install
Encryption is Disabled
No response
Same here, on:
I have evidence that it synced normally before the latest update of nextcloudcmd, i.e. before 2024-09-16
⚠️ Before submitting, please verify the following: ⚠️
Bug description
After upgrading to 3.14.0, nextcloud client commandline (
nextcloudcmd
) failed to parse netrc credential with-n
option. As a result, nextcloud server prompt for credential.On the other hand, using
--user
and--password
options work.Steps to reproduce
Expected behavior
nextcloudcmd should parsed netrc.
Which files are affected by this bug
netrc
Operating system
Linux
Which version of the operating system you are running.
NixOS 24.11.20240919.c04d565 (Vicuna) x86_64
Package
Distro package manager
Nextcloud Server version
29.0.4
Nextcloud Desktop Client version
3.14.0
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?
Nextcloud Server logs
No response
Additional info
No response