Jump to content

Access to the path is denied ... plugin update


Trust9
Go to solution Solved by Trust9,

Recommended Posts

Hi,

erstmal frohe Weihnachten. Ich habe gerade ein bisschen Zeit und ein Problem auf meinem Server entdeckt.

 

Emby läuft auf meinem Ubuntu Home Server. Anscheinen gibt es schon seit ein paar Wochen ein Berechtigungsproblem.

 

5e04d832b709d_1.png

 

Check for plugin updates bekomme ich diese Fehlermeldung

 

5e04d87a5c8e0_2.png

 

 

Hat jemand eine Ahnung wo das Problem liegt, bzw. welche Berechtigung ich konfigurieren muss?

Link to comment
Share on other sites

  • Solution

Hallo zusammen, bitte hängen Sie das Emby Server-Protokoll an. Vielen Dank.

2019-12-26 07:13:24.073 Error TaskManager: Error
	*** Error Report ***
	Version: 4.3.0.30
	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: Unix 5.0.0.37
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path is denied. ---> System.IO.IOException: Operation not permitted
	   --- End of inner exception stack trace ---
	   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
	   at Interop.CheckIo(Int64 result, String path, Boolean isDirectory, Func`2 errorRewriter)
	   at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
	   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
	   at Emby.Server.Implementations.Updates.InstallationManager.PerformPackageInstallation(IProgress`1 progress, String target, PackageVersionInfo package, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.InstallPackageInternal(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.InstallPackage(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
	Source: System.IO.FileSystem
	TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo])
	InnerException: System.IO.IOException: Operation not permitted
	Source: 
	TargetSite: 
	
2019-12-26 07:13:24.073 Info TaskManager: Check for plugin updates Failed after 0 minute(s) and 1 seconds
2019-12-26 07:19:56.777 Error HttpClient: <?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
2019-12-26 07:19:56.780 Error PortMapper: Error creating port map
	*** Error Report ***
	Version: 4.3.0.30
	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: Unix 5.0.0.37
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping)
	   at Emby.PortMapper.ExternalPortForwarding.CreateRules(INatDevice device)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2019-12-26 07:29:56.781 Error HttpClient: <?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
2019-12-26 07:29:56.782 Error PortMapper: Error creating port map
	*** Error Report ***
	Version: 4.3.0.30
	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: Unix 5.0.0.37
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping)
	   at Emby.PortMapper.ExternalPortForwarding.CreateRules(INatDevice device)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2019-12-26 07:39:56.778 Error HttpClient: <?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
2019-12-26 07:39:56.781 Error PortMapper: Error creating port map
	*** Error Report ***
	Version: 4.3.0.30
	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: Unix 5.0.0.37
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping)
	   at Emby.PortMapper.ExternalPortForwarding.CreateRules(INatDevice device)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	

sorry habe ich vergessen

Berrechtigung auf 777 /opt/emby-server hat geholfen.

 

Vielen Dank

Edited by Trust9
Link to comment
Share on other sites

  • 4 months later...
amstelgr

Hallo,

 

habe das selbe Problem, wie hast du es hinbekommen?

Wo kann ich die Rechte vergeben`?

Emby läuft bei mir über DS413j

 

Wer konnte mir weiter helfen?

 

Danke im Voraus

Link to comment
Share on other sites

amstelgr

Hi,

 

bin schon seit Tagen den Fehler wegzukriegen aber kein Erfolg.

Firewall am DS413j und am PC deaktiviert,teilweise gelöscht, Synology neugestartet, Emby neu gestartet aber Erfolg.

An der Fritzbox die Ports weitergeleitet aber da auch kein Erfolg.

Habe das selbe Problem wie Trust9.

Habe die neue Emby soft drauf und die neue DS413j soft drauf.

Ich weiß nicht mehr weiter.

Kann mir jemand helfen?

Danke im voraus.

 

emby log.zip

Edited by amstelgr
Link to comment
Share on other sites

amstelgr

Das einzige das ich nicht versucht habe, eine ältere version von emby für synology auszuprobieren. Ich weiß auch nicht wo ich es runterladen kann. Wer jemand mir ein link geben kann?

Danke

Link to comment
Share on other sites

amstelgr

Hi,

hat jemand eine Idee? Bitte ich drehe durch.

Jetzt geht auch mein Premium Key nicht. Irgend etwas blokiert aber was da weiß ich nicht

Link to comment
Share on other sites

Hello amstelgr,

 

I'm using Google translate so sorry if the wording is strange.  It sounds like your problems are with access not given to the user running Emby.  I believe you're running on Synology correct?

 

What user did you install this under?  Have you tried checking the user access rights?

Link to comment
Share on other sites

amstelgr
Hello, sorry but my english is not so good.

Yes i use synology. Have released all ports on the router. I also shared the rights to the folder. I configured the firewall and deactivated the firewall on synology.

The problem is still there. Error: TrustFailure (Authentication failed, see inner exception.) No application and plugins update.

He doesn't accept my Premium key either. Adding users is also not possible. I completely reinstalled synology and Emby too.

The problem remains.Plugins catalog is also not possible

Edited by amstelgr
Link to comment
Share on other sites

That is clearly telling us you haven't granted the correct access rights to the Emby Server user.

Link to comment
Share on other sites

amstelgr

I have released everything. You can't share anything with Emby. On synology I gave the folder the right one. Firewall disabled. What else can you unlock on synology

Link to comment
Share on other sites

I personally don't have a synology so I can't give specifics but you have a permission problem.  Emby Server does NOT have proper access to folders.

 

Are you running it native or via docker?

Link to comment
Share on other sites

amstelgr
Hi,

Thanks for your quick reply.

Emby does not run through Docker.

Through Emby I can see my folder and see everything in there.

My problem is that he does the plugins and applications update

and my premium key is blocking.

I uninstalled and reinstalled everything as in the video from youtube but the error is still there.

Something is blocking my Emby or Synology is blocking Emby but I don't know what. The error is suddenly there.

Link to comment
Share on other sites

What user does Emby Server run on?

Can you show a picture of the directory setting you have applied to this users?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...