Closed maxgittelman closed 6 years ago
Running a fresh install. All seems to go well until I get a permission denied from omero-server
omero-server | ALTER TABLE omero-server | ALTER TABLE omero-server | ALTER TABLE omero-server | ALTER TABLE omero-server | ALTER TABLE omero-server | ALTER TABLE omero-server | ALTER TABLE omero-server | UPDATE 1 omero-server | COMMIT omero-server | mkdir: cannot create directory '/data/omero_scripts/': Permission denied omero-server | Creating directory /omero/OMERO.server/var omero-server | Traceback (most recent call last): omero-server | File "./bin/omero", line 125, in <module> omero-server | rv = omero.cli.argv() omero-server | File "/omero/OMERO.server/lib/python/omero/cli.py", line 1438, in argv omero-server | cli.invoke(args[1:]) omero-server | File "/omero/OMERO.server/lib/python/omero/cli.py", line 952, in invoke omero-server | stop = self.onecmd(line, previous_args) omero-server | File "/omero/OMERO.server/lib/python/omero/cli.py", line 1029, in onecmd omero-server | self.execute(line, previous_args) omero-server | File "/omero/OMERO.server/lib/python/omero/cli.py", line 1111, in execute omero-server | args.func(args) omero-server | File "/omero/OMERO.server/lib/python/omero/plugins/prefs.py", line 73, in open_and_close_config omero-server | return func(*args, **kwargs) omero-server | File "/omero/OMERO.server/lib/python/omero/plugins/admin.py", line 765, in start omero-server | self.startasync(args, config) omero-server | File "/omero/OMERO.server/lib/python/omero/plugins/prefs.py", line 73, in open_and_close_config omero-server | return func(*args, **kwargs) omero-server | File "/omero/OMERO.server/lib/python/omero/plugins/admin.py", line 715, in startasync omero-server | self.check_access(config=config) omero-server | File "/omero/OMERO.server/lib/python/omero/plugins/admin.py", line 1546, in check_access omero-server | os.makedirs(var) omero-server | File "/usr/lib/python2.7/os.py", line 157, in makedirs omero-server | mkdir(name, mode) omero-server | OSError: [Errno 17] File exists: '/omero/OMERO.server/var' omero-server exited with code 1
Any ideas on what I need to change in the Dockerfile to fix this?
Running a fresh install. All seems to go well until I get a permission denied from omero-server
Any ideas on what I need to change in the Dockerfile to fix this?