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, 04:43 PM)TheDreadPirate Wrote: It will not.  Starting Jellyfin with simply "jellyfin" excludes a lot of additional parameters that the service uses when it starts up.

Can you share the contents of /etc/jellyfin/network.xml?

And what is the output of "sudo ufw status"?

ufw:

Code:
Status: inactive

with regards to the  /etc/jellyfin/network.xml, the directory seems to be missing. could this be due to issues with my reinstall attempt?


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

That directory should exist IF you installed Jellyfin from our repo. How did you install Jellyfin?

Also, you will need to enable UFW and add a rule. When UFW is disabled that does not mean the firewall is disabled. UFW is an easier to use command line tool to manage firewall rules. It is not the firewall itself.

Code:
sudo ufw enable
sudo ufw allow 8096

Those would be the commands to allow access on port 8096 when we get Jellyfin squared away.


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

(2024-10-14, 05:14 PM)TheDreadPirate Wrote: That directory should exist IF you installed Jellyfin from our repo.  How did you install Jellyfin?

Also, you will need to enable UFW and add a rule.  When UFW is disabled that does not mean the firewall is disabled.  UFW is an easier to use command line tool to manage firewall rules.  It is not the firewall itself.

Code:
sudo ufw enable
sudo ufw allow 8096

Those would be the commands to allow access on port 8096 when we get Jellyfin squared away.

method below:

Code:
curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash



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

Is Jellyfin running?

sudo systemctl status jellyfin

What is the output of this command?

Code:
sudo journalctl -u jellyfin -n 200 --no-pager



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

(2024-10-14, 05:20 PM)TheDreadPirate Wrote: Is Jellyfin running?

sudo systemctl status jellyfin

What is the output of this command?

Code:
sudo journalctl -u jellyfin -n 200 --no-pager


Paste below for the journalctl:

https://pastebin.com/BphF2yh1

status wise, jellyfin is running 
Code:
● jellyfin.service - Jellyfin Media Server
    Loaded: loaded (/usr/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
            └─jellyfin.service.conf
    Active: active (running) since Sun 2024-10-13 20:01:14 UTC; 21h ago
  Main PID: 842 (jellyfin)
      Tasks: 20 (limit: 9060)
    Memory: 1.7G (peak: 1.9G)
        CPU: 7min 8.991s
    CGroup: /system.slice/jellyfin.service
            └─842 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg

Oct 14 17:02:58 colin jellyfin[842]: [17:02:58] [INF] WS 2a00:23c7:9a83:4501:ac4c:70d8:dff2:91d closed
Oct 14 17:02:59 colin jellyfin[842]: [17:02:59] [INF] WS 2a00:23c7:9a83:4501:ac4c:70d8:dff2:91d request
Oct 14 17:07:59 colin jellyfin[842]: [17:07:59] [INF] WS 2a00:23c7:9a83:4501:ac4c:70d8:dff2:91d closed
Oct 14 17:07:59 colin jellyfin[842]: [17:07:59] [INF] WS 2a00:23c7:9a83:4501:ac4c:70d8:dff2:91d request
Oct 14 17:12:59 colin jellyfin[842]: [17:12:59] [INF] WS 2a00:23c7:9a83:4501:ac4c:70d8:dff2:91d closed
Oct 14 17:13:00 colin jellyfin[842]: [17:13:00] [INF] WS 2a00:23c7:9a83:4501:b2f7:c4ff:fe50:7b47 request
Oct 14 17:18:01 colin jellyfin[842]: [17:18:01] [INF] WS 2a00:23c7:9a83:4501:b2f7:c4ff:fe50:7b47 closed
Oct 14 17:18:01 colin jellyfin[842]: [17:18:01] [INF] WS 2a00:23c7:9a83:4501:b2f7:c4ff:fe50:7b47 request
Oct 14 17:23:01 colin jellyfin[842]: [17:23:01] [INF] WS 2a00:23c7:9a83:4501:b2f7:c4ff:fe50:7b47 request
Oct 14 17:23:01 colin jellyfin[842]: [17:23:01] [INF] WS 2a00:23c7:9a83:4501:b2f7:c4ff:fe50:7b47 closed



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

Code:
Oct 14 15:53:44 colin jellyfin[842]: System.UnauthorizedAccessException: Access to the path '/var/cache/jellyfin' is denied.

Run this command to ensure jellyfin has ownership of everything it needs to control.

Code:
sudo chown -R jellyfin: /etc/jellyfin /var/cache/jellyfin /var/lib/jellyfin
sudo systemctl restart jellyfin



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

(2024-10-14, 05:30 PM)TheDreadPirate Wrote:
Code:
Oct 14 15:53:44 colin jellyfin[842]: System.UnauthorizedAccessException: Access to the path '/var/cache/jellyfin' is denied.

Run this command to ensure jellyfin has ownership of everything it needs to control.

Code:
sudo chown -R jellyfin: /etc/jellyfin /var/cache/jellyfin /var/lib/jellyfin
sudo systemctl restart jellyfin


been able to grant access to lib but not the other two as they are not present (below):

PHP Code:
sudo chown -R jellyfin: /etc/jellyfin /var/cache/jellyfin /var/lib/jellyfin
chown
cannot access '/etc/jellyfin'No such file or directory
chown
cannot access '/var/cache/jellyfin'No such file or directory 

i believe this maybe due to removing them after purging jellyfin to do a full reinstall but i guess theyb weren't rebuilt?


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

Let's purge and start over. Since /var/lib/jellyfin doesn't exist, that means you have no data to lose, correct?

Code:
sudo apt purge jellyfin*
sudo rm -rf /etc/jellyfin /var/lib/jellyfin /var/cache/jellyfin /usr/share/jellyfin
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, 05:43 PM)TheDreadPirate Wrote: Let's purge and start over.  Since /var/lib/jellyfin doesn't exist, that means you have no data to lose, correct?

Code:
sudo apt purge jellyfin*
sudo rm -rf /etc/jellyfin /var/lib/jellyfin /var/cache/jellyfin /usr/share/jellyfin
curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

failed to install due to access to /etc/jellyfin

Code:
chown: cannot access '/etc/jellyfin' : No such file or directory

ERROR: Failed to install Jellyfin. Use https:jellyfin.org/contact to find us for troubleshooting



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

What is the output of these commands?

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