Jellyfin Forum
SOLVED: Cannot Access Web UI and App - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: SOLVED: Cannot Access Web UI and App (/t-solved-cannot-access-web-ui-and-app)

Pages: 1 2 3 4


RE: Cannot Access Web UI and App - G_O_B_L_N - 2024-10-14

(2024-10-14, 05:57 PM)TheDreadPirate Wrote: What is the output of these commands?

Code:
df -h
ls -ld /etc
ls -l /etc/

df -h:

Code:
Filesystem                        Size  Used Avail Use% Mounted on
tmpfs                              769M  1.5M  768M  1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv  1.8T  218G  1.6T  13% /
tmpfs                              3.8G    0  3.8G  0% /dev/shm
tmpfs                              5.0M    0  5.0M  0% /run/lock
/dev/sda2                          2.0G  182M  1.7G  10% /boot
tmpfs                              769M  16K  769M  1% /run/user/1000

ls -ld /etc:

Code:
drwxr-xr-x 122 root root 12288 Oct 14 16:07

ls -l /etc/

https://pastebin.com/3igAQr9V


RE: Cannot Access Web UI and App - TheDreadPirate - 2024-10-14

Did anything else fail during the install process? If your command prompt still has all the output, can you share EVERYTHING that was output after running "curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash".


RE: Cannot Access Web UI and App - G_O_B_L_N - 2024-10-14

(2024-10-14, 06:32 PM)TheDreadPirate Wrote: Did anything else fail during the install process?  If your command prompt still has all the output, can you share EVERYTHING that was output after running "curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash".

paste located below:

https://pastebin.com/qMC8d1gM


RE: Cannot Access Web UI and App - TheDreadPirate - 2024-10-14

Is that from re-running the command just now? Or from the first attempt earlier? It looks like it retrieved the meta-package, but not the actual packages? You should have seen 4 packages total.

Code:
jellyfin jellyfin-ffmpeg6 jellyfin-server jellyfin-web

What is the output of this?

Code:
sudo apt list --installed | grep jellyfin

If you don't see those 4 packages listed.

Code:
sudo apt install jellyfin jellyfin-ffmpeg6 jellyfin-server jellyfin-web



RE: Cannot Access Web UI and App - G_O_B_L_N - 2024-10-14

(2024-10-14, 06:49 PM)TheDreadPirate Wrote: Is that from re-running the command just now?  Or from the first attempt earlier?  It looks like it retrieved the meta-package, but not the actual packages?  You should have seen 4 packages total.

Code:
jellyfin jellyfin-ffmpeg6 jellyfin-server jellyfin-web

What is the output of this?

Code:
sudo apt list --installed | grep jellyfin

If you don't see those 4 packages listed.

Code:
sudo apt install jellyfin jellyfin-ffmpeg6 jellyfin-server jellyfin-web

this was from second reinstall but the results were the same as what i posted for both


with regards to the commands listed, outputs are below:

jellyfin jellyfin-ffmpeg6 jellyfin-server jellyfin-web:
Code:
[18:51:16] [INF] [1] Main: Jellyfin version: 10.9.11
[18:51:16] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/gobln/jellyfin/log]"]
[18:51:16] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "jellyfin-ffmpeg6", "jellyfin-server", "jellyfin-web"]
[18:51:16] [INF] [1] Main: Operating system: Ubuntu 24.04.1 LTS
[18:51:16] [INF] [1] Main: Architecture: X64
[18:51:16] [INF] [1] Main: 64-Bit Process: True
[18:51:16] [INF] [1] Main: User Interactive: True
[18:51:16] [INF] [1] Main: Processor count: 2
[18:51:16] [INF] [1] Main: Program data path: /home/gobln/jellyfin
[18:51:16] [INF] [1] Main: Log directory path: /home/gobln/jellyfin/log
[18:51:16] [INF] [1] Main: Config directory path: /home/gobln/jellyfin
[18:51:16] [INF] [1] Main: Cache path: /home/gobln/.cache/jellyfin
[18:51:16] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
[18:51:16] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
[18:51:16] [ERR] [1] Main: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/bin/jellyfin-web. If you do not want to host the web client with the server, you may set the '--nowebclient' command line flag, or set'hostwebclient=false' in your config settings


sudo apt list --installed | grep jellyfin:
Code:
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

jellyfin-ffmpeg6/unknown,now 6.0.1-8-noble amd64 [installed,automatic]
jellyfin-server/unknown,now 10.9.11+ubu2404 amd64 [installed,automatic]
jellyfin-web/unknown,now 10.9.11+ubu2404 all [installed,automatic]
jellyfin/unknown,now 10.9.11+ubu2404 all [installed]

shows that all 4 packages have been installed


RE: Cannot Access Web UI and App - TheDreadPirate - 2024-10-14

What happens when you run this command?

Code:
wget http://localhost:8096



RE: Cannot Access Web UI and App - G_O_B_L_N - 2024-10-14

(2024-10-14, 07:15 PM)TheDreadPirate Wrote: What happens when you run this command?

Code:
wget http://localhost:8096

below:
Code:
Resolving localhost (localhost)... 127.0.0.1

Connecting to localhost (localhost)|127.0.0.1|:8096... failed: Connection refused.

i believe this was from when i was trying to enable automatic login for the server (https://ostechnix.com/ubuntu-automatic-login/). i did attempt to reverse it as it change the host ip to 127.0.0.1 from 192.168.1.109


RE: Cannot Access Web UI and App - TheDreadPirate - 2024-10-14

It is quite possible that your automatic login stuff broke something. It is clearly not installing jellyfin correctly if ROOT can't even install stuff to /etc.

I'm not sure how to proceed other than reversing everything you did in that link.


RE: Cannot Access Web UI and App - G_O_B_L_N - 2024-10-17

(2024-10-14, 07:45 PM)TheDreadPirate Wrote: It is quite possible that your automatic login stuff broke something.  It is clearly not installing jellyfin correctly if ROOT can't even install stuff to /etc.

I'm not sure how to proceed other than reversing everything you did in that link.

Okay so i did a fresh install of ubuntu with jellyfin and everything using curl and worked fine right up untill today where i was restarting so that introskipper could update and the web UI goes down again. i have checked the IP and that seems to connect (snippit below):

wget http://localhost:8096

 
Code:
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8096... connected.
HTTP request sent, awaiting response... 302 Found
Location: web/ [following]
--2024-10-17 19:51:39--  http://localhost:8096/web/
Reusing existing connection to localhost:8096.
HTTP request sent, awaiting response... 200 OK
Length: 9976 (9.7K) [text/html]
Saving to: ‘index.html.2’

index.html.2        100%[===================>]  9.74K  --.-KB/s    in 0s

2024-10-17 19:51:39 (250 MB/s) - ‘index.html.2’ saved [9976/9976]


i did check the logs (paste link below from there rough time where the incident happened), which seems to indocate that it is a web socket issue? I was also wondering if this could have been caused by not cancelling a job that was running as the trick file were generating at the time? would this require another fresh install?

https://pastebin.com/N0atQL7S


RE: Cannot Access Web UI and App - TheDreadPirate - 2024-10-17

Code:
sudo systemctl stop jellyfin
sudo apt install --reinstall jellyfin-web
cd /var/lib/jellyfin/plugins/

Delete the intro skipper plugin folder, then go into the configurations folder and delete the XML file for intro skipper.

Code:
sudo systemctl start jellyfin

We are testing if intro-skipper is breaking jellyfin.