Force Sync Not Working. Any tips?

Hello, folks!



I’m facing an issue where a file that a deleted in Windows explorer (results.xlsx) still appears in internet browser and android app. I checked by terminal and the file do not exist anymore.

I already tried:

  1. Reboot
  2. Force sync by Nextcloud Desktop Client;
  3. Created a new file in app and browser, and it syncs ok;
  4. ncp-config → Tools → clear-php-opcache

Any other ideas?

system information

  • if you have systeminfo app installed you will find the required data on https://{your nextcloud}/settings/admin/serverinfo
  • collect anonymized system report using https://{your nextcloud}/settings/admin/support
Nextcloud version (eg, 26.0.1): 26.0.1 - 26.0.1.1
Operating system and version (eg, Ubuntu 22.04): Linux 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64
Apache or nginx version (eg, Apache 2.4.25): Apache (fpm-fcgi)
PHP version (eg, 8.1): 8.1.18
Database (sqlite or MariaDB or Postgres) mysql 10.5.19
Docker (compose) Don’t know
Snap Don’t know
Is this the first time you’ve seen this error? yes

The issue you are facing:

  • Steps to replicate it:
  1. Open Microsoft Excel and fill a spreadsheet
  2. Save the spreadsheet in “C:\Users\tavar\Nextcloud”
  3. Make some changes in excel file and save this changes without change the name of spreasheet saved in step 2
  4. Force sync by windows client software
  5. Close excel and delete the file using Windows Explorer
  6. Check if the file still exist in android app and in https://{your nextcloud}
  • The output of your Nextcloud log in Admin > Logging:
Warning	no app in context	Login failed: lstavares84 (Remote IP: 192.168.0.69)		3 hours ago
Fatal	no app in context	RedisException: Redis server /var/run/redis/redis.sock:0 went away		3 hours ago
Fatal	serverinfo	RedisException: Redis server /var/run/redis/redis.sock:0 went away		3 hours ago
Fatal	privacy	RedisException: Redis server /var/run/redis/redis.sock:0 went away		3 hours ago
Fatal	oauth2	RedisException: Redis server /var/run/redis/redis.sock:0 went away		3 hours ago
Fatal	no app in context	RedisException: No such file or directory		3 hours ago
Fatal	nextcloudpi	RedisException: read error on connection to /var/run/redis/redis.sock:0		3 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		3 hours ago
Warning	no app in context	Login failed: lstavares84 (Remote IP: 192.168.0.69)		3 hours ago
Warning	no app in context	Login failed: lstavares84 (Remote IP: 192.168.0.69)		3 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		3 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		3 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		3 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		3 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		3 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		3 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		3 hours ago
Error	webdav	Sabre\DAV\Exception: Unknown error while seeking content		3 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		4 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		5 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		6 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		7 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		7 hours ago
Error	no app in context	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		7 hours ago
Error	no app in context	"Mestrado/mvi_statistical_methods/_results/results.xlsx" is locked, existing lock on file: 2 shared locks		7 hours ago
  • The output of your config.php file in /path/to/nextcloud**
    (use https://.../settings/admin/support which auto-removes identifying information!):
{
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": {
        "0": "localhost",
        "7": "nextcloudpi",
        "5": "nextcloudpi.local",
        "8": "nextcloudpi.lan",
        "3": "nextcloudpi",
        "11": "187.58.247.142",
        "1": "192.168.0.70",
        "14": "nextcloudpi",
        "20": "https:\/\/amorlindo.duckdns.org",
        "22": "192.168.0.70",
        "21": "amorlindo.duckdns.org"
    },
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "26.0.1.1",
    "overwrite.cli.url": "https:\/\/nextcloudpi\/",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "memcache.local": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "timeout": 0,
        "password": "***REMOVED SENSITIVE VALUE***"
    },
    "tempdirectory": "\/media\/USBdrive\/ncdata\/data\/tmp",
    "mail_smtpmode": "sendmail",
    "mail_smtpauthtype": "LOGIN",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "preview_max_x": "2048",
    "preview_max_y": "2048",
    "jpeg_quality": "60",
    "overwriteprotocol": "https",
    "maintenance": false,
    "logfile": "\/media\/USBdrive\/ncdata\/data\/nextcloud.log",
    "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
    "loglevel": "2",
    "log_type": "file"
}
  • for Docker/Podman list environment variables ( run “docker inspect {container name}”)**
Don't know
  • The output of your Apache/nginx/system log in /var/log/____:
  • For Docker/Podman post STDOUT of the container (run docker logs {container name})

  • errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors.
Didn't find this file

Hi @lstavares84,
You are missing the required support template. Please fill this form out and edit into your post.

This will give us the technical info and logs needed to help you! Thanks.

1 Like

Sorry about it! I didn’t know.
I have edit my post. Did my best.

1 Like