Page 1 of 1

Amahi Jinzora Can't Scan Files

Posted: Thu Jan 19, 2012 10:47 pm
by dbreton
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

Re: Amahi Jinzora Can't Scan Files

Posted: Thu Jan 19, 2012 11:04 pm
by radioz
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.

Re: Amahi Jinzora Can't Scan Files

Posted: Thu Jan 19, 2012 11:45 pm
by dbreton
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.

Re: Amahi Jinzora Can't Scan Files

Posted: Fri Jan 20, 2012 6:00 am
by bigfoot65
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

Re: Amahi Jinzora Can't Scan Files

Posted: Fri Jan 20, 2012 9:55 am
by dbreton
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.

Re: Amahi Jinzora Can't Scan Files

Posted: Sat Jan 28, 2012 5:05 pm
by whitejcdc
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

Re: Amahi Jinzora Can't Scan Files

Posted: Sat Jan 28, 2012 6:36 pm
by bigfoot65
Check the permissions of the files inside the folder. They need to be owned by the same user as the directory.

Re: Amahi Jinzora Can't Scan Files

Posted: Mon Jan 30, 2012 9:33 am
by whitejcdc
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!