D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Postgresql su user

 

Ok previously I got Version 8 running after considerable work. This Version 9 I cannot remember what I did to get it to run python oodo.py -d database just cannot remember so now when I launch it, database name is 'default@default" so I probably have to do something like specify user password database. I really don't remember how I got it working but wish I had saved my notes before reinstalling the whole Kernel.

Some small grain of wisdom I gleaned.

I found after installing pip.

pip install requirements.txt (where the txt file lists all the dependencies)

On Mon, Oct 12, 2015 at 11:46 AM, Matt Stevenson <mrmstevenson@xxxxxxxxx> wrote:
Actually Simon am a bit concerned as that documentation relates to older version and I was aiming to install Odoo v9.

After using wget to download Odoo v9.zip and checking Postgresql, I then installed the many mnay python dependencies used, then sudo python setup.py install

This is a horrible install perhaps the setup script is nasty or missing loads of dependencies or is it just me?

It start with this error.

The required version of setuptools (>=1.4) is not available,
and can't be installed while this script is running. Please
install a more recent version first, using
'easy_install -U setuptools'.

So IÂ run easy_install -U setuptools

Then re run sudo python setup.py install

Then have to install
https://github.com/erocarrera/pydot

Then re run sudo python setup.py install

and get some badly coded errors.(starting to be more concerned over the choice of using odoo if its not well written) Are there any good alternatives that have Google integration ?



On Mon, Oct 12, 2015 at 11:05 AM, Matt Stevenson <mrmstevenson@xxxxxxxxx> wrote:
Hi Simon

With you on the security side. So I followed the official doc and get a different message.

could not change directory to "/root"

Still its let me create the user, so hopefully this will be enough to proceed.

Thanks.



On Mon, Oct 12, 2015 at 12:10 AM, Simon Waters <simon@xxxxxxxxxxxxxx> wrote:
The instructions seem to show creating a PostgreSQL superuser and entering that users details into a web form.

Perhaps Bad Apple's paranoia is rubbing off, but what the heck do they think they are playing at? Creating a database, create a user, grant all perms to the database user, is pretty weak security-wise, but at least those apps (Wordpress I'm looking at you) usually leak only their own data when they mess up.

This is the kind of install where one blunder in their logic and your machine is rooted.

The official install guides says "n" to superuser. Probably start again from there time.




--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq




-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq