"Access denied to file" error message on Android

General discussions.

Moderator: moderators

"Access denied to file" error message on Android

Postby rasqual » Fri Nov 26, 2010 2:34 pm

I just upgraded to 4.2.1946 and encountered this for the first time on my phone, when clicking "Newest".

Error
Access denied to file C:\Documents and Settings\elevenchars\My Documents

That's the only interface element that gives an error. I've made no changes other than the upgrade.

It's not clear from the message whether the path is truncated or not, but I'm going to intuit that it is indeed truncated -- to 50 characters exactly. So the error message doesn't tell me what I need to know to resolve the issue on my own.

The server logs tell no story at all. I have no trailing slashes in any paths.

Service is running as local system.

Any ideas?
rasqual
 
Posts: 3
Joined: Tue Oct 26, 2010 4:32 am

Postby blink515 » Sun Nov 28, 2010 1:03 am

I am also having the same problem using the android app. When I click on newest it gives an error saying "Access denied to file D:\shares"

This is my favorite and easiest way to find music I have just added to the server. Any suggestions?

Also, the subsonic log shows an error "WARN RESTController Error in REST API. "

Is this related to the first problem.
blink515
 
Posts: 6
Joined: Sun Nov 28, 2010 12:59 am

Postby gravelhead44 » Tue Nov 30, 2010 6:08 am

I have also started seeing this error when using the android client when selecting "Newest". Running on Ubuntu server 10.4. Getting error "access denied to file..." Subsonic.log shows:

WARN RESTController Error in REST API.
gravelhead44
 
Posts: 6
Joined: Tue Feb 09, 2010 4:46 pm
Location: Chicago, IL

Postby blink515 » Tue Nov 30, 2010 7:43 am

Just for reference I am using windows home server. I have since rolled back to subsonic 4.1 and the issue has gone away. I also checked to make sure my java was up to date. If I have been reading the right, the rest api has to do with html 5 stuff which I'm not sure if windows home server can handle.
blink515
 
Posts: 6
Joined: Sun Nov 28, 2010 12:59 am

Same issue

Postby Ortusdux » Wed Dec 01, 2010 6:59 am

Version 4.2 (build 1946) – November 21, 2010
Server jetty-6.1.x, java 1.6.0_18, Windows 7 (64.3 MB / 96.7 MB)
Ortusdux
 
Posts: 5
Joined: Tue Sep 28, 2010 3:11 am

Postby itsthedoc » Sun Dec 05, 2010 7:56 pm

Ditto on this issue - did the same troubleshooting, issue appeared during the same update. Running 4.2 on a Fedora 13 installation. Any word on bugfixes?
itsthedoc
 
Posts: 2
Joined: Fri Aug 27, 2010 12:52 am

Access denied error - me too!

Postby dopegroove » Mon Dec 13, 2010 1:59 pm

I get the same message from my android phone for a few versions now. Some times it is the newest stuff and some times its is songs that I search for and try to play.


I am on the version of subsonic server that was released in November 2010 and subsonic client 2.01.
dopegroove
 
Posts: 12
Joined: Wed Nov 03, 2010 11:41 am

Postby opcow » Thu Dec 23, 2010 3:31 pm

I have a CIFS share containing the music mounted on the Linux machine as /mnt/music/rips and this folder was configured as my only music folder in the subsonic server. Selecting 'Newest' in the android app always resulted in an error accessing '/mnt/music'. Using the web interface I changed the music folder from '/mnt/music/rips' to '/mnt/music' and the error went away, but I wasn't really happy with the side effects.

Ultimately, I settled on adding '/mnt/music' as a second music folder and when I select all folders in the android app or web interface everything looks pretty much the same as before and the error is gone.
opcow
 
Posts: 1
Joined: Thu Dec 23, 2010 2:31 pm

Postby gravelhead44 » Mon Jan 03, 2011 5:12 am

Seems to have resolved with the most recent android client. Does anyone know what the problem was?
gravelhead44
 
Posts: 6
Joined: Tue Feb 09, 2010 4:46 pm
Location: Chicago, IL

Postby rasqual » Wed Jan 05, 2011 2:55 am

I still have the problem.

If I inactivate any particular folder, some other folder in the list steps up to populate the error message.
rasqual
 
Posts: 3
Joined: Tue Oct 26, 2010 4:32 am

Postby hgelpke » Sun Jan 09, 2011 6:56 am

I have the same problem. Random works as does simple playback. It's just when I select "Newest". I was using 4.2 then upgraded to 4.3 and the problem is still there.
hgelpke
 
Posts: 13
Joined: Mon Oct 11, 2010 5:35 am

Postby KnutG » Mon Jan 10, 2011 2:21 pm

Same problem here. Web client OK, but Android app gives error message when hitting "Newest". Occured after upgrade to 4.3 (and maybe client upgrade as well, as I have opt in for auto updating. Error message: "Access denied to file D:\shares". Android version 2.2.1 and Subsonic ver 2.4. Subsonic server 4.3 (build 2087) – 7. januar 2011, running on WHS; jetty-6.1.x, java 1.6.0_18, Windows 2003 (42,1 MB / 73,3 MB).

Knut
KnutG
 
Posts: 2
Joined: Mon Jan 10, 2011 1:19 pm

Postby sindre_mehus » Mon Jan 10, 2011 3:26 pm

Sorry for neglecting this error report for so long!

I'll look into it and come back to you asap.

Thanks,
Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby sindre_mehus » Mon Jan 10, 2011 7:05 pm

Ok, I've understood the problem and will fix it in the next version (of the Subsonic server). Hope to release a bugfix version in the not-so-distant future.

The only work-around I can think of is to add new albums (and rescan the library in Settings > Search), until the "bad" directories are pushed out of the "newest" list.

Sorry for the inconvenience and thanks for reporting.
Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: "Access denied to file" error message on Android

Postby z_malloc » Wed May 16, 2012 3:44 am

it should be mentioned that if you happen to have a set up like i do where I mount a remote filesystem then I moved the subsonic server software to another machine, you'll still run in to these errors. as far as i can tell, the client app caches paths internally and makes requests to the server that are incorrect. I don't know whether or not it actually passes the path previously used or not but the error indicated is permissions oriented and shows the path. In my case something like /Volumes/mp3s (local os x samba mount on a remote linux box)

The only solution to get it working was to delete the account and recreate it on the client app device. This kinda blows since I lose my local cache. It does seem a little weird that when I refresh the top most folders location, it doesn't prune non matching paths and repopulate with the newer ones. Probably further confused by the fact that, afaik the paths are the same..ie. i used the same mount point.

Anyway.. bottom line. if you run in to this.. try deleting and recreating your account on the client app. (isub in my case).

cheers
z_malloc
 
Posts: 1
Joined: Wed May 16, 2012 3:35 am

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest