Jellyfin installation on Qnap TS-230 without qpkg package

DLNA, AirPlay, Chromecast, PS3, XBOX, iTunes, & other media players
serge35
Know my way around
Posts: 108
Joined: Wed Aug 10, 2022 6:30 pm
Location: Kyiv Ukraine

Jellyfin installation on Qnap TS-230 without qpkg package

Post by serge35 »

I have QNAP TS-230 (arm64) and before i used Jellyfin 10.7.6 which has been installed using qpkg file (from repo qnap.eu).
But after last Jellyfin update on android device I received info that Jellyfin 10.7.6 can not work with new android jellyfin, please install Jellyfin 10.8.0
I tried to find Jellyfin 10.8 in qpkf package but no chance.
I wondered if it was possible to install the Jellyfin on my NAS TS-230 without a qpkg file.
After several days of suffering))) I installed the Jellyfin on my NAS.
If anyone is interested in this topic, I can write instructions on how I did it.
User avatar
Gaudi
Easy as a breeze
Posts: 406
Joined: Thu Mar 04, 2010 10:47 pm

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by Gaudi »

I will appreciate if you could post the steps to install/update.
I do have 10.8.1-1 version (https://github.com/pdulvp/jellyfin-qnap) installed, but am willing to understand other installation method to upgrade it.

Thank you
serge35
Know my way around
Posts: 108
Joined: Wed Aug 10, 2022 6:30 pm
Location: Kyiv Ukraine

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by serge35 »

Have you got arm64 arch or Intel?
Because link which you posted is only for Intel (https://github.com/pdulvp/jellyfin-qnap)?
serge35
Know my way around
Posts: 108
Joined: Wed Aug 10, 2022 6:30 pm
Location: Kyiv Ukraine

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by serge35 »

But any way I think that these steps are the same for any arch.
Also I will ask you - do you know Container Station app for Qnap NAS ? It is simple way to use Jellyfin 10.8.3 without my hard instruction)))
But I was just interested in running the program myself
User avatar
Gaudi
Easy as a breeze
Posts: 406
Joined: Thu Mar 04, 2010 10:47 pm

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by Gaudi »

serge35 wrote:Have you got arm64 arch or Intel?
Because link which you posted is only for Intel (https://github.com/pdulvp/jellyfin-qnap)?
My NAS is an old TS-469 Pro, so it is Intel x64.
serge35 wrote:But any way I think that these steps are the same for any arch.
Also I will ask you - do you know Container Station app for Qnap NAS ? It is simple way to use Jellyfin 10.8.3 without my hard instruction)))
But I was just interested in running the program myself
My old NAS does not support Container Station. I have a new TA-473a which I have not yet got the chance to install.
Nevertheless your instructions will be valuable if I choose to go the .qpkg road.

Looks forward to them.
serge35
Know my way around
Posts: 108
Joined: Wed Aug 10, 2022 6:30 pm
Location: Kyiv Ukraine

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by serge35 »

Step 1
Ok, first of all check where Qnap saves installed qpkg packages on your HDD/SSD
On my SSD it is: /share/CACHEDEV2_DATA/.qpkg/
Here you must see all app which have been installed via App Center of Qnap
Then make here new dir Jellyfin_new
Go into this dir - cd Jellyfin_new
Then from https://repo.jellyfin.org/releases/server/linux/stable/
download tar.gz file according to your arc
make unzip here in the dir Jellyfin_new
tar xvzf *.tar.gz
you wll have new dir jellyfin_10.8.3
Create a symbolic link to the Jellyfin 10.8.3 directory
ln -s jellyfin_10.8.3 jellyfin
then make four new dirs
mkdir data cache config log
then isung vi editor make new file Jellyfin.sh
vi Jellyfin.sh
Here paste the following commands:
#!/bin/sh
JELLYFINDIR="/share/CACHEDEV2_DATA/.qpkg/Jellyfin_new"
FFMPEGDIR="/share/CACHEDEV2_DATA/.qpkg/Jellyfin_new/bin"
$JELLYFINDIR/jellyfin/jellyfin \
-d $JELLYFINDIR/data \
-C $JELLYFINDIR/cache \
-c $JELLYFINDIR/config \
-l $JELLYFINDIR/log \
--ffmpeg $FFMPEGDIR/ffmpeg

After make
chmod u+x Jellyfin.sh

Try to execute
./Jellyfin.sh
User avatar
OneCD
Guru
Posts: 12010
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by OneCD »

serge35 wrote: Mon Aug 15, 2022 1:31 am On my SSD it is: /share/CACHEDEV2_DATA/.qpkg/
Here you must see all app which have been installed via App Center of Qnap
Then make here new dir Jellyfin_new
Something to be aware of: one of Malware Remover's earliest validation checks was to examine .qpkg for manually-created directories and remove them.

I don't know if it still does this check, but Malware Remover checks have historically been cumulative. ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
serge35
Know my way around
Posts: 108
Joined: Wed Aug 10, 2022 6:30 pm
Location: Kyiv Ukraine

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by serge35 »

no, on my nas directory still exists
User avatar
OneCD
Guru
Posts: 12010
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by OneCD »

serge35 wrote: Mon Aug 15, 2022 2:06 am no, on my nas directory still exists
Great! :)

BTW: maybe consider building this into a new QPKG? You've already done the hardest part: getting Jellyfin running.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
serge35
Know my way around
Posts: 108
Joined: Wed Aug 10, 2022 6:30 pm
Location: Kyiv Ukraine

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by serge35 »

I tried))) but I did not find good manual(((
User avatar
Gaudi
Easy as a breeze
Posts: 406
Joined: Thu Mar 04, 2010 10:47 pm

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by Gaudi »

Thank you for your instructions.

It is similar to what I have tried to do, but run into problems with ffmpeg directory: it is present in the .qpkg created directories, but is not present in the server package downloaded.
This I got an error and I reverted back to original .qpkg.

I will give it a try and comment.

Also, I tried to follow instructions to create a working .qpkg myself, but QDK instructions were unclear (I tried to set up a WSL as indicated in pdulvp GitHub repo to compile, but failed at some point).

Regards
User avatar
OneCD
Guru
Posts: 12010
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by OneCD »

serge35 wrote: Mon Aug 15, 2022 2:23 am I tried))) but I did not find good manual(((
Yep, QNAP's documentation makes it look a lot harder than it really is. :(

Try starting with my template QPKG, and develop from there.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
serge35
Know my way around
Posts: 108
Joined: Wed Aug 10, 2022 6:30 pm
Location: Kyiv Ukraine

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by serge35 »

Gaudi wrote: Mon Aug 15, 2022 2:35 am Thank you for your instructions.

It is similar to what I have tried to do, but run into problems with ffmpeg directory: it is present in the .qpkg created directories, but is not present in the server package downloaded.
This I got an error and I reverted back to original .qpkg.

I will give it a try and comment.

Also, I tried to follow instructions to create a working .qpkg myself, but QDK instructions were unclear (I tried to set up a WSL as indicated in pdulvp GitHub repo to compile, but failed at some point).

Regards
Regading ffmpeg directory it will be the next Step 2
Make Step 1 and tell me result
serge35
Know my way around
Posts: 108
Joined: Wed Aug 10, 2022 6:30 pm
Location: Kyiv Ukraine

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by serge35 »

Step 2
About ffmpeg directory
Here find for your arc ffmpeg zip https://johnvansickle.com/ffmpeg/
Unzip it
You will have some files and direcory mainpages
Then make directory bin in directory Jellyfin_new (from Step 1)
Copy all files and directory mainpages to the Jellyfin_new
serge35
Know my way around
Posts: 108
Joined: Wed Aug 10, 2022 6:30 pm
Location: Kyiv Ukraine

Re: Jellyfin installation on Qnap TS-230 without qpkg package

Post by serge35 »

OneCD wrote: Mon Aug 15, 2022 2:36 am
serge35 wrote: Mon Aug 15, 2022 2:23 am I tried))) but I did not find good manual(((
Yep, QNAP's documentation makes it look a lot harder than it really is. :(

Try starting with my template QPKG, and develop from there.
Thank you for the invitation! I will study it. If I will have some questions I will ask you to help me)))
Post Reply

Return to “Media Streaming”