Page 1 of 1

[Solved] Folder not exist or cannot be read

PostPosted: Thu Dec 27, 2012 1:07 am
by italianjoe69
This is all working fine from my Linux desktop, but I have an old laptop that I am going to use as my Serviio server and built it using Windows 7 Pro. (No Windows bashing, it is just easier for others in the house to use it if necessary)

I can't seem to get Serviio to see the network shares I have configured.

I have a USB drive connected to a Netgear WNDR3400 router with multiple shares. I am running Windows 7 Pro. I have Serviio 1.1 installed.
The Netgear shows the USB device as having a NTFS file system.
On the router I have this share configured as: READ ACCESS: All - No password, WRITE ACCESS: All - no password.
I can map shares from the Netgear to the Windows PC without entering any login information and can access them without issue.
I have tried changing the login information for the Serviio service to match the existing user logged into the Windows 7 PC and also created a user with the same username and password as the router admin.
I can ping the router using the ip address and the name I have given it.
I have tried creating a shared folder in Serviio using the mapped drive letter and the UNC path using the name and the ip address of the router.
I can see the folder structure from my DLNA device (Folders > Streaming), but it always says "no files exist".

2012-12-26 19:53:12,976 DEBUG [ActionsServerResource] Action with name 'forceLibraryRefresh' was requested
2012-12-26 19:53:12,993 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2012-12-26 19:53:12,999 DEBUG [RepositoryDAOImpl] Reading all Repositories
2012-12-26 19:53:13,061 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2012-12-26 19:53:13,062 DEBUG [RepositoryDAOImpl] Reading all Repositories
2012-12-26 19:53:13,087 DEBUG [LibraryUpdatesCheckerThread] Looking for removed playlist files in repository: \\dyna\videos\streaming
2012-12-26 19:53:13,096 DEBUG [PlaylistDAOImpl] Reading Playlists for Repository (id = 3)
2012-12-26 19:53:13,110 WARN [LibraryAdditionsCheckerThread] Folder '\\dyna\videos\streaming' is either not an existing directory or cannot be read due to access rights
2012-12-26 19:53:13,111 DEBUG [RepositoryDAOImpl] Marking Repository 3 as scanned with current timestamp
2012-12-26 19:53:13,182 DEBUG [LibraryUpdatesCheckerThread] Looking for removed/updated files in repository: \\dyna\videos\streaming
2012-12-26 19:53:13,189 DEBUG [MediaItemDAOImpl] Reading MediaItems for Repository (id = 3)
2012-12-26 19:53:13,276 WARN [LibraryAdditionsCheckerThread] Folder 'M:\Videos\Streaming' is either not an existing directory or cannot be read due to access rights
2012-12-26 19:53:13,276 DEBUG [RepositoryDAOImpl] Marking Repository 5 as scanned with current timestamp
2012-12-26 19:53:13,310 DEBUG [LibraryUpdatesCheckerThread] Looking for removed playlist files in repository: M:\Videos\Streaming
2012-12-26 19:53:13,310 DEBUG [PlaylistDAOImpl] Reading Playlists for Repository (id = 5)
2012-12-26 19:53:13,312 DEBUG [LibraryUpdatesCheckerThread] Looking for removed/updated files in repository: M:\Videos\Streaming
2012-12-26 19:53:13,312 DEBUG [MediaItemDAOImpl] Reading MediaItems for Repository (id = 5)
2012-12-26 19:53:13,313 DEBUG [MediaItemDAOImpl] Reading dirty MediaItems for Repository (id = 3)
2012-12-26 19:53:13,355 DEBUG [RepositoryDAOImpl] Marking Repository 3 as scanned with current timestamp
2012-12-26 19:53:13,358 DEBUG [MediaItemDAOImpl] Reading dirty MediaItems for Repository (id = 5)
2012-12-26 19:53:13,359 DEBUG [RepositoryDAOImpl] Marking Repository 5 as scanned with current timestamp

Any ideas?

Re: Folder not exist or cannot be read

PostPosted: Mon Jan 14, 2013 6:29 pm
by italianjoe69
Anyone?

Re: Folder not exist or cannot be read

PostPosted: Mon Jan 14, 2013 10:49 pm
by slyguy42o
maybe try setting up a user account on your NAS to match the user credentials of your serviio service user?

Re: Folder not exist or cannot be read

PostPosted: Tue Jan 15, 2013 12:19 am
by italianjoe69
No can do. It's either everyone or the admin of the router. I tried that and it did not work either.

Re: Folder not exist or cannot be read

PostPosted: Tue Jan 15, 2013 5:37 pm
by zip
see FAQ, you have to run the service as a user with read rights on the NAS.

Re: Folder not exist or cannot be read

PostPosted: Tue Jan 15, 2013 6:00 pm
by italianjoe69
zip,
I did that. I setup the service to run using the same login credentials as the user logging in to Windows. That user has full rights to the folder and it still did not work. I changed credentials and stopped/started the service and even rebooted.

Any other logs I can post that may help?

Re: Folder not exist or cannot be read

PostPosted: Wed Jan 16, 2013 5:02 pm
by zip
Do you share them in UNC format? \\server\folder

Re: Folder not exist or cannot be read

PostPosted: Wed Jan 16, 2013 6:16 pm
by italianjoe69
Yes I do.

I have tried creating a shared folder in Serviio using the mapped drive letter and the UNC path using the name and the ip address of the router.

Still no luck.

Re: Folder not exist or cannot be read

PostPosted: Thu Jan 17, 2013 2:10 pm
by zip
you have Videos and videos in the examples above. Which is the right case?

Re: Folder not exist or cannot be read

PostPosted: Thu Jan 17, 2013 2:24 pm
by italianjoe69
The lowercase on is correct. \\dyna\videos\streaming

Re: Folder not exist or cannot be read

PostPosted: Thu Jan 17, 2013 2:48 pm
by zip
I assume if you open cmd and execute

  Code:
dir \\dyna\videos\streaming


it works?

Re: Folder not exist or cannot be read

PostPosted: Thu Jan 17, 2013 3:02 pm
by italianjoe69
This is why sometimes it helps to bounce things off others!!!

I figured it out. I was adding the path \\dyna\videos\streaming and it should have been \\dyna\entertainment\videos\streaming.

Thanks for being patient.

serviio has been great and I knew it worked, I just couldn't see what was right in front of me.

Re: Folder not exist or cannot be read

PostPosted: Thu Jan 17, 2013 5:13 pm
by zip
:) cool