Closed TulipVang closed 1 year ago
I also tried to install ldd ipk from entware repository but the opkg return "open outer: fail to open package... Unrecognized archive format"
I referred to the previous issue https://github.com/elgatito/plugin.video.elementum/issues/939
@TulipVang start by providing log file, see https://github.com/elgatito/plugin.video.elementum/issues/939#issuecomment-1653353625
also, you can ask @A-Shahbazi and @sharkticonnz if they have any issues. I think they are the only ones webos users here. But looks like elementum works for them.
Hey TulipVang, Yeah Elementum works on my end using nightly builds of LGWebOS. How I got it to install was.
Big shout out to @elgatito , @antonsoroko and @A-Shahbazi as with out there assistance I wouldnt have it up and running.
@sharkticonnz My TV is rather old with limited storage. So I had to root it to offload Kodi to usb to try install elementm from elementumorg repo. However, it still didn't start. As it is rooted, if i install developer mode, root and kodi will be gone. I have to upload homebrew and kodi again and limited storage will prevent installing armv7_softfp. Let me try upload armv7_softfp by Filezilla to install zip again tonight. It is morning now in my time.
@TulipVang start by providing log file, see #939 (comment)
also, you can ask @A-Shahbazi and @sharkticonnz if they have any issues. I think they are the only ones webos users here. But looks like elementum works for them.
Thank you. I will try what @sharkticonnz suggested and come back.
@A-Shahbazi Can you help to install the ldd ipk please
@TulipVang you do not need ldd
to run elementum. it was needed for initial troubleshooting of #939.
and "start by providing log file". nobody can help you without log.
@antonsoroko I tried to install log uploader but it also failed. do you know where the log file is so that I can see it by filezilla
@TulipVang do it manually then: https://kodi.wiki/view/Log_file
although, if even simple addon like "Kodi Logfile Uploader" does not work - i doubt that anything will work, especially complex addon like elementum.
do other addons work? if not - maybe you need to update your webos or something like this. you can ask on some webos forum about how to make kodi work on your tv.
@TulipVang do it manually then: https://kodi.wiki/view/Log_file
although, if even simple addon like "Kodi Logfile Uploader" does not work - i doubt that anything will work, especially complex addon like elementum.
do other addons work? if not - maybe you need to update your webos or something like this. you can ask on some webos forum about how to make kodi work on your tv.
As I checked, some add on still can be installed and work. I can watch simple iptv client as usual. Log viewer also works but uploader doesn't.
Ok.
I will try to find log file here /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi/temp Source from https://github.com/xbmc/xbmc/blob/master/docs/README.webOS.md
@sharkticonnz I would like to attach the log. Kindly help to review. Thank you kodi.log
@TulipVang Hey mate comparing my log to yours, Your one seems to get stuck and crash because of your remote controller (I think) have you got HDMI CEC enabled? try again with it turned on. https://www.lg.com/us/support/help-library/lg-tv-how-to-enable-hdmi-cec-CT10000018-20153164607551
@TulipVang Hey mate comparing my log to yours, Your one seems to get stuck and crash because of your remote controller (I think) have you got HDMI CEC enabled? try again with it turned on. https://www.lg.com/us/support/help-library/lg-tv-how-to-enable-hdmi-cec-CT10000018-20153164607551
Hi. Actually, HDMI CEC is on. I turned it off and on again, install the elementum from repo but it still crashed. I tried to install from softfp but I lost ssh connection to upload, will try another time.
@sharkticonnz I upload the log file again. This time I install addon from softfp zip file. Please help to review. Many thanks kodi.log
As log file said some file like urllib3 missing, I force install using request as below link https://forum.kodi.tv/showthread.php?tid=343649 Now my kodi stop working right at the start :(
@TulipVang
1.
This time I install addon from softfp zip file.
so, before you tried to install regular version of elementum? to make it clear: only softfp will work on webos and you need to install it explicitly via zip file and by setting "platform" to linux_armv7_softf in elementum's settings.
btw, maybe you need to use "nightly builds of LGWebOS" as sharkticonnz suggested.
As log file said some file like urllib3 missing
many addons use urllib3 module. strange that it failed to install.
Now my kodi stop working right at the start :(
if you are tech savvy then you can try to see what kodi says in log, and maybe try to uninstall urllib3 manually (delete files). but anyway, to run elementum you would need to install urllib3 somehow. maybe consider complete re-installation of kodi.
I will try to install kodi again. However there is one thing I don't understand. How can I do the setting "platform" in elementum setting?
like this but in your language:
I changed the platform as you guided. But installation behavior did not change. It kept failing. I send the log file if you have any suggestion. Thank you kodi.log
mount
in terminal/ssh and share output.
also try to run chmod +x /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum
- this command fails in log.
and chmod +x /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7_softf/elementum
when you finally install proper version linux_armv7_softf.No module named 'kodi_six'
in log. either find a way to install it or install kodi 20 (not 21).
- i do not see in log that you use linux_armv7_softf. maybe i am wrong, but looks like you still try to use linux_armv7 (which will not work as was said many times).
- maybe because you rooted your device it behaves strange. type
mount
in terminal/ssh and share output. also try to runchmod +x /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum
- this command fails in log. andchmod +x /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7_softf/elementum
when you finally install proper version linux_armv7_softf.No module named 'kodi_six'
in log. either find a way to install it or install kodi 20 (not 21).
I just did reinstall kodi; then install linux_armv7_softf, chmod the elementum of linux_armv7_softf I would like to upload mount and log for your support please Mount.txt kodi.log
@TulipVang sorry, but it is very hard to help you, because:
looks like only now you finally installed linux_armv7_softfp - so before that we just wasted time.
for simple errors - i am pretty sure that you can read log file by yourself - it clearly says [Errno 28] No space left on device
after you deal with space: for chmod
- i wanted to see command output, obviously. but for correct path. if you will see in log something like:
error <general>: os.chmod(file_, st.st_mode | stat.S_IEXEC)
error <general>: PermissionError
error <general>: [Errno 1] Operation not permitted: BINARY_PATH_IS_HERE
then run chmod +x BINARY_PATH_IS_HERE
and post output here.
if you will see in log No module named 'kodi_six'
- then either find a way to install it or install kodi 20 (not 21).
@antonsoroko Thank you very much.
2 & 3. Two might be connected. Elementum using the .kodi folder from other position than the .kodi folder I mounted when I offloaded kodi to usb to solve the no space issue-if my understanding is correct. The mounting is saved in a script at /var/lib/webosbrew/init.d/ to run at least when the homebrew channel is opened, I would like to attach if you can suggest how I can mount the both .kodi folder to the same .kodi folder in usb? kodi1.zip kodi.log
@TulipVang i do not know anything about webos apart that it is linux based.
but i guess /var/palm/jail/org.xbmc.kodi/media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi
(from your script) and /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi
(from kodi log) are the same. you can create file in 2nd directory and check if it present in 1st directory.
anyway - elementum uses .kodi
directory provided by kodi itself.
so if something is wrong with .kodi
- it is because of wrong configuration, not because of elementum.
from your kodi log:
2023-11-15 22:27:20.860 T:1555 info <general>: special://home/ is mapped to: /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi
also as you can see in log - now you have [Errno 1] Operation not permitted
.
and if you look into output of mount
you will see (from txt file above):
/dev/sda4 on /var/palm/jail/org.xbmc.kodi/tmp/usb/sda/sda4 ...
^^^^^^^^^^^^^^^^
looks like your mount is wrong. you get /var/palm/jail/org.xbmc.kodi/tmp/usb/sda/sda4
instead of /var/palm/jail/org.xbmc.kodi/media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi
.
check what is inside /var/palm/jail/org.xbmc.kodi/tmp/usb/sda/sda4
- i think you mounted your external hdd into wrong path and you still use your internal storage for kodi.
maybe try:
mount -o bind /tmp/usb/sda/sda4/.kodi /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi
if it will not work - actually, you do not need "to mount", you can simply use links. like:
ln -sf /tmp/usb/sda/sda4/.kodi /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi
or
ln -sf /tmp/usb/sda/sda4/.kodi /var/palm/jail/org.xbmc.kodi/media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi
(but you need to delete or move original .kodi
directory first, of course)
if i am wrong - then i am out of ideas and you should ask in webos forum for help. this is not elementum issue.
@antonsoroko thank you very much. So details.
Step by step, I can mount and chmod rather well. Now the log return GetDirectory - Error getting plugin://plugin.video.elementum/
I send you the mount and log for your advice please. kodi.log mount_chmod.txt
@antonsoroko I can install elementum and start it now. However, Burst failed to install. From log, I can see future dependency cannot install.
2023-11-16 11:02:58.168 T:1465 error
I think the error occurred due to no space even though some message saying that due to wrong structure. I will manually delete some PVR that I don't use to get more space tomorrow.
if after mount
you still has issues with free space - maybe it have not worked?
i mean, i expect that your hdd has free space.
check that you really mounted hdd to proper path (to .kodi
directory, i mean).
for example, create big files in /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi
.
if you can't make mount
work - you can try to use links (ln
command from above).
Yes. It works now. The only problem is space. Enough space then it is done with armv7_softfp. For safety, I still kept install the kodi-six first. But if enough space, I think it should run well without this step as well. Sometimes the system can message thing like wrong structure but the real cause is not enough space to unpack archive which consequently cause the wrong structure. Thank you very much for follow up and support. I really appreciate.
@TulipVang
The only problem is space.
i still recommend you to check if you really use hdd. unless you do not have enough free space on hdd too.
Yes. I stop using the usb. Even after finishing Elementum installation and successful start, offload Kodi to usb making Elementum cannot start. Now I just run minimum Kodi with Elementum + opensubtitle, other space of webos for ssIptv for me and YouTube adfree for my kids.
Hi, any body can help to run elementum in webos nightly Kodi.
I saw a issue earlier but I could not use what was saying there I could install the repository of elementumorg but when install addon, it did not open elementum properly. Hope I can have a detail instruction to run elementum.