Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1706 closed defect (fixed)

error during EOxServer installation

Reported by: kalxas Owned by: live-demo@…
Priority: blocker Milestone: OSGeoLive10.0
Component: OSGeoLive Keywords: eoxserver
Cc: live-demo@…

Description

Setting up python-eoxserver (0.4.0~beta3-0~xenial1) ...
CREATE EXTENSION
The user `user' is already a member of `users'.
Creating EOxServer demonstration instance
Traceback (most recent call last):
  File "/usr/bin/eoxserver-admin.py", line 34, in <module>
    execute_from_commandline()
  File "/usr/lib/python2.7/dist-packages/eoxserver/core/management.py", line 110, in execute_from_commandline
    commands[subcommand].run_from_argv(sys.argv)
  File "/usr/lib/python2.7/dist-packages/eoxserver/core/management.py", line 53, in run_from_argv
    self.parser = self.create_parser(argv[0], argv[1])
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 331, in create_parser
    parser.add_option(opt)
  File "/usr/lib/python2.7/optparse.py", line 1021, in add_option
    self._check_conflict(option)
  File "/usr/lib/python2.7/optparse.py", line 996, in _check_conflict
    option)
optparse.OptionConflictError: option -v/--verbosity: conflicting option string(s): -v, --verbosity
./install_eoxserver.sh: 80: cd: can't cd to eoxserver_demonstration
sed: can't read eoxserver_demonstration/settings.py: No such file or directory
sed: can't read eoxserver_demonstration/settings.py: No such file or directory
sed: can't read eoxserver_demonstration/settings.py: No such file or directory
sed: can't read eoxserver_demonstration/settings.py: No such file or directory
sed: can't read eoxserver_demonstration/settings.py: No such file or directory
sed: can't read eoxserver_demonstration/settings.py: No such file or directory
sed: can't read eoxserver_demonstration/settings.py: No such file or directory
sed: can't read eoxserver_demonstration/settings.py: No such file or directory
./install_eoxserver.sh: 101: ./install_eoxserver.sh: cannot create eoxserver_demonstration/settings.py: Directory nonexistent
python: can't open file 'manage.py': [Errno 2] No such file or directory

Change history (7)

comment:1 by schpidi, 8 years ago

Will have a look into this soon.

comment:2 by darkblueb, 8 years ago

also, strange entry in Apache2 conf -- why a wsgi-script with only suffix dot-py ? (from Apache mod-info diagnostics)

    In file: /etc/apache2/conf-enabled/eoxserver.conf
       5: <Directory "/usr/local/share/eoxserver/eoxserver_demonstration/eoxserver_demonstration">
       8:   AddHandler wsgi-script .py
        : </Directory>

elsewhere

Current Configuration:
    In file: /etc/apache2/mods-enabled/alias.conf
      14: Alias /icons/ "/usr/share/apache2/icons/"
    In file: /etc/apache2/conf-enabled/eoxserver.conf
       1: Alias /eoxserver_demonstration_static "/usr/local/share/eoxserver/eoxserver_demonstration/eoxserver_demonstration/static"
       2: Alias /eoxserver "/usr/local/share/eoxserver/eoxserver_demonstration/eoxserver_demonstration/wsgi.py"


    In file: /etc/apache2/conf-enabled/eoxserver.conf
       4: WSGIDaemonProcess eoxserver processes=5 threads=1
       5: <Directory "/usr/local/share/eoxserver/eoxserver_demonstration/eoxserver_demonstration">
       9:   WSGIProcessGroup eoxserver
        : </Directory>

comment:3 by kalxas, 8 years ago

Perhaps we will need to downgrade Django version in Xenial since both stable versions of GeoNode and EOxServer work on Django 1.6.x

comment:4 by darkblueb, 8 years ago

Django 1.6.x +1 --Brian

comment:6 by kalxas, 8 years ago

Resolution: fixed
Status: newclosed

comment:7 by schpidi, 8 years ago

Thanks for fixing this. I tested osgeo-live-nightly-build138-amd64-8f457a4.iso and confirm that it is working. Thanks again.

Note: See TracTickets for help on using tickets.