[Openplm_user] Problems installing
Pierre Cosquer
pcosquer at linobject.com
Fri Nov 4 10:48:57 CET 2011
Hi,
Le Thu, 03 Nov 2011 18:31:21 +0100,
"Jason Morgan" <j.a.morgan at gmx.co.uk> a écrit :
> Hi,
>
> Applogies for not starting another thread, but this is releated to
> install problems.
>
> I can now login to the admin site, but the main site does not work.
>
> I am trying the admin user on the main site.
>
> I get the login, but then a 404 error when the login button is
> pressed. http://server/plm/login/ http://jambuntuserver/plm/login/
>
> I assume this is because my webserver is not the root but an alias
> (/plm/ instead of /) As the same webserver does other stuff....
>
> What is the correct way of configuring it for a non root server
> address?
>
It is not possible to deploy openPLM on a non root server address since
some URLs are hard-coded in the templates or javascript files.
You can use a virtual host as a workaround if your server has to run
other services.
A possible configuration is:
<VirtualHost XX.XX.XX.XX>
ServerName "plm.example.com"
DocumentRoot "/var/www/example.com"
WSGIDaemonProcess "plm.example.com" display-name=%{GROUP}
WSGIProcessGroup "plm.example.org"
WSGIScriptAlias / /var/django/openPLM/trunk/openPLM/apache/django.wsgi
Alias /media /var/django/openPLM/trunk/openPLM/media
<Directory /var/django/openPLM/trunk/openPLM/docs>
Order deny,allow
Allow from all
</Directory>
<Directory /var/django/openPLM/trunk/openPLM/media>
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
> If I type a non-existent user I get the http://server/plm/login/
> http://jambuntuserver/plm/login/ but no message about incorrect
> password.
>
Thanks for reporting this issue. I have create a ticket
(http://wiki.openplm.org/trac/ticket/38) and it should be easy to fix
it.
> Cheers,
> Jason.
Regards,
Pierre
> ----- Original Message -----
> From: Pierre Cosquer
> Sent: 03/11/11 04:05 PM
> To: openplm_user at list.openplm.org
> Subject: Re: [Openplm_user] Problems installing
>
> Le Thu, 03 Nov 2011 15:10:07 +0100, "Jason Morgan"
> <j.a.morgan at gmx.co.uk> a écrit : > Hi, > I'm trying to install
> openPLM but I've immediately run into problems. > > I've installed
> prerequsites as per various instructions as well as > rabbitmq and
> celary - whatever they are for? > Hi, Celery is a distributed tasked
> queue written in Python. It allows openPLM to execute long running
> tasks asynchronously. For example, to send a mail, openPLM executes a
> celery task. Celery routes this task to a worker node (a celeryd
> process). Celery needs a message broker. This message broker enables
> clients (the apache server running openPLM) and workers to
> communicate through messaging. RabbitMQ is a message broker software
> recommended by celery. > I've created a database under mysql and
> populated it using manage.py > > I've altered settings.py
> accordingly. > > > I've added a line to my apache conf, thus > >
> WSGIScriptAlias /plm/ /var/django/openPLM/trunk/openPLM/apache/django.wsgi
> > > > whe n I browse http://server/plm/admin i get an admin login
> > > > dialog, > but when I enter my details I get a huge error log >
> > > > > > IOError in method_framing.py in read_method, line 221 > > I
> > > > > > am reluctant to post log here as it seems to contain
> > > > > > cleartext > passwords. > > Any clues? > It seems celery
> > > > > > receive an IOError. Maybe celery is missed configured
> > > > > > (check BROKER_* variables in your settings.py) or a running
> > > > > > task raised this exception (it may be a bug or a permission
> > > > > > error). You can also check Celery logs
> > > > > > (/var/log/celery/celery.log) and rabbitmq logs. Can you
> > > > > > post a more complete traceback ? I need more data on this
> > > > > > exception to investigate this problem. > cheers, > Jason.
> > > > > > Regards, Pierre
> > > > > > _______________________________________________
> > > > > > Openplm_user mailing list Openplm_user at list.openplm.org
> > > > > > http://list.openplm.org/mailman/listinfo/openplm_user
More information about the Openplm_user
mailing list