⚠️ This issue respects the following points: ⚠️
Bug description
When using a tool like rclone to sync files with a password protected shared folder over webdav, it is unable to update the modification times of the files it uploads. This causes it to get confused when it later checks the server for updates.
This is a regression, it used to work in a previous version. Unfortunately I can't tell you exactly which one, since I'm using a hosted server which I have limited control over. The server being used now is version 32.
Steps to reproduce
- Create a folder
test on the nextcloud server and share it via a link. Enable a password and full write access.
- Install the latest
rclone command line tool.
- Execute
rclone config, and follow the prompts.
- Set the type to webdav.
- Set the link to
https://<SERVER>/public.php/webdav.
- Set the user to the last element of the share link.
- Set vendor to
owncloud, not nextcloud (this is to avoid an issue where rclone does not accept a share URL; it is however not related to the problem, since this worked previously).
- Make a note of the name you gave the remote.
- Create a
test folder locally.
- Create a test file like so:
echo test > test/testfile
- Set the modification time to some time in the past, for example like this:
touch -r /etc/motd test/testfile.
- Execute this:
rclone sync test/ <REMOTENAME>:/test/
- Execute this:
rclone lsl <REMOTENAME>:/test/
Expected behavior
Expected behavior is that the listed file has the same modification time as the local /etc/motd file, used in the touch command above. Instead, the file has the current time.
Nextcloud Server version
32
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
I don't know much about the server environment unfortunately, since it is hosted. I only know that it's server version 32.
Bug description
When using a tool like
rcloneto sync files with a password protected shared folder over webdav, it is unable to update the modification times of the files it uploads. This causes it to get confused when it later checks the server for updates.This is a regression, it used to work in a previous version. Unfortunately I can't tell you exactly which one, since I'm using a hosted server which I have limited control over. The server being used now is version 32.
Steps to reproduce
teston the nextcloud server and share it via a link. Enable a password and full write access.rclonecommand line tool.rclone config, and follow the prompts.https://<SERVER>/public.php/webdav.owncloud, notnextcloud(this is to avoid an issue where rclone does not accept a share URL; it is however not related to the problem, since this worked previously).testfolder locally.echo test > test/testfiletouch -r /etc/motd test/testfile.rclone sync test/ <REMOTENAME>:/test/rclone lsl <REMOTENAME>:/test/Expected behavior
Expected behavior is that the listed file has the same modification time as the local
/etc/motdfile, used in thetouchcommand above. Instead, the file has the current time.Nextcloud Server version
32
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
I don't know much about the server environment unfortunately, since it is hosted. I only know that it's server version 32.