I am running an omero server on a windows server 2008 machine. OMERO itself is workng fine, but I can't start omero.web. I think I followed the setup correctly (installing IIS7, enabling IIS6 + ISAPI WSGI, etc), until
- Code: Select all
PS > .\bin\omero web syncmedia
Traceback (most recent call last):
File "C:\Users\omero\Desktop\OMERO.server-Beta-4.2.2\bin\\omero", line 123, in <module>
rv = omero.cli.argv()
File "C:\Users\omero\Desktop\OMERO.server-Beta-4.2.2\lib\python\omero\cli.py", line 1151, in argv
cli.invoke(args[1:])
File "C:\Users\omero\Desktop\OMERO.server-Beta-4.2.2\lib\python\omero\cli.py", line 704, in invoke
stop = self.onecmd(line, previous_args)
File "C:\Users\omero\Desktop\OMERO.server-Beta-4.2.2\lib\python\omero\cli.py", line 773, in onecmd
self.execute(line, previous_args)
File "C:\Users\omero\Desktop\OMERO.server-Beta-4.2.2\lib\python\omero\cli.py", line 853, in execute
args.func(args)
File "C:\Users\omero\Desktop\OMERO.server-Beta-4.2.2\lib\python\omero\plugins\web.py", line 190, in syncmedia
os.remove(os.path.abspath(location / 'media' / app))
WindowsError: [Error 5] Access is denied: u'C:\\Users\\omero\\Desktop\\OMERO.server-Beta-4.2.2\\lib\\python\\omeroweb\\media\\webgateway'
I tried on an elevated (admin) prompt and giving access to that folder to everybody without success. Trying to access http://localhost/webadmin gives me a 401.3 Error: 'HTTP Error 401.3 - Unauthorized You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server. ' (got a 401 trying to connect from a distant machine too).
[fake edit]Ha, but setting the whole of the OMERO.server folder open to everyone r/w seems to do the trick and OMERO.web is working (although only a few of the thumbnail are loading?). But that would be bad, I guess 'syncmedia' is to remedy to that...
Anyway, any help is appreciated...