Skip to content
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

Scan from library stops all the time. #1168

Open
starmanager01 opened this issue Sep 28, 2024 · 4 comments
Open

Scan from library stops all the time. #1168

starmanager01 opened this issue Sep 28, 2024 · 4 comments
Labels

Comments

@starmanager01
Copy link

I did install the last version last week. Now I did scan the library new.

  1. It only scans when the webside is open.
  2. After a while ist stops scanning
  3. I need to reload the page to start scanning again.

In the Moment it is a pain. I have more then 80000 songs.

Is it possible to go to a older version back?

@paulijar
Copy link
Collaborator

Thanks for the report.

I would say that it's unlikely that the version of the Music app is a relevant factor here. There has been no significant changes in the scanning logic for three years, since Music v1.5.0. If the scanning has previously worked without issues and now it doesn't, then the more likely alternative is that an update of the hosting ownCloud or Nextcloud version has broken it. What is the version of Music where the scanning has previously worked for you?

Are you using some kind of external storage for your music files? The problem kind of sounds like the connection to your files would get closed mid-scanning, for whatever reason. Does your point 1 mean, that you have tried to scan with occ music:scan but it works only if the web user interface is open with a logged-in user?

@starmanager01
Copy link
Author

Hi, thanks for your message. I am using my Nextcloud at Hetzner in Germany with the 5TB plan. So every File is on the server from Hetzner. I can only use the web user interface. I did get the scan now after 2 days done. I like the player in the web gui. He is now without a gap between the titles. If I add now some music it will show up pretty fast. So maybe the size of 2,5TB of music makes the system slow.

@paulijar
Copy link
Collaborator

80000 songs is pretty extreme and more than I have ever tested. Depending on the performance of the server, some HTTP queries might start to time out with such a load. If you will ever get this problem again, you could check the "Network" tab of the browser developer tools (F12). There, you should see which is the failing request and if the reason is a timeout or something else.

Normally, the scanning with occ music:scan should be bit more performant and the recommended method for huge libraries. But it doesn't help you if you don't have an SSH connection available to your server.

@paulijar
Copy link
Collaborator

paulijar commented Dec 2, 2024

It's also possible that this is the same problem as #918, although that one was reported for the command line scanning. If this is the case, then the problem should be gone in the next version of Music, when that is eventually released.

@paulijar paulijar added the Bug label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants