Hmm.. cannot find shared drive?

Started by Jingo, December 25, 2016, 10:56:49 PM

Previous topic - Next topic

Jingo

Hi Mario - not sure where to post questions about the new software since I know its generally not ready for sale yet.  But - after install and configuration - I'm getting a message that it can't find my server where all my photos are stored on the admin panel.  Of course, loading an image from the database then shows a blotchy image because I assume it just upsizing the thumbnail from the database.   Shouldn't the cached preview in the database be used in this case instead of the thumbnail?  How are offline images displayed otherwise?

I verified that my NAS is up and running and I can access all images on the NAS from explorer just fine.. thoughts?



Attached Log file incase it sheds some light... btw: imatch finds the NAS drive just fine.. stopped and restarted the webservice controller a few times to no affect. 

Aubrey

A bit surprising to see forward slash rather than backslash.
If you type //JINGOSERVER/photo into explorer what do you get?

It would more usually be \\JINGOSERVER\photo on a Windows machine

Aubrey

Jingo

#2
Hi Aubrey - neither actually work in explorer.. but here is a screenshot of my XYPlorer screen... it shows as the "\\" as expected.. not sure where the server is getting the "//" version from.  In IMatch - it shows as "\\" too...

Guess we'll need to wait for Mario to help figure this one out..  :P



Note: my Z:\drive is managed to that NAS folder as well.. but trying to use the proper NAS directive in IMatch as recommended rather than the single letter drive. 

Aubrey

You have to use the NAS coding.
Do NOT use z: !

Have you set up services? Read the section in the manual
"Accessing Files or Databases on Different Computers (Servers, NAS)"
In particular "Windows service user accounts"

This must be set up to access NAS drives.

See the manual selection, though you can also set this up in the advanced options of the config inside the web services controller.

Aubrey

Mees Dekker

#4
This is exactly what I have.

On the forum it is known as the "Mees problem". See also : https://www.photools.com/community/index.php?topic=6056.0

Mario

Quote from: Aubrey on December 26, 2016, 12:50:08 AM
Have you set up services? Read the section in the manual
"Accessing Files or Databases on Different Computers (Servers, NAS)"
In particular "Windows service user accounts"
This must be set up to access NAS drives.

See the manual selection, though you can also set this up in the advanced options of the config inside the web services controller.
Aubrey

Precisely. I explained that in the IMatch Anywhere documentation (press <F1> in the controller application to open it) and also in the IMatch Anywhere FAQ.

IMatch WebServices by default runs under the "Local System" user account. This is a built-in user account that most services use and it usually works great. But it does not give services permissions to access resources on other computers - like the files on your NAS. This is a security measure.

To allow IMatch WebServices access to resources on other computers, you need to change the user account under which it runs. You can do that in the Windows Service Manager, or, easier in the Advanced Options in Controller application. Specify the user name and password there (if you are unsure, use your user name and password). The Controller application then configures the IMatch WebService to use that user account and it then should be able to access resources on your NAS.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Aubrey

I have attached a couple of images to help you navigate (tho' Mario has explained it in the documentation):
To do the automatic setup, from the controller select, configure, advanced options (see ServiceSetup.jpg)

Under Service user account input the user name that you normally log in to this computer, in my case I use IMatch, you probably use your first name to log into your computer account. Under password input the password you need when you log in.

If you prefer to set up services manually then this can be done, it is a bit more involved for the average user (ServiceManualSetup.jpg)
We need to get to services menu, there are a couple of ways to do this:
1. type in services in the magnifying glass on bottom left of screen this will give you opportunity to select services app.

I usually do it from the task manager, and this is what I have shown. When you get the detailed Task Manager, select the Services tab (red arrow)
Then select "Open Services" (red arrow)

In Services Find IMatch WebServices and select/right click, select properties
Go to "Log On tab"

and select your personal account name that you use to logon and also the password. click OK and you're done.

Make sure that your paths are using backslash (as discussed earlier in this thread).

The reason for all this is explained by Mario in the manual
"If you want to use a database or files which are on a different computer (e.g., your NAS box or another PC in your network) you have to configure the IMatch web service to run under an user account that has access to these remote resources. This user account must have the Log on as a service and Act as part of the operating system privileges. See the Windows help for details."

Aubrey.



Jingo

Thx Mario... yup.. that was it!

Thanks you Aubrey for the detailed screenshots as well.. helped make things a bit easier to setup.  Added my user to the advanced controller, added to the service properties.. fired up and can now see the full resolution images.

Much appreciated!! - Andy.

Aubrey

Great!
I knew it had to be either \ or the services setup.
I'd been down that road.

I'm enjoying using the product and have set it up to access the Windows PC from my Linux server.

Works a treat.

Now family in Ireland can see photographs on my machine in Cyprus.... cool  8)

Aubrey

Mario

Quote from: Aubrey on December 26, 2016, 05:29:35 PM
Now family in Ireland can see photographs on my machine in Cyprus.... cool  8)

A perfect definition of IMatch Anywhere.

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook