Giter Site home page Giter Site logo

Comments (5)

nickvergessen avatar nickvergessen commented on August 16, 2024 1

Tried to truncate oc_filecache multiple times

Congratulations, you just broke your server. You should not purge that table. The fileids are reused in other places, e.g. in shares and that is mostlikely what is causing your issue

from server.

huntervcx avatar huntervcx commented on August 16, 2024

Issue was before the truncate on a new server initialized with the same smb shares; and same issue on other server on v29.0.0.19 (with auto truncate enabled, admit for this one)
Tried the truncate as it was a same behavior as #45238 (showing wrong folder listing, truncate was the only way to refresh)

Problem remains the same : NC doesn't seems to load the files from backend share but only from his filecache table. And doesn't compare file_hash, as it opens files from other shares, that the user never had access to

from server.

solracsf avatar solracsf commented on August 16, 2024

Why in hell did you think it was a good idea to truncate an essential table for Nextcloud? This could NEVER be a solution for anything 😭

Only a backup restore can save you, otherwise you're good to restart your server from scratch.

Sorry to say, but this is not a bug, and no-one can help you here. 🥴

from server.

huntervcx avatar huntervcx commented on August 16, 2024

Issue was before the truncate on a new server initialized with the same smb shares; and same issue on other server on v29.0.0.19 (with auto truncate enabled, admit for this one) Tried the truncate as it was a same behavior as #45238 (showing wrong folder listing, truncate was the only way to refresh)

Problem remains the same : NC doesn't seems to load the files from backend share but only from his filecache table. And doesn't compare file_hash, as it opens files from other shares, that the user never had access to

As said just before, on a new server with same setup, same behavior after a while (>20days) and random folders/files, and pretty big oc_filecache table with fileid corresponding on other tables.
truncate was a test on a secondary server, with same config, that temporarly fixed other issues of listing folders on external storage

the issue is here without any modification to the db. That's why I reported it initally, as it's random and sometimes revert to the normal files after a lot of time (>6hours while being under massive load from users)
Issue also here with or without redis for cache and filelock, with and without preview enabled, some stock apps enabled and disabled

from server.

solracsf avatar solracsf commented on August 16, 2024

In that case continue your debug at #45238 because here there is nothing we can do about it.

AGAIN, oc_filecache is not a "cache" in any means (even if the name of the table is not perfect, it should be more like oc_filetable).

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.