Jump to content

Switching to linux - stuck at start of installation wizard


Recommended Posts

Posted

I've been trying for a few days to get it working on my other machine, using a clean Linux Mint installation. If I transfer any files from my windows installation (users etc) the server stops working. It don't want to stay active, shutting down right after I start the emby-server.service.

And when I try, just to see if it works, with the installation wizard it won't go past the first page. Setting a language, just keeps spinning/loading. I can reach the installation wizard from my windows machine. But same error there.

 

<blockquote class="imgur-embed-pub" lang="en" data-id="a/n0iszkh" data-context="false" ><a href="//imgur.com/a/n0iszkh"></a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>

bNMCqWg.png

 

It looks like it runs fine, but:

M6sFE8Q.png

The spinning wheel just keeps going after I hit next.

 

What I understood of the log is something with permission error. But I'm not sure where or if it's something else. Let me know if you need something else!

 

Other than this bump (which is most likely my being dumb) I really like Emby. How easy it is to use and invite friends/family. Need to give you some praise for all you're doing for this community!

 

embyserver.txt

Posted

Hi, yes for some reason the server is being denied write access to it's own config folder:

2021-10-11 18:50:14.774 Error InstallationManager: Package installation failed
	*** Error Report ***
	Version: 4.6.4.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.4.0-88-generic (buildd@lgw01-amd64-008) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021
	Framework: .NET Core 3.1.13
	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 '/var/lib/emby/plugins/MovieDb.dll' is denied.
	 ---> System.IO.IOException: Permission denied

The server sets up a user on the system called emby. Can you make sure it has full write access to /var/lib/emby ?

Posted
8 hours ago, Luke said:

Hi, yes for some reason the server is being denied write access to it's own config folder:


2021-10-11 18:50:14.774 Error InstallationManager: Package installation failed
	*** Error Report ***
	Version: 4.6.4.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.4.0-88-generic (buildd@lgw01-amd64-008) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021
	Framework: .NET Core 3.1.13
	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 '/var/lib/emby/plugins/MovieDb.dll' is denied.
	 ---> System.IO.IOException: Permission denied

The server sets up a user on the system called emby. Can you make sure it has full write access to /var/lib/emby ?

Hhm. I tried to remove all permissions and then apply read permissions again and now it works. I was certain I already tried that. But it looks like it works as it should now.

Need to do some more testing and see if I need anything else. If I find anything of use I'll post it here for others to find

Posted

Thanks for the feedback.

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...