I hope someone will be able to help me do some trouble shooting on my CouchPotato. It has been working for a long time, but has recently stopped working. I’m a noob to linux and don’t understand everything and in researching and trying to fix it I am sure I have actually made things worse.
At first I thought it was because the service was not starting. Unfortunately I have not been taking notes and I did not know if it was started with init.d, rc.local or what I gather is the correct thing systemd. I don’t really know the difference and may have all three set up.
However none of these changes got it working again, so I tried installing again and now I think I have two non-functioning installs of CouchPotato. One at opt/CouchPotato and one at opt/CouchPotatoServer.
CouchPotato one was the first and did work and CouchPotatoServer is new and never worked.
I have also tried looking in the logs and there is a few things that I think are leading to the issue. In the CouchPotato Log the first issues are:
10-29 22:37:03 ERROR [31m[chpotato.core._base._core] LXML not available, please install for better/faster scraping support:
10-29 22:37:03 ERROR [31m[chpotato.core._base._core] OpenSSL not available, please install for better requests validation:
https://pyopenssl.readthedocs.org/en/latest/install.html: Traceback (most recent call last):
File “/opt/CouchPotato/couchpotato/core/_base/_core.py”, line 84, in dependencies
ImportError: No module named OpenSSL
However I think CouchPotato has worked after this date. The Next error is I think the one we need to investigate:
01-13 00:27:24 ERROR [31m[ couchpotato.runner] Shutting down as CP needs some space to work. You’ll get corrupted data otherwise. Only 54MB left [0m
This is the final entry in the log and is repeated several times, but with different amounts of MB left. I have seen advice in other threads to run df –h, so I have done this and this is the output:
osmc@osmc:~$ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 362M 0 362M 0% /dev tmpfs 367M 5.3M 362M 2% /run /dev/mmcblk0p6 28G 26G 39M 100% / tmpfs 367M 0 367M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 367M 0 367M 0% /sys/fs/cgroup /dev/mmcblk0p5 79M 20M 60M 26% /boot /dev/sdb1 1.4T 1.4T 209M 100% /mnt/SamsungG3Station /dev/mmcblk0p1 819M 745M 74M 92% /media/RECOVERY /dev/mmcblk0p3 27M 669K 25M 3% /media/SETTINGS /dev/sda2 4.6T 2.7T 2.0T 59% /mnt/SeagateExpansion5TB tmpfs 74M 0 74M 0% /run/user/1000
Do we need to try and free up some space? /dev/mmcblk0p6 looks full – could this be the issue?
(as a side issue OSMC update failed due to lack of space. I did sudo apt-get autoremove but I still got the message about lack of space. Doing sudo apt-get update and sudo apt-get dist-upgrade seems to have finished – are these things connected?)
I have done a grep on couchpotato and can see my bash history of me making things worse! Do you want to see this?
So I hope you can see I have tried to fix this, but need the help of an expert. I have provided a lot of detail here, but am more than happy to provide more info and run commands to help you diagnose the problem. Sorry for writing so much, I am not sure what are the key points you need to know.
So I need 2 things:
- Get CouchPotato working
- Clean up duplicated install
What do you need to help me? Do you want Kodi.log? Do you want full CouchPotato.log?
MOD EDIT: Please use code tags, signified by </> in the message editor, so that pre-formatted code is easily readable.