Jump to content

Correcting permissions in Garuda


Recommended Posts

Locutus64
Posted (edited)

I thought I had a thread that addressed the Permission issue that can crop up in Garuda that doesn't crop up in other Arch based distros or Arch itself, but I'm not seeing anything I created and the couple by others don't seem to offer anything that's actually useful.  I just added Emby and added my TV Series library and it should of been done scanning by now, at minimum I should already have some shows with images and I don't.  Can someone please go through my debug log and let me know if their are actually any issue with permissions I need to address? Thanks

 

embyserver.txt

Edited by Locutus64
Locutus64
Posted (edited)
░▒▓ ~  ls -l /mnt/                                                                                    ✔ ▓▒░
drwxrwxr-x - locutus  7 Sep 07:21  Movies
drwxrwxr-x - locutus  7 Sep 07:21  Movie Series
drwxrwxr-x - locutus  7 Sep 07:21  Music
drwxrwxr-x - locutus  7 Sep 07:21  Music Videos
drwxrwxr-x - locutus  7 Sep 07:21  Television



░▒▓ ~  groups emby                                                                                    ✔ ▓▒░
groups: unknown user emby
░▒▓ ~  ls -la /var/lib/emby                                                                           ✔ ▓▒░
lrwxrwxrwx 12 root  9 Sep 08:21  /var/lib/emby -> private/emby

 

Edited by Locutus64
Posted

Really no response to this by now?

Posted

All of your outbound https connections are failing. Fixing that should get the scanning back on track.

Regarding Emby installation and permissions this should help with the Archisms - https://wiki.archlinux.org/title/Emby

 

  • Like 1
  • Agree 1
Posted
Quote

    
2022-09-09 10:00:45.787 Error App: Error in TheTVDB
    *** Error Report ***
    Version: 4.7.6.0
    Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /var/lib/emby -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg-emby -ffprobe /usr/bin/ffprobe-emby -restartexitcode 3
 System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.

Regarding the outgoing requests, this could be a tough one. Is Garuda based on some old version of arch linux? Maybe the ssl certificate store is out of date.

Posted (edited)
21 hours ago, Q-Droid said:

First thing I did but still not seeing a Emby user and I really don't under stand about adding a user.

 

░▒▓ ~  groups                                                                                        ✔ ▓▒░
games realtime libvirt video lp kvm input wheel autologin locutus media
░▒▓ ~  groups locutus                                                                                ✔ ▓▒░
games wheel input kvm lp video libvirt realtime autologin media locutus
░▒▓ ~  groups emby                                                                                   ✔ ▓▒░
groups: unknown user emby
░▒▓ ~  id                                                                                          1 ✘ ▓▒░
uid=1000(locutus) gid=1001(locutus) groups=1001(locutus),50(games),971(realtime),972(libvirt),985(video),991(lp),992(kvm),994(input),998(wheel),1000(autologin),1002(media)

 

Edited by Locutus64
Posted (edited)
13 hours ago, Luke said:

Regarding the outgoing requests, this could be a tough one. Is Garuda based on some old version of arch linux? Maybe the ssl certificate store is out of date.

Thanks I think this is what we are looking for. Ran across this before with Garuda and had to fix it, but not seeing the thread with the steps anywhere.

 

░▒▓ ~  pacman -Qs certificates                                                                       ✔ ▓▒░
local/ca-certificates 20210603-1
    Common CA certificates (default providers)
local/ca-certificates-mozilla 3.82-1
    Mozilla's set of trusted CA certificates
local/ca-certificates-utils 20210603-1
    Common CA certificates (utilities)
local/libksba 1.6.0-1
    Library for working with X.509 certificates, CMS data and related objects

 

Edited by Locutus64
Posted (edited)

Unnecessary information removed.

Edited by Locutus64
Posted

The link you posted is not going to work for very long, arch is using dynamic users, you can't treat them like real users. The arch wiki describes exactly how to create a new group and _permanently_ assign it to the emby dynamic user, it has everything you need.

Posted
2 hours ago, alucryd said:

The link you posted is not going to work for very long, arch is using dynamic users, you can't treat them like real users. The arch wiki describes exactly how to create a new group and _permanently_ assign it to the emby dynamic user, it has everything you need.

Might not want to post if you don't know what you're talking about. First no such instructions in the above linked wiki for actually creating the Emby user. Second how I did it is the way i was instructed in the past to do it just had to find a tutorial on it.

Posted
5 hours ago, Locutus64 said:

Might not want to post if you don't know what you're talking about. First no such instructions in the above linked wiki for actually creating the Emby user. Second how I did it is the way i was instructed in the past to do it just had to find a tutorial on it.

He is our arch linux package developer and he is just trying to help.

  • Like 1
Posted (edited)
14 minutes ago, Luke said:

He is our arch linux package developer and he is just trying to help.

That's fine but the wiki only covers what needs to be done after Emby is installed and the Emby user is created by the install. It does not actually cover creating the user. 

Edited by Locutus64
Posted

Might want to google systemd dynamic users before assaulting the people you're asking for help, then we can re-evaluate who actually doesn't know what they're talking about ;)

The link you posted is irrelevant and your assumption that a user needs to be created just plain wrong. There is no user creation involved, actually never was in the history of the arch package, unless you wanted to run emby as a completely different user than the default `emby` user, and my guess is you don't.

Posted

I went by what I was told in the past that there should be a emby user created by Emby when Emby is installed. Since I couldn't find one I created one and added it to the media group.

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