Comments (5)
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.
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.
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.
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.
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)
- Detect changes to files (using custom hooks) HOT 2
- CPU Utilization jumped from 1% to 3-4% on average with 28.0.6. HOT 2
- Array to string conversion at /var/www/nextcloud/apps/dav/lib/CalDAV/Activity/Backend.php#561 HOT 2
- [Bug]: new name of renamed file only shown after page reload
- [Bug]: occ admin-delegation:add allows adding the same delegation multiple times HOT 2
- Please add JSON output to admin-delegation:show HOT 1
- Enable WebP preview generation without Imaginary
- [Bug]: Notifications should have an "x" button to close them
- [Bug]: Server does not utilize system CA Certificates through specified HTTP Proxy HOT 3
- [Bug]: Video preview causes crash
- [FeatureRequest] Add an option to set oAuth2 applications as trusted, for own external apps which uses oAuth2 sessions
- [Bug]: File comments broken HOT 2
- i18n: Need context for placeholders HOT 3
- [Bug]: No UserChangedEvent emitted for LDAP users that are disable via markRemnantsAsDisabled config
- [Bug]: App permission for groups - broken group list HOT 2
- [Bug]: Missing breadcrumb ellipsis -> Grid view button pushed out of view
- [Bug]: Used memory grew by more than 50 MB when executing job OCA\DAV\BackgroundJob\RefreshWebcalJob
- [Bug]: Delayed visual feedback when uploading a large folder via drag and drop HOT 2
- [Bug]: "Cannot delete the video part of a live photo" error message while deleting .mov file on server HOT 14
- [Bug]: No visual feedback for move operations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server.