Amahi Jinzora Can't Scan Files

dbreton
Posts: 5
Joined: Thu Jan 19, 2012 10:44 pm

Amahi Jinzora Can't Scan Files

Postby dbreton » Thu Jan 19, 2012 10:47 pm

I recently set up a Amahi server and am trying to set up Jinzora.

There seems to be some kind of permissions issue with the folder that my music is on.

Jinzora generates this message when i try to scan

Code: Select all

SERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Tabula RasaSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/ToolSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Allman Brothers BandSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Kings Of LeonSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/GoldfingerSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Daft PunkSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/The OffspringSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/CellDwellerSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/O.A.RSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Drop Kick MurphysSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Nine Inch NailsSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Rage Against the MachineSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/ShinedownSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/ColdplaySERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Dream TheaterSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Modest MouseSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Black Eyed PeasSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/LostprophetsSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/The CrowSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/DisturbedSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Dave Matthews BandSERVICE_IMPORTMEDIA_filesystem: could not open /var/hda/files/music/Pearl Jam
Any help would be appreciated

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Amahi Jinzora Can't Scan Files

Postby radioz » Thu Jan 19, 2012 11:04 pm

Well I don't know anything about Jinzora, but how about showing the permissions on some of those files?

On your hda, open a terminal window and:

cd /var/hda/files/music/
ls -l

Post the output from a few files so we can see the permissions.

dbreton
Posts: 5
Joined: Thu Jan 19, 2012 10:44 pm

Re: Amahi Jinzora Can't Scan Files

Postby dbreton » Thu Jan 19, 2012 11:45 pm

Figured it out.

I was transferring the files locally. when I transferred the files over samba it worked as expected.

On a side note:

Is there an obvious reason why the link to set up the storage pool would be missing?

I searched the wiki and the forums and found nothing.

Under the shares tab the only option i have is to configure the shares.

Thanks for your help.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Amahi Jinzora Can't Scan Files

Postby bigfoot65 » Fri Jan 20, 2012 6:00 am

The Greyhole information regarding Storage Pools is in the wiki, just might not been as obvious.

http://wiki.amahi.org/index.php/Greyhol ... gs%20first
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

dbreton
Posts: 5
Joined: Thu Jan 19, 2012 10:44 pm

Re: Amahi Jinzora Can't Scan Files

Postby dbreton » Fri Jan 20, 2012 9:55 am

Yeah i figured it out. I just missed the very obvious section that explained what to do first.

http://forums.amahi.org/viewtopic.php?f ... 650#p18650

Thanks for the help.

whitejcdc
Posts: 3
Joined: Tue Mar 29, 2011 10:00 am

Re: Amahi Jinzora Can't Scan Files

Postby whitejcdc » Sat Jan 28, 2012 5:05 pm

Hi I just installed the Jinzora app a few weeks, ago and noticed right away this error when it scanned. I left it for a few weeks and now want to work on this so I can get my entire collection streaming. I believe I used an external USB HDD to copy the files from their previous location and then copied them onto my Amahi server. Can't remember if it was before or after installing Jin. Anyone who might be able to help me on this it would be appreciated. BTW, I do have some Linux exposure so I can do some minor things to the OS and such. Here's the ls -l output for the files directory. Thanks

drwxrwxr-x. 4 amahiadm users 4096 Jan 22 16:23 books
drwxrwxr-x. 3 amahiadm users 4096 Jan 1 21:19 docs
drwxrwxr-x. 5 amahiadm users 4096 Nov 30 21:12 movies
drwxrwxr-x. 144 amahiadm users 4096 Jan 17 17:35 music
drwxrwxr-x. 8 amahiadm users 4096 Jan 18 18:35 pictures

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Amahi Jinzora Can't Scan Files

Postby bigfoot65 » Sat Jan 28, 2012 6:36 pm

Check the permissions of the files inside the folder. They need to be owned by the same user as the directory.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

whitejcdc
Posts: 3
Joined: Tue Mar 29, 2011 10:00 am

Re: Amahi Jinzora Can't Scan Files

Postby whitejcdc » Mon Jan 30, 2012 9:33 am

That was the trick. **BIG NOTE for Amahi admins** When you copy files to your AMAHI via a windows share the files accept the default rights for where they are going. If you copy them from an external USB storage device directly connected to the machine, they assume the rights/grouping/permissions of the user your are logged in as and that initiated the copying.

The files I copied from my USB HDD got all of my amahi admin users' permissions and the files were assigned to his group, not the users group. Some other files I copied over via the network were just fine and got the proper 'users' group designation.

I also had to reset the individual file permissions as well for all of the HDA share folders. Once I set them all to 755 Jinzora scanned correctly. Thanks for the pointer!

Who is online

Users browsing this forum: No registered users and 10 guests