-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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]: OCP\Files\NotFoundException: /MyMusicLibrary #36019
Comments
Hi, this is possibly a bug of the music app. Please also report it here: https://github.com/owncloud/music/issues |
The Music app doesn't do anything too exotic in this case. In essence, it calls |
Hi, are you using the session credentials to authenticate the external storage? |
It's a local mount
It's a local mount, I don't think it needs a credential. The mount is a vhgfs from a windows directory. Heres my full setup: Windows 10 host, ubuntu 20.04 guest in virtualbox, nextcloud is installed via docker-compose in ubuntu. I've been using this setup since more than two years ago, and music app is among my most intensely used apps. |
Forgot to mention that the Music web app works without any problem. |
I just confirmed that this problem still persists in nxtcloud 25.0.2.3 |
This problem might not be specific to the music app. I get 'file not found' notices from time to time when using the files app, but this is much harder to reproduce. Currently all observed occurrences are in folders of external storage, but that's not a sure thing. I feel it necessary to also report this bug to files_external app |
What's the status of this issue ? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I managed to narrow this issue down to a couple of methods. To begin with, here's a simplified call stack for the music app when a music stream is requested via a client:
The last method (
Now, here's the interesting part: In case of a cache miss, the I've observed that for the root path of local external storages (in my case "/My Music"), the This is causing the |
Here's my current workaround (which will only work if your "Music" folder is a child of the root user folder): public function getFolder(string $userId) : Folder {
$userHome = $this->rootFolder->getUserFolder($userId);
$path = $this->getPath($userId);
$userHome->getDirectoryListing();
return Util::getFolderFromRelativePath($userHome, $path);
} |
This comment was marked as resolved.
This comment was marked as resolved.
Just performed an upgrade to NC 26.0.2. Unfortunately the issue was not fixed and the proposed workaround is still valid. |
This sounds like a fix in the music app then. Cc @paulijar |
Oh, I don't think that's a good idea. This issue affects other apps (e.g. files, notes) as well, but it may not be as noticeable. Please see my previous comment on this thread:
|
Cc @icewind then 🤷♂️ |
Maybe I'm missing something here, but I think you were trying to mention @icewind1991? 😅 |
Possibly related to #40353. |
This issue is still present on Nextcloud server v28.0.0 |
This issue is not present on 24.0.5.1, and present on 24.0.8.2. |
The issue seems to be gone, I recently updated from
to
Thought I should report here. So what's the status of this issue on 28.x.x |
Bug description
/MyMusicLibrary
is an external storage (files_external) of local directoryThis happens most of the time, except when the directory
/MyMusicLibrary
has just been accessed in the Files app.This problem is not present in
24.0.5.1
, I recently upgraded to24.0.8.2
and this is when the problem starts to happen. I now upgraded to25.0.2.3
and the problem still persists.Steps to reproduce
This problem specifically affects ONLY subsonic clients, the music webapp works seamlessly as usual.
Expected behavior
It should work as in previous versions.
Installation method
Community Docker image
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
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
What's this? I've never noticed this problem.
I've done an
./occ maintenance:mimetype:update-js
, Has this anything to do with this integrity failure?Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: