Sporadic Freezing Vero 4K+

Hello everyone,
Hope you’re all well.

My Vero 4K+ has been freezing over the past couple of months but lately it has been getting worse, with it starting to happen everyday, sometimes twice in a day.
I can’t seem to see any obvious pattern as it happens randomly either during playback, browsing the UI, waking from sleep the next day or not waking at all.

When the freeze does occur, the system becomes completely unresponsive including when trying to access the command line. So to restart the machine we usually unplug the device from the power.

I thought it may have been a faulty SD card so I removed that the other day but that hasn’t seemed to help. I don’t really have the greatest knowledge on how to read the logs to spot potential errors or issues but if anyone may be able to provide any assistance on trying to get the Vero back up and running, I’d be super appreciative.
Logs can be found: https://paste.osmc.tv/asuyoxejiw

Many thanks in advance :slight_smile:

Looks like some filesystem corruption and the system may be running out of memory.

Could you try a fresh install and see if this helps?

Sam

Hi Sam,
Thanks for the quick answer. :slight_smile:

humm I might have to leave that on the back burner for now, until I get some free time.

I can’t quite remember but please do correct me, to make a back up of the system I simply make an archive of both the “/home/osmc” & “/etc” using “sudo tar -cvzf” then if for restore I just use "sudo tar -xvzf ",

Unless you had loaded up some extra software that is running at the OS level you would likely find it easiest to just use the backup and restore options that are available in the My OSMC add-on.

Just before I make a mistake and jump into a fresh install, creating a backup using the utility in the My OSMC add-on and them simply restoring on the fresh system using that backup that was made.
I’ll end up everything again specifically the watched items, media status, the libraries, sources and the databases?

Yes assuming you select the respective options for both backup and restore. I think the default settings is to backup everything other than the thumbnails which should automatically regenerate on their own in most circumstances. They are not checked by default as they will significantly increase the time to make the backup and can cause it to fail if one does not have enough free space as the backup is created in the temp folder first before moving it to the chosen backup location.

Everything your talking about is contained in the ~/.kodi folder and you could even manually backup and restore that if you wanted. I personally don’t even bother with anything other than just connecting to the boxes over the network and manually copying that folder. I restore does require one to shut down Kodi first by accessing the terminal and systemctl stop mediacenter before replacing with the desired copy.

Another thing to try is different power supply. Mine recently also developed a “freezing” issue, after replacing it with a new piece all is stable again.

Ahhh, well that certainly didn’t go to plan.
Before resetting the system with a fresh install, using a couple of methods, I made a few backups. One using the back tool in myOSMC and a backup of the etc and home folders using the command line.

After reinstalling OSMC on the Vero4k+ on the Friday (3 days ago), I tried to restore the system using the tool in OSMC but that restore failed so I reinstalled OSMC again and restored the “etc & then the home” backups using the command line but after restarting the Vero nothing had been restored for some reason and the system was still stock. No settings but more importantly no libraries, sources, database, history ect ect.
@sam_nazarko
Did anyone have any ideas on what I might be able to try…

I don’t even mind if I have to start the settings and add ons from fresh but as long as I could get the library, sources, watched history, playlists, things like that, back to what it was, it’d be really really really amazing.

systemctl stop mediacenter
rm -r ~/.kodi

then copy over the .kodi folder you had backed up.

Indeed, it’s important to stop Kodi before copying over any user data.

I would not recommend copying over the /etc/ directory.

Thanks, I’ll defiantly be giving that a go a little latter on. :slight_smile:

I suspect copying the /etc folder is what’s been hindering the process. I’ll definitely be trying again and will update on how I get on. :slight_smile:

Yep, you definitely had the right idea! Copying the /etc folder was what I was doing wrong. Its all working perfectly well now with the database restored. ::smiley: Time will tell if that’s fixed the filesystem corruption from the OP.

Once again I can’t thank everyone enough for all the help and bearing with my limited knowledge, but I’ve been making notes, for future reference. :slight_smile:

Thanks again!