I have been using OSMC for quite a long time and I am very happy. I have unfortunately done some manipulations including the installation of “deluge”. I ended up doing updates with the commands “sudo apt-get update”, “sudo apt-get upgrade” and “sudo apt-get dist-upgrade”. I then realized that OSMC was not starting anymore (as well as medusa -> fork of sickrage) --> “Process: 2023 ExecStart=/etc/init.d/medusa start (code=exited, status=2)” . I do not know if it has a link but I prefer to indicate it too.
Since then, I have access to raspberry via SSH but more on the screen (a sad smiley is displayed), without error messages …
Can you help me?
Some SD cards are not genuine or have a lower capacity than advertised. Some simply fail over time.
Symptoms of SD cards not working correctly are:
Read-only behaviour, or changes made not persisting
A filesystem corruption error
Symptoms of counterfeit SD cards are:
Writing works until a certain filesystem size is reached, thereafter, writes seem to cause issues where existing data is lost or newly written data is not preserved.
SD card fails after a short amount of time.
Counterfeit cards are usually found on Amazon and eBay.
SD cards have a limited lifespan. I recommend you change SD card and suspect that issues will no longer persist with a good card. If you would like to be a good quality SD card purpose manufactured for OSMC, then you can find one in the Store.
After reboot : osmc@osmc:~$ sudo ls -l ~/testzz
-rw-r–r-- 1 root root 0 Jan 4 08:02 /home/osmc/testzz
The file is still here but I used sudo to create it.
@Sam the sd card is good quality. Are you sure that is the problem ?
Either your SD Card is or you have other corruption
Jan 03 22:24:26 osmc mediacenter[433]: Could not init logging classes. Log folder error (/home/osmc/.kodi/temp/)
Jan 03 22:24:26 osmc mediacenter[433]: ERROR: Unable to create application. Exiting
The corruption arrived just the same moment than my update (“sudo apt-get update”, “sudo apt-get upgrade” and “sudo apt-get dist-upgrade”)?
I got :
osmc@osmc:~$ ls --lah /home/osmc/.kodi/
ls: unrecognized option '--lah'
Try 'ls --help' for more information.
osmc@osmc:~$ sudo ls --lah /home/osmc/.kodi
ls: unrecognized option '--lah'
Try 'ls --help' for more information.