Raspberry PI 1 B Model Issues with Media Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
kk345
Posts: 18
Joined: Sun Dec 06, 2020 10:02 am

Re: Raspberry PI 1 B Model Issues with Media

Post by kk345 »

hi,
I am running dietpi on RPi0W
I modify my diepi-software as per below changes
https://github.com/MichaIng/DietPi/comm ... 1204bf8623

installed jellyfin and did a reboot
i cant access jellyfin webpage. looked under services (in dietpi-launcher) and found service failed to start. Restarted service but no use.
Any suggestions...
User avatar
Joulinar
Posts: 5148
Joined: Sat Nov 16, 2019 12:49 am

Re: Raspberry PI 1 B Model Issues with Media

Post by Joulinar »

probably easier if you would try DietPi 6.34 BETA ;)

anyway, can you post following

Code: Select all

cd /mnt/dietpi_userdata
sudo -u jellyfin /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
kk345
Posts: 18
Joined: Sun Dec 06, 2020 10:02 am

Re: Raspberry PI 1 B Model Issues with Media

Post by kk345 »

dietpi@DietPi:~$ cd /mnt/dietpi_userdata
dietpi@DietPi:/mnt/dietpi_userdata$ sudo -u jellyfin /usr/bin/j
ellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib
/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg

We trust you have received the usual lecture from the local Sys
tem
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for dietpi:
Sorry, user dietpi is not allowed to execute '/usr/bin/jellyfin
--webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyf
in/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg' as jellyfin on DietPi.
User avatar
Joulinar
Posts: 5148
Joined: Sat Nov 16, 2019 12:49 am

Re: Raspberry PI 1 B Model Issues with Media

Post by Joulinar »

can you do this as root user pls
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
kk345
Posts: 18
Joined: Sun Dec 06, 2020 10:02 am

Re: Raspberry PI 1 B Model Issues with Media

Post by kk345 »

root@DietPi:/mnt/dietpi_userdata# sudo -u jellyfin /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
Segmentation fault

below is my edited ditepi-software

Code: Select all

software_id=178 # Jellyfin
		if (( ${aSOFTWARE_INSTALL_STATE[$software_id]} == 1 )); then

			Banner_Installing

			# Install APT repo key
			#INSTALL_URL_ADDRESS='https://repo.jellyfin.org/debian/jellyfin_team.gpg.key'
			INSTALL_URL_ADDRESS='https://repo.jellyfin.org/jellyfin_team.gpg.key'
			G_CHECK_URL "$INSTALL_URL_ADDRESS"
			#G_EXEC eval "curl -sSLf '$INSTALL_URL_ADDRESS' | gpg --dearmor -o /etc/apt/trusted.gpg.d/dietpi-jellyfin.gpg --yes"
			G_EXEC eval "curl -sSfL '$INSTALL_URL_ADDRESS' | gpg --dearmor -o /etc/apt/trusted.gpg.d/dietpi-jellyfin.gpg --yes"

			# Install APT repo
			#echo "deb https://repo.jellyfin.org/debian/ $G_DISTRO_NAME main" > /etc/apt/sources.list.d/dietpi-jellyfin.list
			local distro='debian'
			(( $G_HW_ARCH == 1 )) && distro='raspbian'
			echo "deb https://repo.jellyfin.org/$distro/ $G_DISTRO_NAME main" > /etc/apt/sources.list.d/dietpi-jellyfin.list
			G_AGUP

			# Install Jellyfin + FFmpeg implementation
			G_AGI jellyfin jellyfin-ffmpeg

		fi
User avatar
Joulinar
Posts: 5148
Joined: Sat Nov 16, 2019 12:49 am

Re: Raspberry PI 1 B Model Issues with Media

Post by Joulinar »

did you tried running DietPi 6.34 BETA?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
kk345
Posts: 18
Joined: Sun Dec 06, 2020 10:02 am

Re: Raspberry PI 1 B Model Issues with Media

Post by kk345 »

Changed master to beta in /boot/dietpi.txt

Did update from dietpi-launcher
Reinstalled jellifin, dietpi-software reinstall 178
But still jellyfin service failed under dietpi-services
User avatar
Joulinar
Posts: 5148
Joined: Sat Nov 16, 2019 12:49 am

Re: Raspberry PI 1 B Model Issues with Media

Post by Joulinar »

hmm I did a test on my RPi1 and indeed it's still failing. Strange. Ok we would need support from developer on this @MichaIng
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
Joulinar
Posts: 5148
Joined: Sat Nov 16, 2019 12:49 am

Re: Raspberry PI 1 B Model Issues with Media

Post by Joulinar »

hmm I tried to follow instructions on jellyfin.org, but it seems armv6l boards are not supported anymore. I did not tested it but maybe running on Docker might be an alternative. :?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
WarHawk
Posts: 743
Joined: Thu Jul 20, 2017 8:55 am

Re: Raspberry PI 1 B Model Issues with Media

Post by WarHawk »

Docker does work...I installed it on my OPiPC...testing now (however it is based on the newest kernels not the older RPiB armv6l kernels)

It should work just fine..this is the docker run jellyfin.sh I made
https://jellyfin.org/docs/general/admin ... tml#docker

Code: Select all

docker run -d \
 --name jellyfin \
 --user 1000:1000\
 --net=host \
 --volume /home/warhawk/jellyfin/config:/config \
 --volume /home/warhawk/jellyfin/cache:/cache \
 --mount type=bind,source=/home/warhawk/jellyfin/media,target=/media \
 --restart=unless-stopped \
 jellyfin/jellyfin
It is up and running...testing by copying a movie over to the /home/warhawk/jellyfin/media directory...however I think I may create a mapping to my main UNRaid server to see if it can go thru my vast library on my main server

I did have to use portainer to re-create the docker file because I screwed up the user flag before and had to "tweak" it to get it working
Post Reply