OSMC on Vero4K+ - library clean takes forever

Hi all,

Has anyone else had an issue where their library takes, seemingly, forever to clean?
I’ve got a large library, sure, but I am currently cleaning and it’s still going 7 minutes later. I’ve cleaned the same library on my TV which is running Kodi as an app, and that took all of 1 minute. What’s up with OSMC and library cleaning?

I’m running the most recent update (last week or so ago), but this behaviour was apparent well before the update… and the update hasn’t changed anything in this regard.

all the best,
Kieran

You probably have some old sources that it’s still trying to scan. If you post some logs we should be able to help you figure it out.

That would be great if you could help.
Apologies up front - how does one access the logs?
(the clean is still going now… so that’s about 14 minutes now I think).

thanks,
Kieran

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

Depending on the used skin you have to set the settings-level to standard or higher, in summary:

  • enable debug logging at settings->system->logging

  • reboot the OSMC device twice(!)

  • reproduce the issue

  • upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A

  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

OSMC skin screenshot:

OK, I’ll try that then, thanks.
It’ll probably take me 20 minutes or so.
I’m using the default skin, latest version.

… actually – can I just cancel the clean after a couple of minutes?? (when reproducing the issue)?
It’s now hanging after a while…

Just post the logs while the scan is running will probably help us see the problem.

https://paste.osmc.tv/uwexupozet

this is while the clean is running (I had to do this from ssh)

I just tried doing grab-logs -A again (it is still cleaning, so on the same clean instance). The log hasn’t updated since 18:26 (and it’s now 18:44).
https://paste.osmc.tv/tikeseqaki

Your system mounts don’t seem to make sense. You have the same share from your 10.1.1.205 servers nfs mounted in 4 different places. But the mounts show seem to show that you are using autofs.

Are you using autofs or fstab?

And why do you have 10.1.1.205://nfs mounted 4 times?

And to confuse things even more, your sources don’t even use those mounts!

1 Like

Hi,

I don’t know if I’m using autofs or fstab. I’m using whatever OSMC/kodi uses.
That’s interesting.
10.1.1.205 is an old server address. It should now be 192.168.1.109. So that’s gotta be fixed, but the sources are pointed to 192.168.1.109 as well… so that’s the last point.

The reasoning for the nfs duplicates (4 mounts) is I guess because the library folders I have. So I guess they got mounted 4 times?

I’ve now edited the 10.1.1.205 source, to point it to the new address. (and… it was only mounted to one point, called “Music Albums”.

fstab is not setup by Kodi. You would have had to have done that yourself.

And if the IP of the server changed, that would explain the slow clean/scan. It’s still trying to access the old IP.

I think that you need to re-think your setup, and start with a new library. Either use fstab, autofs or kodi mounts. But don’t mix them.

Having 4 different mounts of the same share (nfs) makes absolutely no sense. You would normally do something line nfs/TV, nfs/Movies etc for the mounts.

Thanks heaps for your help, I really appreciate it.

I absolutely, definately, sincerely swear. I did not install fstab myself. I really didn’t.
I bought the Vero4k+, set it up, updated it a few times and that is it. I just attached the shares in the Kodi interface. How it does the connection/mounting in the background - I have no idea at all.

I use NFS as a protocol instead of smb, or other, because it’s just slick and available on my qnap nas.

I honestly don’t know what you mean by:
"
Having 4 different mounts of the same share (nfs) makes absolutely no sense. You would normally do something line nfs/TV, nfs/Movies etc for the mounts.
"

When I start, I set up my music library.
I have to browse for the server/directory location, I do that, I give it a name.

When I start, I set up my music video library.
I have to browse for the server/directory location, I do that, I give it a name.

When I start, I set up my tv library.
I have to browse for the server/directory location, I do that, I give it a name.

When I start, I set up my movie library.
I have to browse for the server/directory location, I do that, I give it a name.

How do you do it any other way?

There is no way that these entries got into your /etc/fstab file unless you did it:

10.1.1.205:/nfs /Public/Movies        nfs     noauto,x-systemd.automount  0  0
10.1.1.205:/nfs /Public/TV        nfs     noauto,x-systemd.automount  0  0
10.1.1.205:/nfs /Public/Music        nfs     noauto,x-systemd.automount  0  0
10.1.1.205:/nfs /Public/Music/Music\040Videos        nfs     noauto,x-systemd.automount  0  0

It appears that you played around with fstab (and maybe forgot). But the entries from that are probably still stuck in your database and that’s causing the slow cleans.

If your library isn’t real big, it’s probably easier to just start with a new database.

Thanks for persisting with me.
I’m telling you I didn’t. Whatever. Regardless, something is a mess. How can I factory reset the Vero4k+ and just start afresh?

— I’ve worked out how to re-image it with the OSMC Vero4k installer, so I’ll try that.

Let us know how it goes.

Hi,
I’ve reset/reimaged my Vero4k+ now, and everything seems to be working fine thanks.
I’m still scratching my head about the fstab stuff though. Oh well, it doesn’t matter now.

thanks again.

2 Likes