owncloud / music

:notes: Music app for ownCloud
GNU Affero General Public License v3.0
566 stars 197 forks source link

Scan from library stops all the time. #1168

Open starmanager01 opened 3 days ago

starmanager01 commented 3 days ago

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 commented 2 days ago

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 commented 2 days ago

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 commented 2 days ago

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.