KyroFrCode / moonlight-chrome-tizen-docker

Docker file in order to build the Moonlight application for Samsung TVs running under Tizen from my Github repository
149 stars 12 forks source link

Error 118 Install Failed #8

Open naget09 opened 9 months ago

naget09 commented 9 months ago

Hello, I have followed the readme and got stuck on the installation step. So far from what I have read in reddit, this error 118 refers to a certificate error. Im puzzled about how to solve this issue. Im from a Latin American country so perhaps that has something to do with it. Hope that theres solution to this problem.

Ive found this link https://developer.youi.tv/6.15/rn/builds/tizen-build-widget/ that gives installations codes. Within the error 118, it signals to an issue with the config.xml file, I extracted the MoonlightWasm.wgt file from the docker container and imported it to Tizen Studio 5.1

Device is either out of space and does not have enough room to install your widget, or it is already installed. Possible causes include:

  • There could be an issue with your Tizen config.xml manifest file.
  • This device requires a Samsung certificate instead of a Tizen certificate.
  • Your device is not whitelisted in your Samsung certificate.
  • There may be restricted privileges or trust anchors in your Tizen config.xml manifest file.

On some TVs, the 118### sub-errors are often generalized into a 118 error, so it can often be difficult to track down the root cause of the error.

I could discard the second a third options because I have a Samsung certificate and I still can install other apps without issue, so my next action was to check what could be going on within "config.xml"

I modified that config.xml file trying any combination that would lead me to a succesful installation, managing to do so by lowering the required version to "2.3" (lowest option posible) and erasing 'launch_mode="caller"' from line 4. Although I managed to install Moonlight, I wasnt able to press on any option or do anything really. Making it obvious to me that messing with launch mode is not possible. Thats as far as I managed to find some sort of solution with my very limited knowledge. I hope any of this makes sense to someone who actually knows whats going on.


moonlight@930457c54b10:~$ tizen install -n MoonlightTizen.wgt -t UN55MU6500
Transferring the package...
Transferred the package: /home/moonlight/MoonlightTizen.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...

Platform log view

install MoonLightT.MoonlightTizen
package_path /home/owner/share/tmp/sdk_tools/tmp/MoonlightTizen.wgt
was_install_app return WAS_TRUE
app_id[MoonLightT.MoonlightTizen] install start
app_id[MoonLightT.MoonlightTizen] install failed[118]
spend time for wascmd is [406]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:01.299
naget09 commented 9 months ago

Tinkering with the config file some more, I decided to leave everything in default with the exception of the required_version leaving it at 3.0 (The platform version of my samsung tv). It installed, but issues regarding pressing options or buttons within the app are still present. It seems I have found a solution regarding the error 118. Yet there are other issues that need to be checked.

erictbar commented 9 months ago

Same issue here. My first time working with Docker, installed on Windows w/ WSL2. In VSCode with error:

install MoonLightS.MoonlightWasm
package_path /home/owner/share/tmp/sdk_tools/tmp/MoonlightWasm.wgt
was_install_app return WAS_TRUE
app_id[MoonLightS.MoonlightWasm] install start
app_id[MoonLightS.MoonlightWasm] install failed[118, -19], reason: Parsing error : 
spend time for wascmd is [907]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:01.438

I am wondering if I don't have enough space to install it? I tried deleting a bunch of apps but could only get down to 120MB free, out of a total of 945MB to actually go with.

TV is model UN43RU7100FXZA 2019

ml0renz0 commented 8 months ago

Exact same error here:

moonlight@myhost:~$ tizen install -n MoonlightWasm.wgt -t QE65Q85RATXXC
Transferring the package...
Transferred the package: /home/moonlight/MoonlightWasm.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install MoonLightS.MoonlightWasm
package_path /home/owner/share/tmp/sdk_tools/tmp/MoonlightWasm.wgt
was_install_app return WAS_TRUE
app_id[MoonLightS.MoonlightWasm] install start
app_id[MoonLightS.MoonlightWasm] install failed[118, -19], reason: Parsing error : 
spend time for wascmd is [536]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:01.041

I also tried setting required_version to my TV Tizen platform 5.0 in config.xml but didn't work.

sotiv29 commented 8 months ago

The same error here:

moonlight@5e1bd8d30a16:~$ tizen install -n MoonlightWasm.wgt -t  GQ75Q70RGTXZG
Transferring the package...
Transferred the package: /home/moonlight/MoonlightWasm.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install MoonLightS.MoonlightWasm
package_path /home/owner/share/tmp/sdk_tools/tmp/MoonlightWasm.wgt
was_install_app return WAS_TRUE
app_id[MoonLightS.MoonlightWasm] install start
app_id[MoonLightS.MoonlightWasm] install failed[118, -19], reason: Parsing error :
spend time for wascmd is [897]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:01.491
devbranch-vadym commented 8 months ago

Same here with UE55MU7040; previously I was able to install other application (Jellyfin) via Developer mode with no issues.

ericemanuel commented 8 months ago

Same error here:

moonlight@97c46fcf9162:~$ tizen install -n MoonlightWasm.wgt -t UN49KU6300
Transferring the package...
Transferred the package: /home/moonlight/MoonlightWasm.wgt -> /opt/usr/apps/tmp
Installing the package...
--------------------
Platform log view
--------------------
install MoonLightS.MoonlightWasm
package_path /opt/usr/apps/tmp/MoonlightWasm.wgt
was_install_app return WAS_TRUE
app_id[MoonLightS.MoonlightWasm] install start
app_id[MoonLightS.MoonlightWasm] install failed[118]
spend time for wascmd is [4222]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:06.541
ericemanuel commented 8 months ago

Just an update here: I attempted the method using a more recent TV from 2021, and it worked. Therefore, it's likely that this error is associated with older TV models.

joshOberhaus commented 8 months ago

Getting the same error with a UN55KU6290

I added: RUN sed -i 's|required_version="[0-9]\+\.[0-9]\+"|required_version="3.0"|' /home/moonlight/moonlight-chrome-tizen/res/config.xml (at first with 5.0) After the git clone in the Docker file too and retried to the same result.

But it seems like from other discussions, this will cause other issues anyway.

I also previously installed Jellyfin in the past (although more 'manually' through using the Studio).

I'm just looking for other solutions as Steam Link will be disabled soon.

azsde commented 8 months ago

Same error on my QE55Q9FNA from 2018. Too bad :(

cosmicr commented 8 months ago

I was able to get it installed on my QA55Q7FAM (2017) using @joshOberhaus method above (setting version to 3.0 in config.xml), however it doesn't seem to respond to any inputs on my remote (or game controller).

Unless there's some experts in Tizen development who are willing to make this work I guess I'm gonna have to buy a new TV 😒

KyroFrCode commented 8 months ago

I only have a Samsung Smart TV model 2021 in hand, I will try to find a solution and find out where the problem with error 118 comes from. Try the latest update DockerFile with some modification give by pkmnnerd and let me know if it happens again.

Stefan-Kosker commented 8 months ago

Hey Kyro, where do we get the DockerFile of pokemonnerd?

Happens with the UE55RU7179UXZG as well btw. It is a TV from 2019.

cosmicr commented 8 months ago

The latest commit 5add0be seems to remove the cloning of the actual moonlight source from github? Wouldn't this stop it from working? Not sure what the rest of the changes are trying to achieve (apart from freeing up space)?

Dean-Axe-Flip commented 7 months ago

Hey Kyro, where do we get the DockerFile of pokemonnerd?

Happens with the UE55RU7179UXZG as well btw. It is a TV from 2019.

Here. https://github.com/pkmnnerd/moonlight-chrome-tizen

I'm newish to all this and ran into the same problem as everyone here. My Tizen is version 5.0. and my TV model is QN55Q80RAFXZA. I have tried a couple versions of moonlight process. Haven't yet tried pkmnnerd.

Ones I tried so far are:

https://github.com/pablojrl123/moonlight-tizen-docker

https://github.com/OneLiberty/moonlight-chrome-tizen

I have not modified the xml file. I was thinking about it but what I was going to try, I saw others already tried. Here are some instructions on Tizen in case anyone here knows how to use it.

https://docs.tizen.org/application/tizen-studio/web-tools/config-editor/

I also noticed the same topic is in this other thread so I'm just making a note of that here for people looking around :) https://github.com/KyroFrCode/moonlight-chrome-tizen-docker/issues/2

ETA: I looked some more. OneLiberty is working on this issue as well and it looks like he has a functional Tizen emulator so maybe he's running Tizen 5.0 on it (it's what it sounds like). They have determined so far in that thread that the issue (at least for those of us with 5.0 and not 5.5) is that web assembly (WASM) was introduced in 5.5, and before in Tizen 5.0 it was via NaCl... and the Moonlight build currently uses WASM. More details on that thread. It looks like they're on the right track. I think any attempts with the WASM version of Moonlight will fail unless we can somehow update our TV Tizen version to 5.5 (though I don't know how to force an update or if it's even possible). It looks like they have made some awesome progresss though and I remain hopeful the answer will be found. I'm still learning about all this stuff but work and dad responsibilities takes up most of my time lol...

https://github.com/KyroFrCode/moonlight-chrome-tizen/issues/8

blakekl commented 6 months ago

@Dean-Axe-Flip where did you find the info about oneliberty working on this? I also have a Tizen 5.0 TV and would love to get moonlight running on it now that the steam link app has been killed. I'd like to follow the progress on it.

As far as upgrading Tizen, I don't think it's possible. https://www.tab-tv.com/how-to-update-samsung-smart-tv-tizen-os-to-a-new-version/

I was also a victim of the blu ray player incident that article mentions. Nasty stuff.

Dean-Axe-Flip commented 6 months ago

@Dean-Axe-Flip where did you find the info about oneliberty working on this? I also have a Tizen 5.0 TV and would love to get moonlight running on it now that the steam link app has been killed. I'd like to follow the progress on it.

As far as upgrading Tizen, I don't think it's possible. https://www.tab-tv.com/how-to-update-samsung-smart-tv-tizen-os-to-a-new-version/

I was also a victim of the blu ray player incident that article mentions. Nasty stuff.

Good morn @blakekl

Yeah I looked around and think updating Tizen from 5 to 5.5 isn't possible.

Here's the link to the One liberty thread. https://github.com/KyroFrCode/moonlight-chrome-tizen/issues/8

I'm seriously hoping someone can get a version of moonlight working for Tizen 5.0 (and possibly other earlier versions of Tizen that can support Native Client aka NaCl, instead of Web Assembly aka WASM). My understanding is that the moonlight that works on Tizen 5.5 was based on a fork of an earlier version of moonlight that was based on NaCl, and that's when moonlight was changed to being WASM. Samsung somewhere in my links of the previous post has some general instructions from Samsung as to how the change happened and the additional steps taken.

As a separate topic, I'm now wondering if anyone has an earlier version of Steam Link (Tizen) that users can install in the interim, because it worked (though with some issues for me on rare occasion). Though still hoping moonlight gets working. I know I could just buy an external dongle that lets me install Google apps and install moonlight on it, but I would rather not stick yet another powered device behind my TV when the TV has the capability to run moonlight/steamlink.

TiraelSedai commented 5 months ago

I'm having a very slightly different error for my UE65NU7090 (I think it's from 2018)

was_install_app return WAS_TRUE app_id[MoonLightS.MoonlightWasm] install start app_id[MoonLightS.MoonlightWasm] install failed[118019] spend time for wascmd is [974]ms cmd_ret:0 Failed to install Tizen application.

But I suspect it's the same as other 118 errors. Adding comment to be updated if\when somebody can find a solution.

SergioPN commented 5 months ago

Exactly same problem as @TiraelSedai with model UE55NU8005 (2018)

install MoonLightS.MoonlightWasm package_path /home/owner/share/tmp/sdk_tools/tmp/MoonlightWasm.wgt was_install_app return WAS_TRUE app_id[MoonLightS.MoonlightWasm] install start app_id[MoonLightS.MoonlightWasm] install failed[118019] spend time for wascmd is [564]ms cmd_ret:0 Failed to install Tizen application.

ordinho commented 5 months ago

Same thing happening with me, model UE55NU7105

install MoonLightS.MoonlightWasm package_path /home/owner/share/tmp/sdk_tools/tmp/Moonlight.wgt was_install_app return WAS_TRUE app_id[MoonLightS.MoonlightWasm] install start app_id[MoonLightS.MoonlightWasm] install failed[118019] spend time for wascmd is [781]ms cmd_ret:0 Failed to install Tizen application.

highdynamic commented 4 months ago

Same Error here: TV from 2019

moonlight@8db98322f679:~$ tizen install -n Moonlight.wgt -t GQ55Q82RGTXZG 
Transferring the package...
Transferred the package: /home/moonlight/Moonlight.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install MoonLightS.MoonlightWasm
package_path /home/owner/share/tmp/sdk_tools/tmp/Moonlight.wgt
was_install_app return WAS_TRUE
app_id[MoonLightS.MoonlightWasm] install start
app_id[MoonLightS.MoonlightWasm] install failed[118, -19], reason: Parsing error : 
spend time for wascmd is [742]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:01.413
OneLiberty commented 4 months ago

Please check your Tizen version before posting here if it's less than 5.5 moonlight won't work ! This means that all 2019 TVs (included) and lower can't install the app.