Giter Club home page Giter Club logo

jellyfin-tizen-docker's People

Contributors

babagreensheep avatar dgabka avatar garobcsi avatar mishley avatar msambartolomeo avatar nathan-cruz77 avatar varstahl avatar vjba avatar vtdimitrov avatar yarons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jellyfin-tizen-docker's Issues

npm outdate

Hello,

need npm >= 20.0.0

can I change the Dockerfile section?

RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -

with :

RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -

Stuck at step 24

Hi there. I been trying to do everything but for some reason after reaching step 24 it stays there forever. Let it run for 4 hours and nothing. Repeated everything and the same happened.

# Build apps
WORKDIR /home/jellyfin/jellyfin-web
RUN npm ci --no-audit
WORKDIR /home/jellyfin/jellyfin-tizen
ENV JELLYFIN_WEB_DIR=/home/jellyfin/jellyfin-web/dist
RUN npm ci --no-audit

Wiped all images and started again...

Automated builds

Please add a GitHub Actions and use the internal ghcr.io repository to store the built Docker images, it's a lot easier than provide the files and building it manually.

I can help if needed.

`expect.sh` no such file or directory

I was puzzled for a hot minute until I realised it was a problem with cloning, posting here in case someone else gets stuck.

The error:

 => ERROR [28/28] RUN ./expect.sh                                   0.4s
------
 > [28/28] RUN ./expect.sh:
": no such file or directory "
------
executor failed running [/bin/sh -c ./expect.sh]: exit code: 1

Solution: when cloning make sure that the lines in the expect.sh script are LF terminated, and not CRLF terminated.

Error on step 27

Every time I try to run this docker container, there is an error on step 27. I cannot run npm ci --no-audit after setting the environment variable! I have tried it on 3 seperate systems, so I am assuming it happens to everyone
I just found the logs:
3739 silly buildTree linking [email protected]
3740 info lifecycle [email protected]preinstall: [email protected]
3741 info lifecycle [email protected]
install: [email protected]
3742 info lifecycle [email protected]postinstall: [email protected]
3743 info lifecycle [email protected]
install: [email protected]
3744 info lifecycle [email protected]postinstall: [email protected]
3745 info lifecycle [email protected]
install: [email protected]
3746 info lifecycle [email protected]postinstall: [email protected]
3747 info lifecycle [email protected]
install: [email protected]
3748 info lifecycle [email protected]postinstall: [email protected]
3749 info lifecycle [email protected]
install: [email protected]
3750 info lifecycle [email protected]postinstall: [email protected]
3751 silly buildTree linking [email protected]
3752 info lifecycle [email protected]
preinstall: [email protected]
3753 info lifecycle [email protected]install: [email protected]
3754 info lifecycle [email protected]
postinstall: [email protected]
3755 silly buildTree linking [email protected]
3756 info lifecycle [email protected]preinstall: [email protected]
3757 silly buildTree linking [email protected]
3758 info lifecycle [email protected]
preinstall: [email protected]
3759 info lifecycle [email protected]install: [email protected]
3760 info lifecycle [email protected]
postinstall: [email protected]
3761 silly buildTree linking [email protected]
3762 info lifecycle [email protected]preinstall: [email protected]
3763 info lifecycle [email protected]
install: [email protected]
3764 info lifecycle [email protected]postinstall: [email protected]
3765 info lifecycle [email protected]
install: [email protected]
3766 info lifecycle [email protected]postinstall: [email protected]
3767 silly buildTree linking [email protected]
3768 info lifecycle [email protected]
preinstall: [email protected]
3769 silly buildTree linking [email protected]
3770 info lifecycle [email protected]preinstall: [email protected]
3771 info lifecycle [email protected]
install: [email protected]
3772 info lifecycle [email protected]postinstall: [email protected]
3773 silly buildTree linking [email protected]
3774 info lifecycle [email protected]
preinstall: [email protected]
3775 info lifecycle [email protected]install: [email protected]
3776 info lifecycle [email protected]
postinstall: [email protected]
3777 info lifecycle [email protected]install: [email protected]
3778 info lifecycle [email protected]
postinstall: [email protected]
3779 silly buildTree linking [email protected]
3780 info lifecycle [email protected]preinstall: [email protected]
3781 silly buildTree linking [email protected]
3782 info lifecycle [email protected]
preinstall: [email protected]
3783 silly buildTree linking [email protected]
3784 info lifecycle [email protected]preinstall: [email protected]
3785 info lifecycle [email protected]
install: [email protected]
3786 info lifecycle [email protected]postinstall: [email protected]
3787 info lifecycle [email protected]
install: [email protected]
3788 info lifecycle [email protected]postinstall: [email protected]
3789 silly buildTree linking [email protected]
3790 info lifecycle [email protected]
preinstall: [email protected]
3791 info lifecycle [email protected]install: [email protected]
3792 info lifecycle [email protected]
postinstall: [email protected]
3793 info lifecycle [email protected]install: [email protected]
3794 info lifecycle [email protected]
postinstall: [email protected]
3795 silly linkStuff [email protected] has /home/jellyfin/jellyfin-tizen/node_modules/gulp/node_modules as its parent node_modules
3796 verbose linkBins [
3796 verbose linkBins { gulp: 'bin/gulp.js' },
3796 verbose linkBins '/home/jellyfin/jellyfin-tizen/node_modules/gulp/node_modules/.bin',
3796 verbose linkBins false
3796 verbose linkBins ]
3797 silly gently link link does not already exist {
3797 silly gently link link: '/home/jellyfin/jellyfin-tizen/node_modules/gulp/node_modules/.bin/gulp',
3797 silly gently link target: '/home/jellyfin/jellyfin-tizen/node_modules/gulp/node_modules/gulp-cli/bin/gulp.js'
3797 silly gently link }
3798 info lifecycle [email protected]install: [email protected]
3799 info lifecycle [email protected]
postinstall: [email protected]
3800 silly linkStuff [email protected] has /home/jellyfin/jellyfin-tizen/node_modules as its parent node_modules
3801 verbose linkBins [
3801 verbose linkBins { gulp: 'bin/gulp.js' },
3801 verbose linkBins '/home/jellyfin/jellyfin-tizen/node_modules/.bin',
3801 verbose linkBins false
3801 verbose linkBins ]
3802 info lifecycle [email protected]install: [email protected]
3803 info lifecycle [email protected]
postinstall: [email protected]
3804 info lifecycle [email protected]install: [email protected]
3805 info lifecycle [email protected]
postinstall: [email protected]
3806 verbose lifecycle [email protected]postinstall: unsafe-perm in lifecycle true
3807 verbose lifecycle [email protected]
postinstall: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/jellyfin/jellyfin-tizen/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/jellyfin/tizen-studio/tools/ide/bin:/home/jellyfin/tizen-studio/tools
3808 verbose lifecycle [email protected]postinstall: CWD: /home/jellyfin/jellyfin-tizen
3809 silly lifecycle [email protected]
postinstall: Args: [ '-c', 'gulp' ]
3810 silly lifecycle [email protected]postinstall: Returned: code: 1 signal: null
3811 info lifecycle [email protected]
postinstall: Failed to exec postinstall script
3812 verbose teardown shutting down workers.
3813 info teardown Done in 0s
3814 verbose stack Error: [email protected] postinstall: gulp
3814 verbose stack Exit status 1
3814 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
3814 verbose stack at EventEmitter.emit (events.js:400:28)
3814 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
3814 verbose stack at ChildProcess.emit (events.js:400:28)
3814 verbose stack at maybeClose (internal/child_process.js:1088:16)
3814 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5)
3815 verbose pkgid [email protected]
3816 verbose cwd /home/jellyfin/jellyfin-tizen
3817 verbose Linux 5.15.0-67-generic
3818 verbose argv "/usr/bin/node" "/usr/bin/npm" "ci" "--no-audit"
3819 verbose node v14.21.3
3820 verbose npm v6.14.18
3821 error code ELIFECYCLE
3822 error errno 1
3823 error [email protected] postinstall: gulp
3823 error Exit status 1
3824 error Failed at the [email protected] postinstall script.
3824 error This is probably not a problem with npm. There is likely additional logging output above.
3825 verbose exit [ 1, true ]

Issue on Step 23

after
Step 23/32 : RUN npm ci --no-audit
---> Running in d93347e0669b
i get
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated @types/[email protected]: This is a stub types definition for localforage (https://github.com/localForage/localForage). localforage provides its own type definitions, so you don't need @types/localforage installed!
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated @types/[email protected]: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
i've tried figuring out how to do this but am stuck

Failed to contruct `Headers` on Samsung TV UE55MU6102

Tried installing the tizen app throught this repo.
Everything went smoothly without any errors, until i started the app on the TV.
I'm getting
Unexpected Application Error! Failed to contruct Headers: No matching constructor signature. TypeError: Failed to contrcut Headers: No matching contructor signature. at TypeError (native) at ce(file:///www/[email protected]:2:23231)

Any help would be much appreciated!

Author certificate mismatch

Might be just me, but I tried to do this today, and I get all the way to tizen install, but then it fails with "Author certificate mismatch"
Log:

Transferring the package...
Transferred the package: /home/jellyfin/jellyfin-tizen/Jellyfin.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install AprZAARz4r.Jellyfin
package_path /home/owner/share/tmp/sdk_tools/tmp/Jellyfin.wgt
app_id[AprZAARz4r.Jellyfin] install start
app_id[AprZAARz4r.Jellyfin] installing[8]
app_id[AprZAARz4r.Jellyfin] installing[11]
app_id[AprZAARz4r.Jellyfin] installing[13]
app_id[AprZAARz4r.Jellyfin] installing[15]
app_id[AprZAARz4r.Jellyfin] installing[17]
app_id[AprZAARz4r.Jellyfin] installing[20]
app_id[AprZAARz4r.Jellyfin] installing[22]
app_id[AprZAARz4r.Jellyfin] installing[24]
app_id[AprZAARz4r.Jellyfin] installing[26]
app_id[AprZAARz4r.Jellyfin] installing[28]
app_id[AprZAARz4r.Jellyfin] installing[31]
app_id[AprZAARz4r.Jellyfin] installing[33]
app_id[AprZAARz4r.Jellyfin] install failed[118, -11], reason: Author certificate not match :
spend time for wascmd is [6189]ms
Failed to install Tizen application.
Total time: 00:00:09.533

Failed to solve: process "/bin/sh -c tizen ..."

OS: Fedora 37
Docker: 23.0.1

[+] Building 1.5s (19/33)                                                                                                                                                                                                       
 => [internal] load build definition from Dockerfile                                                                                                                                                                       0.1s
 => => transferring dockerfile: 2.62kB                                                                                                                                                                                     0.0s
 => [internal] load .dockerignore                                                                                                                                                                                          0.2s
 => => transferring context: 2B                                                                                                                                                                                            0.0s
 => [internal] load metadata for docker.io/library/ubuntu:22.04                                                                                                                                                            0.8s
 => [internal] load build context                                                                                                                                                                                          0.1s
 => => transferring context: 90B                                                                                                                                                                                           0.0s
 => [ 1/29] FROM docker.io/library/ubuntu:22.04@sha256:67211c14fa74f070d27cc59d69a7fa9aeff8e28ea118ef3babc295a0428a6d21                                                                                                    0.0s
 => CACHED [ 2/29] RUN apt-get update; apt-get -y upgrade; apt-get clean                                                                                                                                                   0.0s
 => CACHED [ 3/29] RUN DEBIAN_FRONTEND=noninteractive TZ=Singapore apt-get -y install tzdata                                                                                                                               0.0s
 => CACHED [ 4/29] RUN apt-get -qq install -y git openssh-server                                                                                                                                                           0.0s
 => CACHED [ 5/29] RUN apt-get install -y sudo                                                                                                                                                                             0.0s
 => CACHED [ 6/29] RUN apt-get install -y curl                                                                                                                                                                             0.0s
 => CACHED [ 7/29] RUN apt-get -y install expect                                                                                                                                                                           0.0s
 => CACHED [ 8/29] RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash -                                                                                                                                           0.0s
 => CACHED [ 9/29] RUN apt-get install -y nodejs                                                                                                                                                                           0.0s
 => CACHED [10/29] RUN npm update                                                                                                                                                                                          0.0s
 => CACHED [11/29] RUN useradd -m jellyfin -s /bin/bash                                                                                                                                                                    0.0s
 => CACHED [12/29] RUN wget https://download.tizen.org/sdk/Installer/tizen-studio_4.6/web-cli_Tizen_Studio_4.6_ubuntu-64.bin -P /home/jellyfin                                                                             0.0s
 => CACHED [13/29] RUN chmod a+x /home/jellyfin/web-cli_Tizen_Studio_4.6_ubuntu-64.bin                                                                                                                                     0.0s
 => CACHED [14/29] RUN ./home/jellyfin/web-cli_Tizen_Studio_4.6_ubuntu-64.bin --accept-license /home/jellyfin/tizen-studio                                                                                                 0.0s
 => ERROR [15/29] RUN tizen     certificate         -a Jellyfin         -p 1234         -c SG         -ct SG         -n Jellyfin         -f Jellyfin                                                                       0.5s
------                                                                                                                                                                                                                          
 > [15/29] RUN tizen     certificate         -a Jellyfin         -p 1234         -c SG         -ct SG         -n Jellyfin         -f Jellyfin:
#0 0.403 /bin/sh: 1: tizen: not found
------
Dockerfile:31
--------------------
  30 |     # Create certificates
  31 | >>> RUN tizen \
  32 | >>>     certificate \
  33 | >>>         -a Jellyfin \
  34 | >>>         -p 1234 \
  35 | >>>         -c SG \
  36 | >>>         -ct SG \
  37 | >>>         -n Jellyfin \  
  38 | >>>         -f Jellyfin
  39 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c tizen     certificate         -a Jellyfin         -p 1234         -c SG         -ct SG         -n Jellyfin         -f Jellyfin" did not complete successfully: exit code: 127

/bin/sh: 1: tizen: not found

Hi, just tried using this container and I am getting an error when it gets into creating certificates. It seems like the container just isn't setting the PATH variable for some reason even though it's in the docker file. I've deleted and redownloaded the repository locally and am still getting the same error. Below is the log. For reference I am running this on an M1 Macbook Air.

jellyfin-tizen-docker-master % docker build -t jellyfin .

[+] Building 1210.8s (19/32)                                                                                                                     
 => [internal] load build definition from Dockerfile                                                                                        0.0s
 => => transferring dockerfile: 2.59kB                                                                                                      0.0s
 => [internal] load .dockerignore                                                                                                           0.0s
 => => transferring context: 2B                                                                                                             0.0s
 => [internal] load metadata for docker.io/library/ubuntu:21.10                                                                             1.2s
 => [ 1/28] FROM docker.io/library/ubuntu:21.10@sha256:14d8cab8d7bd72a01e225cd85bf37bbf08bf88115769316fa86c776df4ea5fed                    27.8s
 => => resolve docker.io/library/ubuntu:21.10@sha256:14d8cab8d7bd72a01e225cd85bf37bbf08bf88115769316fa86c776df4ea5fed                       0.0s
 => => sha256:14d8cab8d7bd72a01e225cd85bf37bbf08bf88115769316fa86c776df4ea5fed 1.42kB / 1.42kB                                              0.0s
 => => sha256:330330705b92fe325e550f8d35519f2213e1168df212cf8095ea10db63fb6afa 529B / 529B                                                  0.0s
 => => sha256:771a596909ab10d1a46e672acfdae2b4ecae9896feb006e47a62f826f30128dc 1.48kB / 1.48kB                                              0.0s
 => => sha256:924f038c577f5fb37fec4317d1c44a40bae2f6ee798dc0e31394270b30d69e8d 29.03MB / 29.03MB                                           26.6s
 => => extracting sha256:924f038c577f5fb37fec4317d1c44a40bae2f6ee798dc0e31394270b30d69e8d                                                   0.9s
 => [internal] load build context                                                                                                           0.0s
 => => transferring context: 304B                                                                                                           0.0s
 => [ 2/28] RUN apt-get update; apt-get -y upgrade; apt-get clean                                                                          27.4s
 => [ 3/28] RUN DEBIAN_FRONTEND=noninteractive TZ=Singapore apt-get -y install tzdata                                                       2.0s
 => [ 4/28] RUN apt-get -qq install -y git openssh-server                                                                                  57.9s
 => [ 5/28] RUN apt-get install -y sudo                                                                                                     3.2s
 => [ 6/28] RUN apt-get install -y curl                                                                                                     1.9s
 => [ 7/28] RUN apt-get -y install expect                                                                                                   3.5s
 => [ 8/28] RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash -                                                                   6.7s
 => [ 9/28] RUN apt-get install -y nodejs                                                                                                  27.2s
 => [10/28] RUN npm update                                                                                                                  0.4s
 => [11/28] RUN useradd -m jellyfin -s /bin/bash                                                                                            0.2s
 => [12/28] RUN wget https://download.tizen.org/sdk/Installer/tizen-studio_4.6/web-cli_Tizen_Studio_4.6_ubuntu-64.bin -P /home/jellyfin  1047.4s
 => [13/28] RUN chmod a+x /home/jellyfin/web-cli_Tizen_Studio_4.6_ubuntu-64.bin                                                             0.8s
 => [14/28] RUN ./home/jellyfin/web-cli_Tizen_Studio_4.6_ubuntu-64.bin --accept-license /home/jellyfin/tizen-studio                         2.9s 
 => ERROR [15/28] RUN tizen     certificate         -a Jellyfin         -p 1234         -c SG         -ct SG         -n Jellyfin         -  0.3s 
------                                                                                                                                           
 > [15/28] RUN tizen     certificate         -a Jellyfin         -p 1234         -c SG         -ct SG         -n Jellyfin         -f Jellyfin:   
#18 0.278 /bin/sh: 1: tizen: not found                                                                                                           
------
executor failed running [/bin/sh -c tizen     certificate         -a Jellyfin         -p 1234         -c SG         -ct SG         -n Jellyfin         -f Jellyfin]: exit code: 127

Error building application step 14

Trying to build on RPI4. Known issue?

=> ERROR [14/28] RUN tizen certificate -a Jellyfin -p 1234 -c SG -ct 1.4s

[14/28] RUN tizen certificate -a Jellyfin -p 1234 -c SG -ct SG -n Jellyfin -f Jellyfin:
1.046 /bin/sh: 1: tizen: not found


Dockerfile:30

29 | # Create certificates
30 | >>> RUN tizen
31 | >>> certificate
32 | >>> -a Jellyfin
33 | >>> -p 1234
34 | >>> -c SG
35 | >>> -ct SG
36 | >>> -n Jellyfin \
37 | >>> -f Jellyfin
38 |

ERROR: failed to solve: process "/bin/sh -c tizen certificate -a Jellyfin -p 1234 -c SG -ct SG -n Jellyfin -f Jellyfin" did not complete successfully: exit code: 127

Problem connecting to TV

Hello,
as a preface: I'm a noob and setting up Jellyfin on a ubuntu server is the first time doing something like this for me. So maybe I'm just stupid.

I enabled developer mode on my TV and gave it the IP adress of my server. I also built the application and ran docker run -it --rm jellyfin followed by jellyfin@26704353ef4c:~/jellyfin-tizen$ sdb connect 192.168.188.45. I'm pretty shure that this is the right IP adress, I got it by looking under the network section of my router.
The output then was
* Server is not running. Start it now on port 26099 *
* Server has started successfully *
connecting to 192.168.188.45:26101 ...
failed to connect to 192.168.188.45:26101

At this point I don't know what to do.

I did not install Tizen Studio or anything else, do I need to this that?

Error copying expect.sh

I've been trying for a while and keep getting this error:
=> ERROR [27/29] COPY --chown=jellyfin ./expect.sh /home/jellyfin/jellyfin-tizen/expect.sh 0.0s

[27/29] COPY --chown=jellyfin ./expect.sh /home/jellyfin/jellyfin-tizen/expect.sh:


failed to compute cache key: "/expect.sh" not found: not found

I've tried downloading the expect.sh directly and tried it in multiple directories but it isn't working still. Do you have an idea of how to fix it? I'm pretty novice at this so it's entirely possible it's on my end but can't work out how to solve it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.