-
Notifications
You must be signed in to change notification settings - Fork 199
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
Strange behavior when scanning group folder #1195
Comments
That sounds weird indeed. Is it so that this user "A" can still browse this subfolder of the group folder via the Files app? And after such browsing, Music still doesn't find the tracks in that folder?
There should not be log output exactly like that in the Music app. The closest thing I can think of is the debug level output "Old and new collection paths are unrelated, erasing the previous collection content". This just means that the user has selected a new music collection path which is neither contained in the previously configured path nor the predecessor of said path. For example, the path is first |
Yes, user "A" can still browse this subfolder of the group folder via the Files app. And after such browsing, Music still doesn't find the tracks in that folder.
The detail of that log item is: I've run reset-database, then disabled Music app, removed Music app. then re-installed Music app. Still not find any track. |
After changing the path to music collection to '/', Music finds all tracks, including tracks under the group folder. |
Right, that log output actually comes just a few source code lines away from the one which I referred to, but the search function here on Github works in a bit funny way and it got hidden from my results. So my bad. That error indicates that when Music app tried to fetch the folder matching the configured path, the system responded that no such file or folder exists. The folder not found may be either the one matching the previously configured path or the new configured path; this happens in the context where it is checked what is the relation of the new path to the previous one. If |
If the user "A" now changes the music path again to point to the folder under the group folder, does that make the tracks vanish again? Or did the weird behavior now vanish for good? |
User "A" changes the music path again to the folder under the group folder, then the tracks vanish. |
Okay, thanks. I now installed the Group folders app and managed to reproduce the problem: Using the group folder as library path works but using any of its subfolders does not. My initial assessment is that the function |
The root cause is now reported to nextcloud/groupfolders#3537. |
Nextcloud 28.0.14
Music 2.1.1
Music library is a subfolder of a group folder. One user A doesn't see any music track, while two other users see all music tracks.
In Nextcloud log, there is one item after the user A change music library folder:
Warning One of the paths was invalid, erasing the previous collection content
The command music:scan --clean-obsolete gives "Found 0 music files to scan", even after the command user:setting music path
The text was updated successfully, but these errors were encountered: