Install Problem
Added by moodals 12 months ago
Hello!
I'm really excited about being able to use ECM but my limited technical knowledge in python and *nix is probably holding me back.
I got server through Dreamhost.com, it is not a shared server it is a VPS with full root access. I've followed the install directions to the T but I am still encountering an error. The install command worked fine but I can't get past the init part.
root@ps102375:/home/seandals/warpedvision.com/public# ecm-admin init /home/seandals/warpedvision.com/public/mv
[ECM] Gathering static files...
[ECM] $ /usr/bin/python manage.py collectstatic --noinput
Unknown command: 'collectstatic'
Type 'manage.py help' for usage.
Any help or advice would be appreciated or I'd be willing to pay 300M for someone to get this working for me. :)
Replies (10)
RE: Install Problem
-
Added by johnfoo 12 months ago
that's typical of a very old (read, totally obsolete) django version. upgrade to 1.4 and you'll be good to go. feel free to send cash to diabeteman ;)
RE: Install Problem
-
Added by moodals 12 months ago
The install instructions dont say that I need to separately install django. I'll give it a shot.
RE: Install Problem
-
Added by johnfoo 12 months ago
well you obviously have django, since manage.py is whining about not knowing about collectstatic. you just need a more recent version. i've seen this problem on ubuntu 10.xx and debian stable so far. RHEL/CentOS are probably guilty too. if you have root access on the box, best way to solve that kind of problem would be easy_install -U django, but you'll lose version management by your distro packaging system (which can actually be a good thing. yes i'm looking at you yum)
RE: Install Problem
-
Added by moodals 12 months ago
-I'm terrible at this but learning quickly!
Already I've made it past that problem and now it looks like I've completed the install and init correctly but now I think I'm having issues getting the vhost setup correctly. I had to disable DreamHosts management features as I googled that it could potentially overwrite any config files I change. I ran the command "ln -s /var/www/<instance-folder>/examples/apache_mod_wsgi_vhost.example 001-my-ecm-instance" as referenced in the installation instructions and the link was created in the sites-enabled directory but it still will not work in my browser. I have restarted the httpd service and even restarted the entire server.
Is there a way that I can see if apache_mod_wsgi is working/didnt install? Is there something I'm missing?-
RE: Install Problem
-
Added by moodals 12 months ago
Forgot to add the A record! All is well! Thanks!!!
RE: Install Problem
-
Added by moodals 12 months ago
Hopefully my last post!
Everything is working great but for some reason it will not pull assets. I have checked my API and it is set to the correct permissions.
ecm.plugins.assets.tasks.assets.update 5h 54m Every 6 hours 2012 May 28 - 18:32 ERROR
This is the information from the error.log
2012-05-28 18:32:40,687 [INFO ] ecm.plugins.assets.tasks.assets - fetching /corp/AssetList.xml.aspx...
2012-05-28 18:32:46,565 [ERROR] ecm.apps.scheduler.models -
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/ecm-2.0.5.1-py2.6.egg/ecm/apps/scheduler/models.py", line 112, in run
func(**args)
File "/usr/local/lib/python2.6/dist-packages/ecm-2.0.5.1-py2.6.egg/ecm/plugins/assets/tasks/assets.py", line 88, in update
row_is_pos_array(array=row, items_dic=new_items)
File "/usr/local/lib/python2.6/dist-packages/ecm-2.0.5.1-py2.6.egg/ecm/plugins/assets/tasks/assets.py", line 253, in row_is_pos_array
flag=flag)
File "/usr/local/lib/python2.6/dist-packages/ecm-2.0.5.1-py2.6.egg/ecm/plugins/assets/tasks/assets.py", line 292, in row_is_in_hangar
fill_contents(container=asset, item=item, items_dic=items_dic, flag=flag)
File "/usr/local/lib/python2.6/dist-packages/ecm-2.0.5.1-py2.6.egg/ecm/plugins/assets/tasks/assets.py", line 307, in fill_contents
_asset = make_asset_from_row(_item)
File "/usr/local/lib/python2.6/dist-packages/ecm-2.0.5.1-py2.6.egg/ecm/plugins/assets/tasks/assets.py", line 339, in make_asset_from_row
item = Type.objects.get(pk=row.typeID)
File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/db/models/manager.py", line 131, in get
return self.get_query_set().get(*args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/db/models/query.py", line 366, in get
% self.model._meta.object_name)
DoesNotExist: Type matching query does not exist.
I tried pushing the Force button and it still does not work.
Thanks!
RE: Install Problem
-
Added by diabeteman 12 months ago
hi there,
this is a known problem that we cannot fix at the moment.
the eve db misses some items since inferno and the datadump is not yet available.
RE: Install Problem
-
Added by johnfoo 12 months ago
i request a :ccp: issue status. you know you want to.
RE: Install Problem
-
Added by moodals 12 months ago
Looks like the inferno data dump is now available. Is there anything I need to do to get this working or do you guys release an update?
RE: Install Problem
-
Added by diabeteman 12 months ago
Hey !
Yes you can update your eve.sqlite file with this one http://releases.eve-corp-management.org/eve/eve_ecm.sqlite-5.zip (to be unzipped in the <instance dir>/db folder)
(1-10/10)