Jump to content

Can't load library files in ubuntu 20.10


Michael1952

Recommended Posts

Michael1952

HI , I an trying to ceate my library files to load my music files to Emby. I am a new Linux user but I have gotten my feet under me as far as knowing how to find the path to my media files. 

They are at: /home/media/michael/Music 2. 

Every time I indicate the file path to my media i get the error:

The path could not be found. Please ensure the path is valid and try again. 

I have attached the log files. I hope i have given you enough information and any advice will be appreciated. Thanks, Michael.

 

embyserver.txt

Link to comment
Share on other sites

Skywayman

So if the directory is named Music 2 you may need to check and make sure its not 'Music 2'

Ubuntu will not allow file names with spaces. You create them as "Music 2" and in the path its usually 'Music 2'

Link to comment
Share on other sites

Michael1952

OK thanks for the remark, I changed the name of the drive that contains my music from 'MUSIC 2' to 'MUSIC' and got the same result. In fact any combination of the path ' /media/michael/MUSIC/' throws the same error:

The path could not be found. Please ensure the path is valid and try again.

I'm really stumped on this one maybe you have another suggestion? I attached the log maybe that will help.

 

embyserver (1).txt

Edited by Michael1952
Link to comment
Share on other sites

mark-in-dallas

How are the permissions set for the Drive?  Does the emby user have access?  If you're not sure, open a terminal and navigate to /home/media/michael then type "ls -l" without the quotes and post the results.

Link to comment
Share on other sites

Michael1952

Thanks Mark..., Yes the drive is set for read and write permissions. 

michael@mail:/media/michael/MUSIC$ ls -l
total 2784
drwxr-xr-x  2 michael michael 32768 Dec 16 17:15 '$RECYCLE.BIN'
drwxr-xr-x  3 michael michael 32768 Dec  5 12:54 'Abba - Greatest Songs (2018) Mp3 (320kbps) [Hunter]'
drwxr-xr-x 15 michael michael 32768 Dec 11 12:45 'Bad Company [Discography]'
drwxr-xr-x  5 michael michael 32768 Dec  5 06:59 'Bee Gees'
drwxr-xr-x 19 michael michael 32768 Dec 11 12:48 'Blue Öyster Cult'
drwxr-xr-x 36 michael michael 32768 Dec  5 09:04 'Bob Dylan'
drwxr-xr-x  2 michael michael 32768 Dec  4 19:09 'Bread - Best Of Greatest Hits [Bubanee]'
drwxr-xr-x  6 michael michael 32768 Dec  5 10:32 'Buffalo Springfield'
drwxr-xr-x 11 michael michael 32768 Dec  4 19:04  CCR
drwxr-xr-x 24 michael michael 32768 Dec 11 12:48 'Chicago [Discography]'
drwxr-xr-x  2 michael michael 32768 Dec  5 12:30 'Chuck Berry The Very Best Of Chuck Berry 2010 [320 Kbps]'
drwxr-xr-x  2 michael michael 32768 Dec  5 12:57 'Coldplay - Everyday Life (2019) Mp3 (320kbps) [Hunter]'
drwxr-xr-x  4 michael michael 32768 Dec  5 09:58  Cream
drwxr-xr-x  4 michael michael 32768 Dec 14 11:13  D-drive-36169984
drwxr-xr-x  2 michael michael 32768 Dec  5 12:40 'Dionne Warwick - Platinum Selection (2020) Mp3 320kbps [PMEDIA] ⭐️'
drwxr-xr-x 17 michael michael 32768 Dec  5 10:53  Donovan
drwxr-xr-x  9 michael michael 32768 Dec  5 06:34  ELP
drwxr-xr-x  4 michael michael 32768 Dec  5 12:55 'Elton John - 1970-2002 Greatest Hits 2CD [visit bubanee.blogspot.com.au]'
drwxr-xr-x  7 michael michael 32768 Dec 11 12:47 'Elton John - Discography 1969-2008 Mp3 320 kbps'
drwxr-xr-x  5 michael michael 32768 Nov 30 19:37 'Elvis.Presley.100.Greatest.Hits.(3.CD).2004 [mp3][www.lokotorrents.com]'
drwxr-xr-x 30 michael michael 32768 Nov 30 19:39 'Eric Clapton Discography, 28 albums'
drwxr-xr-x  6 michael michael 32768 Dec  5 10:08 'Etta James - Collected (2019) [pradyutvam]'
drwxr-xr-x 39 michael michael 32768 Dec  5 09:14 'Four Seasons'
drwxr-xr-x 16 michael michael 32768 Dec 11 12:44 'George Harrison'
drwxr-xr-x  2 michael michael 32768 Dec  5 12:36 'Grateful Dead - The Very Best Of Grateful Dead (2003) mp3 320 vtwin88cube'
drwxr-xr-x 16 michael michael 32768 Dec  5 06:34 'HEART - DISCOGRAPHY (1975-14) [CHANNEL NEO]'
drwxr-xr-x  2 michael michael 32768 Dec 11 13:11 'Heart - These Dreams_ Heart'\''s Greatest Hits (1997) [320kbps]'
drwxr-xr-x  2 michael michael 32768 Dec  5 12:44 'Iron Butterfly - In-A-Gadda-Da-Vida [1968][Deluxe Version 1995]'
drwxr-xr-x  7 michael michael 32768 Nov 30 19:38 'James Taylor - 5 Albums (24-Karat Gold Collection) (320)'
drwxr-xr-x 56 michael michael 32768 Dec  5 10:41 'Janis Joplin - Discography - 320 kbps'
drwxr-xr-x 10 michael michael 32768 Dec 11 12:47 'Jeff Beck - Discography (1965-2009) 320kbps'
drwxr-xr-x 11 michael michael 32768 Dec  5 09:54 'Jefferson Airplane [Discography]'
drwxr-xr-x 22 michael michael 32768 Dec  5 09:08 'Jimi Hendrix'
drwxr-xr-x  7 michael michael 32768 Nov 30 18:40 'Joe Cocker'
drwxr-xr-x 15 michael michael 32768 Dec 11 12:44 'Joe Walsh'
drwxr-xr-x 25 michael michael 32768 Dec 11 12:43 'John Cougar Mellencamp - Discography [MP3]'
drwxr-xr-x 11 michael michael 32768 Dec 11 12:47 'John Fogerty [Solo Discography]'
drwxr-xr-x  2 michael michael 32768 Dec  4 18:41 'Kansas - Best of Kansas (1999)'
drwxr-xr-x  2 michael michael 32768 Dec  4 18:39 'Kansas - The Absence of Presence (2020) [320]'
drwxr-xr-x  4 michael michael 32768 Dec 11 12:50 'Led Zeppelin - Discography [2156] PL'
drwxr-xr-x 21 michael michael 32768 Dec  4 07:13 'Lynyrd Skynyrd 19 Disc Discograhy'
drwxr-xr-x 10 michael michael 32768 Dec 11 10:55 'Music2 Frank Zappa'
drwxr-xr-x 15 michael michael 32768 Dec  5 10:48 'Paul Revere & The Raiders Collection'
drwxr-xr-x 30 michael michael 32768 Dec  4 07:04 'Pink Floyd - Discography [EAC - FLAC] (oan)'
drwxr-xr-x  3 michael michael 32768 Dec  5 13:45  Programs-linux
drwxr-xr-x  7 michael michael 32768 Dec  5 13:26 'Programs- Windows'
drwxr-xr-x  3 michael michael 32768 Dec  5 13:00 'Queen Discography @ 320Kbps [Aufseher]'
drwxr-xr-x  4 michael michael 32768 Dec  5 09:00 'Ray Charles - Greatest Hits - 

Link to comment
Share on other sites

mark-in-dallas

Did you grant the "emby" user account access to the "michael" group?  If not you'll need to do so with this command:  sudo usermod -a -G michael emby.

I would also suggest adding the michael user to the emby group. 

Link to comment
Share on other sites

Michael1952

Sorry Mark I must have done something wrong. I copied and Pasted the command you wrote into terminal with the path ~/media/michael/MUSIC/ and i got the error:

usermod: user 'emby.' does not exist...? Wa'd I do wrong?

Edited by Michael1952
Link to comment
Share on other sites

mark-in-dallas

Okay, I'm fairly new to Linux too, and far from an expert when it comes to all things Emby, and that one has me a bit confused, because Emby should have created an emby user and group when it was installed.  I am pretty sure that's what your problem is, in emby not being able to see the folders, but I don't know how to fix it.  I'm sure that Luke or Mastermind11 will be along soon enough though, to get you on the right track.

Actually, what you can do for now is to navigate to the emby directory and see what user and group Emby was assigned to upon installation.  Your Emby directory should be in /var/lib/emby.  Could you navigate to that directory and run the ls -l command again to get the user/group info?

 

 

Link to comment
Share on other sites

Michael1952

Thanks for your help Mark Here's the list I got:

michael@mail:~$ cd /var/lib/emby
michael@mail:/var/lib/emby$ ls -l
total 28
drwxr-xr-x 6 emby emby 4096 Dec 17 03:32 cache
drwxr-xr-x 4 emby emby 4096 Dec 17 03:57 config
drwxr-xr-x 4 emby emby 4096 Dec 17 08:04 data
drwxr-xr-x 2 emby emby 4096 Dec 17 06:28 logs
drwxr-xr-x 3 emby emby 4096 Dec 14 07:46 metadata
drwxr-xr-x 2 emby emby 4096 Dec 14 07:34 plugins
drwxr-xr-x 3 emby emby 4096 Dec 14 07:34 root
michael@mail:/var/lib/emby$ 
 

Link to comment
Share on other sites

mark-in-dallas

Okay, clearly you do have an emby user and emby group. I would try running the add user to group command again:  sudo usermod -a -G michael emby

Link to comment
Share on other sites

Michael1952

Here it is:

emby:emby
michael@mail:/media/michael/MUSIC$ id -u emby
997
michael@mail:/media/michael/MUSIC$

Link to comment
Share on other sites

Michael1952

Ok Mark i got another prompt:

michael@mail:/media/michael/MUSIC$ sudo usermod -a -G michael emby
[sudo] password for michael: 
michael@mail:/media/michael/MUSIC$

Link to comment
Share on other sites

mark-in-dallas

Is Emby able to see your directories now?  If you didn't add the michael user to the emby  group you may want to do so with this command:  sudo usermod -a -G emby michael

The reason I suggest doing would be to allow you to delete files and/or folders created by Emby, should you wish to do so, such as old TV Series folders and such.

  • Like 1
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...