8000 Unable to get play button to appear · Issue #5 · Protected/EmbyParty · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Unable to get play button to appear #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
KayDox64 opened this issue Jan 9, 2025 · 8 comments
Open

Unable to get play button to appear #5

KayDox64 opened this issue Jan 9, 2025 · 8 comments

Comments

@KayDox64
Copy link
KayDox64 commented Jan 9, 2025

after a long battle of getting appheader.js too open properly (for me it was minified for some reason), nothing happen. the plugin IS installed. i have cleared my cashe.

@KayDox64
Copy link
Author
KayDox64 commented Jan 9, 2025

i went ahead and re-added the code without de-minifying it, and now it the whole web ui wont load on direct conection.

here is the log mentioning emby party tho

2025-01-08 22:16:28.069 Error App: Error in EmbyParty.EntryPoint
*** Error Report ***
Version: 4.8.10.0
Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
Operating system: Linux version 5.15.0-91-generic (buildd@lcy02-amd64-045) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #101-Ubunt
Framework: .NET 6.0.31
OS/Process: x64/x64
Runtime: opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Data path: /var/lib/emby
Application path: /opt/emby-server/system
System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/opt/emby-server/system/dashboard-ui/modules/embyparty' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at System.IO.FileSystem.CreateDirectory(String fullPath)
at System.IO.Directory.CreateDirectory(String path)
at EmbyParty.Plugin.ExtractResources()
at EmbyParty.EntryPoint.Run()
at Emby.Server.Implementations.ApplicationHost.RunEntryPoints(IEnumerable`1 entryPoints, Boolean isBeforeStartup)
Source: System.Private.CoreLib
TargetSite: Void CreateDirectory(System.String)
InnerException: System.IO.IOException: Permission denied
Source:
TargetSite:

@Protected
Copy link
Owner

Hello! As the log states, your Emby instance does not have permission to write to /opt/emby-server/system/dashboard-ui/modules/embyparty . Are you running it as a user? I never had this issue with my instance (installed according to the official instructions) but you're not the first one to have it.

This is a problem you'll have to solve in your instance setup by making sure emby can write to that path. Optionally you could also try installing the module there manually by downloading all the files from the corresponding path in this repository.

@KayDox64
Copy link
Author
KayDox64 commented Jan 9, 2025

So User emby just doesnt have permissions? that seems like a simple fix. also should the appheader.js file even be minified? is that normal?

@Protected
Copy link
Owner

Normally it's partially minified and all in one line by default. If that bothers you, you can use a formatter to lay it out into multiple lines, but it should make no difference.

@Protected
Copy link
Owner

There's a sed command in Neureka's script that you could try if you don't want to edit it manually.

@KayDox64
Copy link
Author
KayDox64 commented Jan 9, 2025

I dont mind editing manualy, could you send a screenshot of where it should be pasted?

@Protected
Copy link
Owner

It's the last thing in the body of the render function, before the closing curly brace }

@RenNagasaki
Copy link

Sooo
I'm on a Windows Server with Emby runnning in Docker with default config.

`services:
emby:
image: emby/embyserver:latest
container_name: embyserver
runtime: nvidia # Expose NVIDIA GPUs
environment:
- UID=1000 # The UID to run emby as (default: 2)
- GID=100 # The GID to run emby as (default 2)
- GIDLIST=100 # A comma-separated list of additional GIDs to run emby as (default: 2)
labels:
- com.centurylinklabs.watchtower.depends-on=install-emby-party
volumes:
- ./config:/config # Configuration directory

rest omitted`

When I start the server I get this error.

2025-01-26 02:14:04.904 Info App: Starting entry point EmbyParty.EntryPoint 2025-01-26 02:14:04.906 Info Party: Extracting resource EmbyParty.dashboard_ui.modules.embyparty.emoji.js 2025-01-26 02:14:04.906 Error App: Error in EmbyParty.EntryPoint *** Error Report *** Version: 4.8.10.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 5.15.167.4-microsoft-standard-WSL2 (root@f9c826d3017f) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP Tue Nov 5 00:21:55 UTC 2024 Framework: .NET 6.0.31 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 16 Data path: /config Application path: /system System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/system/dashboard-ui/modules/embyparty' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at System.IO.FileSystem.CreateDirectory(String fullPath) at System.IO.Directory.CreateDirectory(String path) at EmbyParty.Plugin.ExtractResources() at EmbyParty.EntryPoint.Run() at Emby.Server.Implementations.ApplicationHost.RunEntryPoints(IEnumerable1 entryPoints, Boolean isBeforeStartup)
Source: System.Private.CoreLib
TargetSite: Void CreateDirectory(System.String)
InnerException: System.IO.IOException: Permission denied
Source:
TargetSite:

2025-01-26 02:14:04.906 Info App: Entry point completed: EmbyParty.EntryPoint. Duration: 0.0021563 seconds`

How would I go about changing the permissions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0