File and directories are locked after upgrade to 30.0

I already posted my issue on github: [Bug]: All files are locked after upgrade to 30.0 · Issue #48269 · nextcloud/server · GitHub.
Basically i upgraded nextcloud using docker exec -itu www-data nextcloud php occ update, and THEN re-pulled the latest image from nextcloud github page via portainer. The rendundant config issue has been fixed and now it goes at the speed of light compared to before, but I still get errors when trying to modify or read files from the “FileSync” folder because, in the log, it says “FileSync is locked”, even after rebooting the container and the pc.

Anyone answering?

Please post your Compose file (portainer calls it a “Stack”).

Also, I’m not clear what you’re saying about your upgrading process. Neither of the steps you describe are how you upgrade the community/micro-services Docker image (if that is even what you’re using; your post doesn’t specify). And, for that matter, there is no such command as occ update.

Typically an Docker image is upgraded by doing something like:

docker compose pull
docker compose up -d

done.

name: nextcloud
services:
  nextcloud:
    cpu_shares: 90
    command: []
    container_name: nextcloud
    deploy:
      resources:
        limits:
          memory: 512M
        reservations:
          memory: "536870912"
    hostname: nextcloud
    image: nextcloud:latest
    labels:
      icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/icon.png
    ports:
      - target: 80
        published: "10081"
        protocol: tcp
      - target: 443
        published: "10443"
        protocol: tcp
    restart: unless-stopped
    volumes:
      - type: bind
        source: /DATA/AppData/nextcloud/var/www/html
        target: /var/www/html
    x-casaos:
      ports:
        - container: "80"
          description:
            en_us: WebUI HTTP Port
            zh_cn: WebUI HTTP 端口
        - container: "443"
          description:
            en_us: WebUI HTTPS Port
            zh_cn: WebUI HTTPS 端口
      volumes:
        - container: /var/www/html
          description:
            en_us: Nextcloud config directory.
            zh_cn: Nextcloud 配置目录。
    devices: []
    cap_add: []
    environment: []
    network_mode: bridge
    privileged: false
x-casaos:
  architectures:
    - amd64
    - arm
    - arm64
    - "386"
    - mips64le
    - ppc64le
    - s390x
  author: CasaOS Team
  category: Cloud
  description:
    ar_sa: يضع Nextcloud بياناتك في أصابعك، تحت سيطرتك. احفظ مستنداتك والتقويم وجهات
      الاتصال والصور على خادم في المنزل أو في أحد مزودينا أو في مركز بيانات تثق
      به.
    de_de: Nextcloud stellt Ihre Daten in Ihren Händen, unter Ihrer Kontrolle.
      Speichern Sie Ihre Dokumente, Kalender, Kontakte und Fotos auf einem
      Server zu Hause, bei einem unserer Anbieter oder in einem von Ihnen
      vertrauten Datenzentrum.
    en_us: Nextcloud puts your data at your fingertips, under your control. Store
      your documents, calendar, contacts and photos on a server at home, at one
      of our providers or in a data center you trust.
    es_es: Nextcloud pone sus datos a su alcance, bajo su control. Almacene sus
      documentos, calendario, contactos y fotos en un servidor en casa, en uno
      de nuestros proveedores o en un centro de datos que confíe.
    fr_fr: Nextcloud met vos données à votre portée, sous votre contrôle. Stockez
      vos documents, calendriers, contacts et photos sur un serveur à la maison,
      chez l'un de nos fournisseurs ou dans un centre de données que vous pouvez
      faire confiance.
    hu_hu: A Nextcloud adatait a saját kezében tartja, saját irányítása alatt.
      Tárolja dokumentumait, naptárát, kapcsolatait és fényképeit otthoni
      szerverén, szolgáltatóink egyikén vagy megbízható adatközpontjában.
    it_it: Nextcloud mette i tuoi dati a portata di mano, sotto il tuo controllo.
      Memorizza i tuoi documenti, calendario, contatti e foto su un server in
      casa tua, su uno dei nostri fornitori o in un data center che ti fidi.
    pl_pl: Nextcloud umożliwia przechowywanie danych w Twoim domu, w Twoim zakresie
      kontroli. Przechowuj dokumenty, kalendarz, kontakty i zdjęcia na serwerze
      w domu, u jednego z naszych dostawców lub w zaufanym centrum danych.
    pt_br: O Nextcloud coloca seus dados nas suas mãos, sob o seu controle. Armazene
      seus documentos, calendário, contatos e fotos em um servidor em casa, em
      um de nossos provedores ou em um centro de dados que você confia.
    ru_ru: Nextcloud помещает ваши данные под вашим контролем. Храните свои
      документы, календарь, контакты и фотографии на сервере дома, у одного из
      наших поставщиков или в доверенном вам центре данных.
    sv_se: Nextcloud ger dig kontroll över dina data. Lagra dina dokument, kalender,
      kontakter och foton på en server hemma, hos en av våra leverantörer eller
      i ett datacenter du litar på.
    uk_ua: Nextcloud розташовує ваші дані під вашим контролем. Зберігайте свої
      документи, календар, контакти та фотографії на сервері вдома, у одного з
      наших постачальників або у довіреному центрі даних.
    zh_cn: Nextcloud 将您的数据放在您的掌握之中。将您的文档、日历、联系人和照片存储在您信任的家庭服务器、我们的提供商或数据中心中。
  developer: Nextcloud
  hostname: drive.serverpcx1.freeddns.org
  icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/icon.png
  index: /
  is_uncontrolled: false
  main: nextcloud
  port_map: "80"
  scheme: http
  screenshot_link:
    - https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/screenshot-1.png
    - https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/screenshot-2.png
    - https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/screenshot-3.png
  store_app_id: nextcloud
  tagline:
    ar_sa: منصة الإنتاجية التي تبقيك تحت سيطرتك
    de_de: Die Produktivitätsplattform, die Sie unter Kontrolle hält
    en_us: The productivity platform that keeps you in control
    es_es: La plataforma de productividad que te mantiene en control
    fr_fr: La plate-forme de productivité qui vous permet de rester en contrôle
    hu_hu: A termelékenységi platform, amely megőrzi a kontrollot
    it_it: La piattaforma di produttività che ti mantiene in controllo
    pl_pl: Platforma produktywności, która utrzymuje cię w kontroli
    pt_br: A plataforma de produtividade que mantém você sob controle
    ru_ru: Платформа производительности, которая держит вас под контролем
    sv_se: Produktivitetsplattformen som håller dig i kontroll
    uk_ua: Платформа продуктивності, яка дозволяє вам залишатися під контролем
    zh_cn: 保持您控制的生产力平台
  thumbnail: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/thumbnail.jpg
  tips: {}
  title:
    custom: ""
    en_us: Nextcloud

Here’s my docker compose file, for the updating process, first i tried to update pulling the image again with the “latest” tag but that just downloaded again the old image, it is malfunctioning since this action. Then I updated the client to 3.13.4 and the server to 30.0 by executing that command (which seemed to update this time) but still nothing. Then i tried re-pulling the image from portainer which downloaded the 30.0 image this time, but nothing solved there. I’ve also cleaned the config a little bit (was badly full of unused stuff).

How do you know it “pulled an old image”?

it is malfunctioning since this action.

What appears in the Nextcloud log file and/or container startup logs from during that time period?

Basically backtrack to what went wrong originally, not necessarily what behavior you’re seeing now regarding the FileSync folder or whatever.

I still get errors when trying to modify or read files from the “FileSync” folder because, in the log, it says “FileSync is locked”, even after rebooting the container and the pc.

Where are you seeing references to looking associated with the FileSync folder? I don’t see any in the log you posted on the GitHub post:

{
  "reqId": "P9G6c3Wg8dPdTuUbevES",
  "level": 0,
  "time": "2024-09-22T16:54:40+00:00",
  "remoteAddr": "192.168.1.1",
  "user": "Leonardo",
  "app": "webdav",
  "method": "MKCOL",
  "url": "/remote.php/dav/files/Leonardo/FileSync/test",
  "message": "Could not create directory /FileSync/test",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0",
  "version": "30.0.0.14",
  "exception": {
    "Exception": "Sabre\\DAV\\Exception\\Forbidden",
    "Message": "Could not create directory /FileSync/test",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 1210,
        "function": "createDirectory",
        "class": "OCA\\DAV\\Connector\\Sabre\\Directory",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
        "line": 560,
        "function": "createCollection",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
        "line": 89,
        "function": "httpMkcol",
        "class": "Sabre\\DAV\\CorePlugin",
        "type": "->",
        "args": [
          [
            "Sabre\\HTTP\\Request"
          ],
          [
            "Sabre\\HTTP\\Response"
          ]
        ]
      },
      {
        "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 472,
        "function": "emit",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": [
          "method:MKCOL",
          [
            [
              "Sabre\\HTTP\\Request"
            ],
            [
              "Sabre\\HTTP\\Response"
            ]
          ]
        ]
      },
      {
        "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 253,
        "function": "invokeMethod",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": [
          [
            "Sabre\\HTTP\\Request"
          ],
          [
            "Sabre\\HTTP\\Response"
          ]
        ]
      },
      {
        "file": "/var/www/html/apps/dav/lib/Server.php",
        "line": 370,
        "function": "start",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/html/apps/dav/appinfo/v2/remote.php",
        "line": 19,
        "function": "exec",
        "class": "OCA\\DAV\\Server",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/html/remote.php",
        "line": 146,
        "args": [
          "/var/www/html/apps/dav/appinfo/v2/remote.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php",
    "Line": 144,
    "message": "Could not create directory /FileSync/test",
    "exception": {},
    "CustomMessage": "Could not create directory /FileSync/test"
  }
}

Is /FileSync just a standard folder? It’s not on External Storage or anything like that, correct? Are there any log entries just before the above entry?

re-pulled the latest image from nextcloud github page via portainer.

I presume you mean from Docker Hub. There is no image to download from GitHub.

FileSync is just a plain folder. I know it was an old image because in the administration tab, it was still showing 29.0.6 even after a container restart.
Regarding the logs it’s just that i’ve deleted old logs since they suddenly became so big that filled up my entire disk and I was not even able to create a .txt file.

I’ve recreated the same issue and this is the ENTIRE log I get after creating the FileSync folder:

{"reqId":"cRJtiTpkU6CcZ1iEo102","level":0,"time":"2024-09-26T12:26:14+00:00","remoteAddr":"151.59.150.54","user":"Leonardo","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/Leonardo/","message":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","version":"30.0.0.14","exception":{"Exception":"Exception","Message":"No parameters in call to OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder::orX","Code":0,"Trace":[{"file":"/var/www/html/apps/circles/lib/Tools/Db/ExtendedQueryBuilder.php","line":488,"function":"orX","class":"OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder","type":"->","args":[]},{"file":"/var/www/html/apps/circles/lib/Tools/Db/ExtendedQueryBuilder.php","line":325,"function":"exprLimitNull","class":"OCA\\Circles\\Tools\\Db\\ExtendedQueryBuilder","type":"->","args":["sh.parent",false,""]},{"file":"/var/www/html/apps/circles/lib/Db/ShareWrapperRequest.php","line":397,"function":"limitNull","class":"OCA\\Circles\\Tools\\Db\\ExtendedQueryBuilder","type":"->","args":["parent",false]},{"file":"/var/www/html/apps/circles/lib/Service/ShareWrapperService.php","line":269,"function":"getSharesInFolder","class":"OCA\\Circles\\Db\\ShareWrapperRequest","type":"->","args":[["OCA\\Circles\\Model\\FederatedUser"],["OC\\Files\\Node\\Folder"],true,true]},{"file":"/var/www/html/apps/circles/lib/ShareByCircleProvider.php","line":372,"function":"getSharesInFolder","class":"OCA\\Circles\\Service\\ShareWrapperService","type":"->","args":[["OCA\\Circles\\Model\\FederatedUser"],["OC\\Files\\Node\\Folder"],true,true]},{"file":"/var/www/html/lib/private/Share20/Manager.php","line":1109,"function":"getSharesInFolder","class":"OCA\\Circles\\ShareByCircleProvider","type":"->","args":["Leonardo",["OC\\Files\\Node\\Folder"],true]},{"function":"OC\\Share20\\{closure}","class":"OC\\Share20\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Share20/Manager.php","line":1108,"function":"array_reduce","args":[[["OC\\Share20\\DefaultShareProvider"],["OCA\\FederatedFileSharing\\FederatedShareProvider"],["OCA\\ShareByMail\\ShareByMailProvider"],"*** sensitive parameters replaced ***"],["Closure"],"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/SharesPlugin.php","line":121,"function":"getSharesInFolder","class":"OC\\Share20\\Manager","type":"->","args":["Leonardo",["OC\\Files\\Node\\Folder"],true]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/SharesPlugin.php","line":185,"function":"getSharesFolder","class":"OCA\\DAV\\Connector\\Sabre\\SharesPlugin","type":"->","args":[["OC\\Files\\Node\\Folder"]]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"handleGetProperties","class":"OCA\\DAV\\Connector\\Sabre\\SharesPlugin","type":"->","args":[["Sabre\\DAV\\PropFind"],["OCA\\DAV\\Files\\FilesHome"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["propFind",[["Sabre\\DAV\\PropFind"],["OCA\\DAV\\Files\\FilesHome"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":984,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\DAV\\PropFind"],["OCA\\DAV\\Files\\FilesHome"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1662,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->","args":["files/Leonardo",["{DAV:}getcontentlength","{DAV:}getcontenttype","{DAV:}getetag","{DAV:}getlastmodified","{DAV:}creationdate","{DAV:}displayname","{DAV:}quota-available-bytes","{DAV:}resourcetype","{http://nextcloud.org/ns}has-preview","{http://nextcloud.org/ns}is-encrypted","{http://nextcloud.org/ns}mount-type","{http://owncloud.org/ns}comments-unread","{http://owncloud.org/ns}favorite","{http://owncloud.org/ns}fileid","{http://owncloud.org/ns}owner-display-name","{http://owncloud.org/ns}owner-id","{http://owncloud.org/ns}permissions","{http://owncloud.org/ns}size","{http://nextcloud.org/ns}hidden","{http://nextcloud.org/ns}is-mount-root","{http://nextcloud.org/ns}metadata-files-live-photo","{http://nextcloud.org/ns}reminder-due-date","{http://nextcloud.org/ns}note","{http://nextcloud.org/ns}sharees","{http://nextcloud.org/ns}share-attributes","{http://owncloud.org/ns}share-types","{http://open-collaboration-services.org/ns}share-permissions","{http://nextcloud.org/ns}rich-workspace","{http://nextcloud.org/ns}rich-workspace-file","{http://nextcloud.org/ns}system-tags"],1]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1647,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\Xml\\Writer","*** sensitive parameters replaced ***","/remote.php/dav/",["d","s","oc","nc"],"*** sensitive parameters replaced ***"],["Generator"],false]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[["Generator"],false]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PROPFIND",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":370,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":146,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php","Line":87,"message":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon.","exception":{},"CustomMessage":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon."}}
{"reqId":"cRJtiTpkU6CcZ1iEo102","level":0,"time":"2024-09-26T12:26:14+00:00","remoteAddr":"151.59.150.54","user":"Leonardo","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/Leonardo/","message":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","version":"30.0.0.14","exception":{"Exception":"Exception","Message":"No parameters in call to OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder::orX","Code":0,"Trace":[{"file":"/var/www/html/apps/circles/lib/Tools/Db/ExtendedQueryBuilder.php","line":488,"function":"orX","class":"OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder","type":"->","args":[]},{"file":"/var/www/html/apps/circles/lib/Tools/Db/ExtendedQueryBuilder.php","line":325,"function":"exprLimitNull","class":"OCA\\Circles\\Tools\\Db\\ExtendedQueryBuilder","type":"->","args":["sh.parent",false,""]},{"file":"/var/www/html/apps/circles/lib/Db/ShareWrapperRequest.php","line":351,"function":"limitNull","class":"OCA\\Circles\\Tools\\Db\\ExtendedQueryBuilder","type":"->","args":["parent",false]},{"file":"/var/www/html/apps/circles/lib/Service/ShareWrapperService.php","line":253,"function":"getSharesBy","class":"OCA\\Circles\\Db\\ShareWrapperRequest","type":"->","args":[["OCA\\Circles\\Model\\FederatedUser"],2,false,-1,0,true,false]},{"file":"/var/www/html/apps/circles/lib/ShareByCircleProvider.php","line":435,"function":"getSharesBy","class":"OCA\\Circles\\Service\\ShareWrapperService","type":"->","args":[["OCA\\Circles\\Model\\FederatedUser"],2,false,-1,0,true]},{"file":"/var/www/html/lib/private/Share20/Manager.php","line":1137,"function":"getSharesBy","class":"OCA\\Circles\\ShareByCircleProvider","type":"->","args":["Leonardo",7,["OC\\Files\\Node\\Folder"],false,-1,0]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/SharesPlugin.php","line":92,"function":"getSharesBy","class":"OC\\Share20\\Manager","type":"->","args":["Leonardo",7,["OC\\Files\\Node\\Folder"],false,-1]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/SharesPlugin.php","line":151,"function":"getShare","class":"OCA\\DAV\\Connector\\Sabre\\SharesPlugin","type":"->","args":[["OC\\Files\\Node\\Folder"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/SharesPlugin.php","line":192,"function":"getShares","class":"OCA\\DAV\\Connector\\Sabre\\SharesPlugin","type":"->","args":[["OCA\\DAV\\Files\\FilesHome"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/PropFind.php","line":95,"function":"OCA\\DAV\\Connector\\Sabre\\{closure}","class":"OCA\\DAV\\Connector\\Sabre\\SharesPlugin","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/SharesPlugin.php","line":191,"function":"handle","class":"Sabre\\DAV\\PropFind","type":"->","args":["{http://owncloud.org/ns}share-types",["Closure"]]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"handleGetProperties","class":"OCA\\DAV\\Connector\\Sabre\\SharesPlugin","type":"->","args":[["Sabre\\DAV\\PropFind"],["OCA\\DAV\\Files\\FilesHome"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["propFind",[["Sabre\\DAV\\PropFind"],["OCA\\DAV\\Files\\FilesHome"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":984,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\DAV\\PropFind"],["OCA\\DAV\\Files\\FilesHome"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1662,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->","args":["files/Leonardo",["{DAV:}getcontentlength","{DAV:}getcontenttype","{DAV:}getetag","{DAV:}getlastmodified","{DAV:}creationdate","{DAV:}displayname","{DAV:}quota-available-bytes","{DAV:}resourcetype","{http://nextcloud.org/ns}has-preview","{http://nextcloud.org/ns}is-encrypted","{http://nextcloud.org/ns}mount-type","{http://owncloud.org/ns}comments-unread","{http://owncloud.org/ns}favorite","{http://owncloud.org/ns}fileid","{http://owncloud.org/ns}owner-display-name","{http://owncloud.org/ns}owner-id","{http://owncloud.org/ns}permissions","{http://owncloud.org/ns}size","{http://nextcloud.org/ns}hidden","{http://nextcloud.org/ns}is-mount-root","{http://nextcloud.org/ns}metadata-files-live-photo","{http://nextcloud.org/ns}reminder-due-date","{http://nextcloud.org/ns}note","{http://nextcloud.org/ns}sharees","{http://nextcloud.org/ns}share-attributes","{http://owncloud.org/ns}share-types","{http://open-collaboration-services.org/ns}share-permissions","{http://nextcloud.org/ns}rich-workspace","{http://nextcloud.org/ns}rich-workspace-file","{http://nextcloud.org/ns}system-tags"],1]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1647,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\Xml\\Writer",[],"/remote.php/dav/",["d","s","oc","nc"],[]],["Generator"],false]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[["Generator"],false]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PROPFIND",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":370,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":146,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php","Line":87,"message":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon.","exception":{},"CustomMessage":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon."}}
{"reqId":"53KzZs13R31P95gmsIeT","level":0,"time":"2024-09-26T12:26:18+00:00","remoteAddr":"151.59.150.54","user":"Leonardo","app":"text","method":"MKCOL","url":"/remote.php/dav/files/Leonardo/FileSync","message":"Reset document skipped in BeforeNodeWrittenEvent","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","version":"30.0.0.14","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"","Code":0,"Trace":[{"file":"/var/www/html/apps/text/lib/Listeners/BeforeNodeWrittenListener.php","line":43,"function":"getId","class":"OC\\Files\\Node\\NonExistingFile","type":"->","args":[]},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":68,"function":"handle","class":"OCA\\Text\\Listeners\\BeforeNodeWrittenListener","type":"->","args":[["OCP\\Files\\Events\\Node\\BeforeNodeWrittenEvent"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[["OCP\\Files\\Events\\Node\\BeforeNodeWrittenEvent"],"OCP\\Files\\Events\\Node\\BeforeNodeWrittenEvent",["Symfony\\Component\\EventDispatcher\\EventDispatcher"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[["Closure"],["Closure"],["Closure"]],"OCP\\Files\\Events\\Node\\BeforeNodeWrittenEvent",["OCP\\Files\\Events\\Node\\BeforeNodeWrittenEvent"]]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":67,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\Files\\Events\\Node\\BeforeNodeWrittenEvent"],"OCP\\Files\\Events\\Node\\BeforeNodeWrittenEvent"]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":79,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\Files\\Events\\Node\\BeforeNodeWrittenEvent",["OCP\\Files\\Events\\Node\\BeforeNodeWrittenEvent"]]},{"file":"/var/www/html/lib/private/Files/Node/HookConnector.php","line":74,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\Files\\Events\\Node\\BeforeNodeWrittenEvent"]]},{"file":"/var/www/html/lib/private/legacy/OC_Hook.php","line":82,"function":"write","class":"OC\\Files\\Node\\HookConnector","type":"->","args":[[true,"/FileSync"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":1247,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","write",[true,"/FileSync"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":1119,"function":"runHooks","class":"OC\\Files\\View","type":"->","args":[["create","write"],"/FileSync"]},{"file":"/var/www/html/lib/private/Files/View.php","line":208,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["mkdir","/FileSync",["create","write"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":143,"function":"mkdir","class":"OC\\Files\\View","type":"->","args":["//FileSync"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1210,"function":"createDirectory","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MKCOL",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":370,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":146,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Files/Node/NonExistingFile.php","Line":37,"message":"Reset document skipped in BeforeNodeWrittenEvent","exception":{},"CustomMessage":"Reset document skipped in BeforeNodeWrittenEvent"}}
{"reqId":"53KzZs13R31P95gmsIeT","level":0,"time":"2024-09-26T12:26:18+00:00","remoteAddr":"151.59.150.54","user":"Leonardo","app":"webdav","method":"MKCOL","url":"/remote.php/dav/files/Leonardo/FileSync","message":"\"FileSync\" is locked","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","version":"30.0.0.14","exception":{"Exception":"OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked","Message":"\"FileSync\" is locked","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1210,"function":"createDirectory","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MKCOL",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":370,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":146,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","Line":153,"Previous":{"Exception":"OCP\\Lock\\LockedException","Message":"\"FileSync\" is locked","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/View.php","line":1125,"function":"changeLock","class":"OC\\Files\\View","type":"->","args":["/FileSync",2]},{"file":"/var/www/html/lib/private/Files/View.php","line":208,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["mkdir","/FileSync",["create","write"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":143,"function":"mkdir","class":"OC\\Files\\View","type":"->","args":["//FileSync"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1210,"function":"createDirectory","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MKCOL",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":370,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":146,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Files/View.php","Line":2000,"Previous":{"Exception":"OCP\\Lock\\LockedException","Message":"\"files/2b51d190968ab22ed32deb695c6a7881\"(\"files/FileSync\") is locked","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":614,"function":"changeLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files/FileSync",2,["OC\\Lock\\DBLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":614,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/FileSync",2,["OC\\Lock\\DBLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":1991,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/FileSync",2,["OC\\Lock\\DBLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":1125,"function":"changeLock","class":"OC\\Files\\View","type":"->","args":["/FileSync",2]},{"file":"/var/www/html/lib/private/Files/View.php","line":208,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["mkdir","/FileSync",["create","write"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":143,"function":"mkdir","class":"OC\\Files\\View","type":"->","args":["//FileSync"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1210,"function":"createDirectory","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MKCOL",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":370,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":146,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Files/Storage/Common.php","Line":765,"Previous":{"Exception":"OCP\\Lock\\LockedException","Message":"\"files/2b51d190968ab22ed32deb695c6a7881\" is locked","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/Storage/Common.php","line":763,"function":"changeLock","class":"OC\\Lock\\DBLockingProvider","type":"->","args":["files/2b51d190968ab22ed32deb695c6a7881",2]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":614,"function":"changeLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files/FileSync",2,["OC\\Lock\\DBLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":614,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/FileSync",2,["OC\\Lock\\DBLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":1991,"function":"changeLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/FileSync",2,["OC\\Lock\\DBLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":1125,"function":"changeLock","class":"OC\\Files\\View","type":"->","args":["/FileSync",2]},{"file":"/var/www/html/lib/private/Files/View.php","line":208,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["mkdir","/FileSync",["create","write"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":143,"function":"mkdir","class":"OC\\Files\\View","type":"->","args":["//FileSync"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1210,"function":"createDirectory","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MKCOL",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":370,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":146,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Lock/DBLockingProvider.php","Line":193}}},"message":"\"FileSync\" is locked","exception":{},"CustomMessage":"\"FileSync\" is locked"}}

Anything now?

I’m not sure how you ended up in this predicament.

Your originally posted config had the following in it:

  'filelocking.enabled' => false,

Your errors don’t match your configuration. I presume this is no longer in your active configuration?

I added that line manually to the config file, but the errors are STILL there, i’ll check now if the config has automatically got changed

Nope, the config has that line in it and still gives the log you saw

I added that line manually to the config file, but the errors are STILL there,

When did you add that line?

Essentially you shouldn’t have that line in place, because disabling transactional file locking breaks lots of things.

Depending on when / what order you added that line, it’s possible you were in a state where locking was on and then it was off. The locking cleanup / shutdown tasks don’t run when it’s disabled. So the lock may have been created earlier on and will never get cleaned up with your current config.

Basically, get rid of that line and restart things.

Still get the same error: in the webui “Creating new folder failed” and “FileSync is locked” in the logs

Still get the same thing after deleting the entire user folder, just recreates it and continues as I didn’t do anything.

I’ll try reinstalling the nextcloud container from scratch