Skip to content

nextcloudcmd hangs with "[ info nextcloud.sync.engine ]: All the files are going to be changed, asking the user" #3144

Closed
@jchonig

Description

@jchonig

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Expected behaviour

Nextcloudcmd completes a sync.

Actual behaviour

Nextcloudcmd sees that it is deleting the last file in a folder, issues a message:

04-15 20:05:02:389 [ info nextcloud.sync.engine ]: All the files are going to be changed, asking the user

and then hangs. No matter what the setting of --non-interactive.

This is new behavior in 3.2.

Steps to reproduce

  1. Add a file to a folder
  2. Sync it with nextcloudcmd
  3. Delete the file on NextCloud instance
  4. Run nextcloudcmd to sync it
  5. Watch it hang

Client configuration

Client version:

jch@nixie[600]:~$ nextcloudcmd -v
Nextcloud version 3.2.0-20210410.072919.14fbf1b10-1.0~focal1
Using Qt 5.12.8, built against Qt 5.12.8
Using 'OpenSSL 1.1.1f  31 Mar 2020'
Running on Ubuntu 20.04.2 LTS, x86_64

Operating system: Ubuntu focal

OS language:

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From Nextcloud or distro) (Linux only):

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version                                    Architecture Description
+++-=====================-==========================================-============-============================================================
ii  nextcloud-desktop-cmd 3.2.0-20210410.072919.14fbf1b10-1.0~focal1 amd64        folder synchronization with an Nextcloud server - cmd client

Installation path of client:
/usr/bin/nextcloudcmd

Server configuration

Nextcloud version: 21.0.1

Storage backend (external storage):

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

  1. Client logfile: https://gist.github.com/jchonig/ad74e517c88270bd3fe9a59b9a41b88f

  2. Web server error log:

  3. Server logfile: nextcloud log (data/nextcloud.log):

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions