-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: I can't see my files in the root of my accounts after NC upgrade (27) #40322
Comments
More informations :
|
Follow-up of my research on this bug:
I traced a simple call to "php8.0 occ info:file /benjamin/files/" (on the original NC27 + file_sharing 1.19.0) and it does the following SQL queries:
|
okay, following up :)
|
This comment was marked as off-topic.
This comment was marked as off-topic.
I found a solution (partially) commented out line 109-112 of apps/files_sharing/lib/SharedMount.php when I do that, the oc_mount is filled properly and the nextcloud files are now all properly visible ALSO, if I disable my MEMCACHED configuration in config/config.php, it works TOO... |
replaced memcached by redis, uncommented the cache in SharedMount.php, and everything is working fine and quick don't know what was wrong with my config.php, but maybe this deserve a line or two in the documentation if I did something wrong? ;) |
In theory What versions, specifically, of these do you have in this installation?
|
memcached launched with -m 64 -s /tmp/ben.memcached.sock -u ben |
This comment was marked as off-topic.
This comment was marked as off-topic.
So interestingly came across another party where Noting here simply for future reference for now. |
Closing since this got resolved. Still keeping an eye out for other similar scenarios from other memcached (not redis) users. If a pattern arises we can document something, but so far none. |
Bug description
Quickly: After the upgrade from NC25 to 26, (I later upgraded to NC27 to see if the bug was still there, it still is) I can't see my files in the root of my accounts, I only see the content of a folder another local user shared to me.
Details: my user is benjamin, and local user jean-pierre shared (long ago) 2 folders with me: "numerisation" and "videos"
Since NC26 upgrade, I am now seeing "numerisation" folder content at the root of my account instead of my own files. I asked jean-pierre to stop sharing this with me, and now I see "video" folders content from jean-pierre at the root of my account instead of my own files...
I found that in oc_mounts table I had the following entry :
| 113 | 23 | 659747 | benjamin | /benjamin/files/ | NULL | OCA\Files_Sharing\MountProvider |
659747 being the fileid of the "numerisation" folder in jean-pierre files.
after jean-pierre stopped sharing, I now have this entry in oc_mounts :
| 126 | 23 | 569282 | benjamin | /benjamin/files/ | NULL | OCA\Files_Sharing\MountProvider |
569282 being the fileid of jean-pierre "videos" folder ...
of course, in oc_mounts, I also have this entry,
| 1 | 1 | 1 | benjamin | /benjamin/ | NULL | OC\Files\Mount\LocalHomeMountProvider |
(which is normal)
I looked at a MySQL backup from before the upgrade to NC25/26/27, and I found that the entry 113 in oc_mounts had "/benjamin/files/numerisations/" as mount_point, not "/benjamin/files/"
If I change (manually in the DB) it back to the old value, and reload a NC page, it is changed back to "/benjamin/files/"
Steps to reproduce
I am not able to reproduce it on a new NC, sorry
Expected behavior
I expect to find my own files at the root of my account, not the content of a shared folder.
Installation method
Community Manual installation with Archive
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
This is a very old (it was an owncloud 8 and upgraded since to NC 10 to 27 as time goes by) installation.
I suspect this could be linked to #37473
The text was updated successfully, but these errors were encountered: