Beruflich Dokumente
Kultur Dokumente
Introduction
Welcome to the latest of our very popular OpenERP Odoo installation How Tos.
The new release of Odoo 8.0 is a major upgrade introducing a great many new features and a new name.
Odoo 8.0 is not only better looking and easier to use, it also brings many improvements to the existing
feature-set and adds a number of brand new features which extend the scope of the business needs
covered by Odoo. Ecommerce, CMS, Integrated BI
Rather than me blathering on about whats new, you can simply just go and read the release notes here.
The How To
Following that introduction, I bet you cant wait to get your hands dirty
Just one thing before we start: You can simply download a .deb (for Debian/Ubuntu type systems) or a.
rpm (Redhat/CentOS) package of OpenERP and install that. Unfortunately that approach doesnt provide
us (Libertus Solutions) with enough fine-grained control over where things get installed, and it restricts
our flexibility to modify & customise, hence I prefer to do it a slightly more manual way (this install
process below should only take about 10-15 minutes once the host machine has been built).
This time, rather than using a source tarball as the basis for installation we are going to take the code
straight from the Odoo 8.0 branch on Github. This should help when it comes to installing updates and
bug fixes in the future by being able to issue a git pull command to update the code. Bear in mind
before doing a pull request you should always have backups and you may need to update your Odoo
database(s) as well.
So without further ado here we go:
I install just the bare minimum from the install routine (you may want to install the openssh-server
during the install procedure or install subsequently depending on your needs).
After the server has restarted for the first time I install the openssh-server package (so we can connect to
it remotely) and denyhosts to add a degree of brute-force attack protection. There are other protection
applications available: Im not saying this one is the best, but its one that works and is easy to configure
and manage. If you dont already, its also worth looking at setting up key-based ssh access, rather than
relying on passwords. This can also help to limit the potential of brute-force attacks. [NB: This isnt a
How To on securing your server]
sudo apt-get install openssh-server denyhosts
UPDATE: Note that it seems denyhosts is no longer being maintained and is not in the main Ubuntu
repository any more. Im aware of a possibly suitable alternative called fail2ban but have not used it yet;
do you own research. Thanks to Rami for the cluebat!
UPDATE2: Thanks to Paul for the pointer. I have added python-unicodecsv to the list of dependencies.
Apparently this is required to correctly restore backups.
Now make sure your server has all the latest versions & patches by doing an update:
sudo apt-get update
sudo apt-get dist-upgrade
Although not always essential its probably a good idea to reboot your server now and make sure it all
comes back up and you can login via ssh.
Now were ready to start the Odoo install.
Step 2. Create the Odoo user that will own and run the application
sudo adduser --system --home=/opt/odoo --group odoo
This is a system user. It is there to own and run the application, it isnt supposed to be a person type
user with a login etc. In Ubuntu, a system user gets a UID below 1000, has no shell (its actually
/bin/false) and has logins disabled. Note that Ive specified a home of /opt/odoo, this is where the
OpenERP server code will reside and is created automatically by the command above. The location of the
server code is your choice of course, but be aware that some of the instructions and configuration files
below may need to be altered if you decide to install to a different location.
[Note: If you want to run multiple versions of Odoo/OpenERP on the same server, the way I do it is to
create multiple users with the correct version number as part of the name, e.g. openerp70, openerp61 etc.
If you also use this when creating the Postgres users too, you can have full separation of systems on the
same server. I also use similarly named home directories, e.g. /opt/odoo80, /opt/openerp70,
/opt/openerp61 and config and start-up/shutdown files. You will also need to configure different ports for
each instance or else only the first will start.]
A question I have been asked a few times is how to run the Odoo server as the odoo system user from the
command line if it has no shell. This can be done quite easily:
sudo su - odoo -s /bin/bash
This will su your current terminal login to the odoo user (the - between su and odoo is correct) and use
the shell /bin/bash. When this command is run you will be in odoos home directory: /opt/odoo.
When you have done what you need you can leave the odoo users shell by typing exit.
Now create a new database user. This is so Odoo has access rights to connect to PostgreSQL and to create
and drop databases. Remember what your choice of password is here; you will need it later on:
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt
odoo
Enter password for new role: ********
Enter it again: ********
With that done, all the dependencies for installing Odoo 8.0 are now satisfied (note that there are some
changes between this and the packages required for OpenERP 7.0).
UPDATE & NOTE: It has been pointed out to me that the Qweb templating engine in Odoo 8 is warning
that the version of wkhtmltopdf is too old. It turns out that Ubuntu 14.04 packages version 0.9.9 of this
library even though this is rather old. To update your Ubuntu server please follow the instructions on this
page. Many thanks to Ruben Kannan for pointing this out :-).
UPDATE & NOTE II: Zak suggests an alternative method to get and install the most recent version of
wkhtmltopdf in this comment below. Thanks Zak.
UPDATE & NOTE III: David suggested adding python-cups and python-geoip to the list of modules to
install in this comment below. Thanks David.
Grab a copy of the most current Odoo 8 branch (Note the . at the end of this command!):
git clone https://www.github.com/odoo/odoo --depth 1 --branch 8.0 --single-branch .
(This might take a little while depending on the speed of your Internet connection.)
Note: Thanks to Ian Beardslee for the cluebat. Have now added --depth 1 to the command so it only
retrieves the latest version without all the history. The download is now quite a bit quicker.
Once its finished exit from the odoo user: exit.
The above commands make the file owned and writeable only by the odoo user and group and only
readable by odoo and root.
To allow the odoo server to run initially, you should only need to change two lines in this file. Toward to
the top of the file change the line db_password = False to the same password you used back in step 3.
Then modify the line addons_path = /usr/lib/python2.7/dist-packages/openerp/addons so that it
reads addons_path = /opt/odoo/addons instead.
One other line we might as well add to the configuration file now, is to tell Odoo where to write its log
file. To complement my suggested location below add the following line to the odoo-server.conf file:
logfile = /var/log/odoo/odoo-server.log
Use your favourite text editor here. I tend to use nano, e.g.
sudo nano /etc/odoo-server.conf
Once the configuration file is edited and saved, you can start the server just to check if it actually runs.
sudo su - odoo -s /bin/bash
/opt/odoo/openerp-server
If you end up with a few lines eventually saying OpenERP (Yes. The log still says OpenERP and not
Odoo) is running and waiting for connections then you are all set.
If there are errors, youll need to go back and find out where the problem is.
Otherwise simply enter CTL+C to stop the server and then exit to leave the openerp user account and go
back to your own shell.
Similar to the configuration file, you need to either copy it or paste the contents of this script to a file in
/etc/init.d/ and call it odoo-server. Once it is in the right place you will need to make it executable
and owned by root:
sudo chmod 755 /etc/init.d/odoo-server
sudo chown root: /etc/init.d/odoo-server
In the configuration file theres an entry for the servers log file. We need to create that directory first so
that the server has somewhere to log to and also we must make it writeable by the openerp user:
sudo mkdir /var/log/odoo
sudo chown odoo:root /var/log/odoo
You should now be able to view the logfile and see that the server has started.
less /var/log/odoo/odoo-server.log
If there are any problems starting the server you need to go back and check. Theres really no point
ploughing on if the server doesnt start
What you should see is a screen like this one (it is the Database Management Screen because you have no
Odoo databases yet):
What I do recommend you do at this point is to change the super admin password to something nice and
strong (Click the Password menu). By default this password is just admin and knowing that, a user
can create, backup, restore and drop databases! This password is stored in plain text in the /etc/odooserver.conf file; hence why we restricted access to just odoo and root. When you change and save the
new password the /etc/odoo-server.conf file will be re-written and will have a lot more options in it.
Now its time to make sure the server stops properly too:
sudo /etc/init.d/odoo-server stop
Check the log file again to make sure it has stopped and/or look at your servers process list.
You can now try rebooting you server if you like. Odoo should be running by the time you log back in.
If you type ps aux | grep odoo you should see a line similar to this:
odoo 1491 0.1 10.6 207132 53596 ? Sl 22:23 0:02 python /opt/odoo/openerp-server -c
/etc/odoo-server.conf
Which shows that the server is running. And of course you can check the logfile or visit the server from
your web browser too.
21
31
269 Comments
Newer Comments
Kevin G says:
September 19, 2014 at 11:14
Funny, I just subscribed for updates less than an hour before you posted this, as I have been
wondering when you would come out with this post. I have been following and using your guides
since 6.0, and have always wanted to get into direct contact with you.
I have been wanting to ask what you thought of 7.0, as I have never really gotten comfortable with
it and am still installing 6.1 for clients. I can never seem to get it to work without issues, am
bothered by the lack of a true stable release, and honestly dont care much for the direction the
company has been going. Unfortunately, it is still the best open ERP available (particularly for
SMEs) and it is what I know.
Anyway, Ill be giving 8.0 a test drive (following your instructions of course, I have tried using the
deb and installing from source but have yet to get it to work properly, although I havent really tried
too hard yet), and will comment further when I do. Feel free to send me an email if you like, we
have very similar business models and philosophies.
Reply
Alan Lord says:
September 19, 2014 at 13:08
Thanks Kevin,
I never felt that version 7 was fully fleshed out either
Reply
Kevin G says:
September 23, 2014 at 6:47
And your initial thoughts on 8?
Reply
Neelu says:
September 19, 2014 at 12:45
sudo cp /opt/odoo/debian/openerp-server.conf /etc/odoo-server.conf this does not work. It gives the
error
cp: cannot stat /opt/odoo/debian/openerp-server.conf: No such file or directory
Reply
Alan Lord says:
September 19, 2014 at 13:06
That would suggest to me that you havent installed the Odoo source from Git correctly.
What happens if you run ls /opt/odoo can you see the debian directory? If not then I think
you havent followed the instructions correctly.
Reply
Carlos says:
October 3, 2014 at 4:09
for me git clone https://www.github.com/odoo/odoo depth 1 branch 8.0 singlebranch . did not work, had to execute the line without the ., and then copy the
freshly cloned /odoo/odoo/ content to /odoo, I am using linux mint, dont know if this
matters.
Reply
Victor Hernandez says:
October 7, 2014 at 0:19
with this dot i got an error
Note the . at the end of this command!):
Reply
jgonzalez says:
October 29, 2014 at 20:25
correct path
/opt/odoo/odoo/debian/openerp-server.conf
It worked for me
Reply
Herman says:
March 23, 2015 at 7:56
Thanks!
Reply
Olivier Remacle says:
September 19, 2014 at 12:48
Great tuto, thanks Alan!
Suggestion i have:
If you plan to get more than one instance/version of odoo on the same server, a good idea must set a
python virtualenv before the step 4 and run instance/version with in.
To do before the step 4:
Install python virtualenv:
sudo apt-get -y install python-pip python-virtualenv
Move into the odoo directory:
cd /opt/odoo/
Follow next steps provided by this tuto up to step 7, you have to modify the init script to activate
your vitrual env when odoo deamon start, use this script instead of the proposed.
Reply
Alan Lord says:
September 19, 2014 at 13:03
Thanks Ive always wanted to see how that is done
Reply
Alloice says:
September 19, 2014 at 13:03
Continue doing the Greatv Work..I usually Use Your Guides to install OpenERP on Ubuntu.And it
is 100%
Reply
Victor Hernandez says:
September 19, 2014 at 21:21
Same error on step 5 , de dot does not correspond to opr/odoo/debian
Reply
Alan Lord says:
September 20, 2014 at 18:35
Just tested the instructions again. If you have entered the git clone command correctly then
the cp command should work.
Reply
Dan Lawson says:
September 20, 2014 at 2:20
Id *highly* recommend you add in dropping superuser postgresql privileges after the database is
created. Ill be publishing the vulnerabilities in a couple of weeks (after they finish getting patched),
but in the meanwhile, it is dangerous to run Odoo in any kind of production environment with the
database user having superuser access to the database.
Reply
Dan Lawson says:
September 20, 2014 at 2:38
Doh, scratch that last post, you do have it restricted to non-superusers. My bad!
Reply
Omar Khan says:
Your target directory, the . is not empty. Remove the .lesshst and try again.
Reply
Vincent says:
September 21, 2014 at 21:45
Thanks a lot, you are right, it works perfectly on ubuntu. Thank you
Reply
bjorn says:
September 22, 2014 at 18:02
First of all : you saved my mental sanity more than once. So many thanks for that. Now
the newbi question : how do you Remove the .lesshst ? ^^
Reply
Alan Lord says:
September 22, 2014 at 21:49
rm .lesshst
But thinking on this, I might move the git clone command destination into a sub
directory this is sub-optimal as it will affect other users too I think. Maybe
instead of a target of . it should go into a sub directory like odoo (again) or
server perhaps. So the full path to the Odoo code would be
/opt/odoo/{odoo,server}/?
What do you think?
Reply
bjorn says:
September 23, 2014 at 7:31
You are really asking me, the guy that couldnt delete a file ? (I tried to
remove it as a directory..). Thanks for the answer anyway !
bjorn says:
September 23, 2014 at 7:39
Sooo actually, it does not work for me. At this point, I should may ben
mention that Im running it on a Raspberry Pi
I get the error : fatal: destination path . already exists and is not an empty
directory.
a rm .lesshst gives rm: cannot remove `.lesshst: No such file or
directory
a rm . gives rm: cannot remove `.: Is a directory
a rmdir . gives rmdir: failed to remove `.: Invalid argument
so maybe your suggestion in using another sub-dir would be more noobproof.
Reply
Ian Beardslee says:
September 22, 2014 at 7:38
Nice instructions again ..
Because you are describing how to get Odoo going and not to develop it, you dont need the entire
git history ..
git clone https://www.github.com/odoo/odoo --depth 1 --branch 8.0 --single-branch
.
Reply
Alan Lord says:
September 22, 2014 at 8:18
Oh cool Thanks Ian. Good tip!
Reply
Luthfi says:
September 22, 2014 at 15:25
Hi allan,
Thanks for the great tips. it works perfectly.
can you show the instruction how do i update Odoo 8 to the latest release if there is an update?
Thanks
Reply
usha says:
September 24, 2014 at 11:06
Works well.. just one typo in view log file..
it should be /var/log/odoo / instead of /openerp
Usha
Reply
Alan Lord says:
September 24, 2014 at 15:27
Thanks. Fixed!
Reply
Luis Lafaurie says:
September 24, 2014 at 12:38
Hi Alan,
seamlessly?!!
Reply
Alan Lord says:
September 30, 2014 at 7:29
You can if you wanted to. Its not that hard, but that is not really the point of this.
It is to instruct and help readers to learn
Reply
Rami Talat says:
October 7, 2014 at 4:05
I totally agree with your aim, but we can do both; a script fully illustrated
with comments. That what I would like to say.
I see it may help much better. However, Thanks a lot for your help.
Alan Lord says:
October 7, 2014 at 9:16
@Rami sure thing!
All my content is licensed under a cc-by-sa so feel free to use it and turn it
into a useful and well commented script
Zak says:
September 25, 2014 at 16:08
to solve wkhtmltopdf issue (report are empty or version error) use this :
sudo wget http://jaist.dl.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-trustyamd64.deb
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin
Reply
Alan Lord says:
September 26, 2014 at 7:24
Thanks Zak!
Reply
Man EnVy says:
October 31, 2014 at 7:58
I already do it but I receive error mesage: Report (PDF) Wkhtmltopdf failed (error code: -11).
Message:. Please help me fix it. Many tks
Reply
Reply
Rami Talat says:
October 7, 2014 at 13:55
I faced the same problem many time, and wonder why there is no reply!!!
Reply
Alan Lord says:
October 7, 2014 at 21:24
@Rami it has been discussed in these very comments on numerous occasions.
Basically using the odoo home directory is probably not my finest idea because, if you
type any commands as odoo before running the git command it won;t work because the
shell has created .bash_history and such like. If you delete those you can then still run
the command however. It isnt a massive issue and as others have discussed in these
comments, they simply remove the dot from the command and it will create a directory
of /opt/odoo/odoo/ for the server.
http://www.theopensourcerer.com/2014/09/how-to-install-openerp-odoo-8-on-ubuntuserver-14-04-lts/comment-page-1/#comment-346361
Reply
Vincent says:
September 26, 2014 at 17:21
Odoo website port configuration.
We connect to odoo as http://www.myodoo.com:8069, which is fine, nevertheless for the web site or
the ecommerce site we cannot ask our visitors to add 8069 at the end of the domain name. Any hint
on how to configure this part ?
I guess we need to go through apache so we can use port 80, perhaps using mod_wsgi ?
Thanks a lot
Reply
Thomas says:
October 16, 2014 at 4:57
Change app to port 80
iptables -t nat -A PREROUTING -i eth0 -p tcp dport 80 -j REDIRECT to-port 8069
iptables -t nat -A PREROUTING -i eth0 -p tcp dport 443 -j REDIRECT to-port 8070
iptables-save
apt-get install iptables-persistent
Reply
Alan Lord says:
October 17, 2014 at 8:11
Thats an interesting idea. Id not considered using IPtables before. Of course will only
be useful on a dedicated machine.
And are you sure Odoo will terminate SSL on port 8070? How do you configure Odoo
for this? I thought this support was removed back in 6.1?
Reply
Bernard E says:
October 24, 2014 at 18:14
Is there anything wrong with using xmlrpc_port in openerp-server.conf to change
the default port?
Reply
Stefan says:
Hi Alan,
Tks for the document
I just install it but not with the boot script. But when I try to create my database I have server error :
OpenERP Server Error
I solve it
Reply
Daniel says:
October 3, 2014 at 17:19
How did you solve it? Im having the same issue.
Reply
Sraphine says:
October 9, 2014 at 10:15
sorry for that but I didnt remember exactly the error, I solved many errors by the
way. Maybe try to see your role or send me the error please.
Reply
Daniel says:
October 29, 2014 at 17:33
Really stupid thing actually! I was mistyping the admin password. Truly
embarrassing!
Sraphine says:
October 9, 2014 at 12:07
Try to create a new database use the password admin for the Master
password.
Reply
voathnak lim says:
October 8, 2014 at 3:18
Hi, Thanks for the instructions.
Reply
superbe says:
October 8, 2014 at 19:03
excellent! followed the steps for a debian like copy & past & it works immediatly
you make it too easy
Reply
Sraphine says:
October 9, 2014 at 10:25
Ive just had another problem. My /var/log/odoo/odoo-server.log contain nothing
The way logfile = /var/log/odoo/odoo-server.log is correct in the /etc/odoo-server.conf.
Whats wrong with my file?
Tks,
Reply
Malek says:
October 11, 2014 at 19:32
Hello,
I followed all your steps and everything installs correct. But when i open localhost:8069 on my
browser i get an internal server error. I check the log file and this is the error:
File /opt/odoo/openerp/http.py, line 1373, in db_list
dbs = dispatch_rpc(db, list, [force])
File /opt/odoo/openerp/http.py, line 100, in dispatch_rpc
result = dispatch(method, params)
File /opt/odoo/openerp/service/db.py, line 70, in dispatch
return fn(*params)
File /opt/odoo/openerp/service/db.py, line 313, in exp_list
with closing(db.cursor()) as cr:
File /opt/odoo/openerp/sql_db.py, line 567, in cursor
return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)
File /opt/odoo/openerp/sql_db.py, line 181, in __init__
self._cnx = pool.borrow(dsn)
File /opt/odoo/openerp/sql_db.py, line 460, in _locked
return fun(self, *args, **kwargs)
File /opt/odoo/openerp/sql_db.py, line 522, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
File /usr/lib/python2.7/dist-packages/psycopg2/__init__.py, line 179, in connect
connection_factory=connection_factory, async=async)
OperationalError: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket /var/run/postgresql/.s.PGSQL.5432?
I searched everywhere i even uninstalled and reinstalled postgresql and same error. Im installing
Odoo on a server.
Please any information that can help??
Reply
Alan Lord says:
October 13, 2014 at 8:08
That sounds like PostgreSQL isnt running or is running on a different port perhaps? Are you
using Ubuntu 14.04?
Reply
Malek says:
October 17, 2014 at 17:51
yes im using ubunty 14.04
I checked on what port postgresql is running and its running on port 5432. I tried alot
of things but im still getting the same error. Any idea?
Reply
bvdcomp says:
October 12, 2014 at 21:53
Hi
Ive follow your instruction and I get this error when I creat a new DB:
(SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.
Can you help?
Thx
Reply
Alan Lord says:
October 13, 2014 at 8:06
The Error message is very clear to me:
DataError: new encoding (UTF8) is incompatible with the encoding of the
template database (SQL_ASCII)
Just stick that into Google
Reply
bvdcomp says:
October 17, 2014 at 21:45
Thank you very much:
That was the solution:
kdclaver says:
October 24, 2014 at 15:16
Thanks more, I move to /opt/odoo and git and complete the installation without any
bug.
Thanks again and I just want to congratulate the writer of this howto.
Reply
Ifeoma says:
October 24, 2014 at 12:50
Thank you, thank you and thank you again. For an Ubuntu newbie, I was able to deploy odoo8 on
AWS using your guidelines. At the end the only change I had to make to my instance security rules
was to add a Custom TCP rule for port 8069. No hitches whatsoever. Hats off!
Reply
Billie Mead says:
October 29, 2014 at 21:22
I ran this command:
sudo su odoo -s /bin/bash
And now when I try to switch to user odo its asking for a password? Already.. what did I do wrong?
I didnt set a password did i?
Reply
Scott Nolan says:
November 2, 2014 at 14:18
Hey Great tutorial and everything works like a charm however i am trying to run this on AWS and
want to get port 80 to serve the front and back end as the bitnami stack can do.
Why dont i just use bitnami i hear you say. Well there are issues installing chat modules etc and it
seems slow and clunky compared to my own install as per the instructions above and greatly
received.
Furthermore teh Android app wont connect to the bitnami stack which is critical as i will have field
engineers and the messaging and to do list is great as well as uploading files using notes.
So bitnami falls short on those two points.
So back to what alot o fusers may want to know How can we get port 80 and will the Messaging
app still work after?
Secondly i have issues logging in with a new user with the app i can only login using the admin
credentials so i checked permissions and cant see anything different any clues?
I found a Great script for using on AWS for those who want a one wget and run install and i will
update and post for AWS people when i can get the port 80 issue sorted and app connectivity.
Reply
Alan Lord says:
November 2, 2014 at 17:20
The normal way to do this is to run something like apache or Nginx as a reverse proxy.
Reply
Scott Nolan says:
November 3, 2014 at 11:50
I have tried this but i can only ever see the ngix page saying welcome i have followed
multiple instructions to no evail.
Reply
Osay says:
November 5, 2014 at 11:02
Hi,
Great article. Unfortunately after following the instructions Im unable to create the database. When
I change the default admin password, put in my company name and create password and hit create
database I get the following errors
2014-11-05 10:54:34,098 25679 INFO ? openerp.addons.bus.bus: Bus.loop listen imbus
on db postgres
2014-11-05 10:54:34,670 25679 INFO ? openerp.addons.report.models.report: Will use
the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf
2014-11-05 10:54:34,876 25679 INFO ? openerp.http: HTTP Configuring static files
2014-11-05 10:54:34,908 25679 INFO None openerp.http: Generating nondb routing
2014-11-05 10:54:34,944 25679 INFO None werkzeug: 10.29.128.147 - - [05/Nov/2014
10:54:34] "GET / HTTP/1.1" 303 2014-11-05 10:54:35,057 25679 INFO None werkzeug: 10.29.128.147 - - [05/Nov/2014
10:54:35] "GET /web HTTP/1.1" 303 2014-11-05 10:54:35,135 25679 INFO None werkzeug: 10.29.128.147 - - [05/Nov/2014
10:54:35] "GET /web/database/selector HTTP/1.1" 303 2014-11-05 10:54:35,235 25679 INFO None werkzeug: 10.29.128.147 - - [05/Nov/2014
10:54:35] "GET /web/database/manager HTTP/1.1" 200 2014-11-05 10:54:35,837 25679 INFO None werkzeug: 10.29.128.147 - - [05/Nov/2014
10:54:35] "POST /web/session/get_session_info HTTP/1.1" 200 2014-11-05 10:54:36,049 25679 INFO None werkzeug: 10.29.128.147 - - [05/Nov/2014
10:54:36] "POST /web/webclient/bootstrap_translations HTTP/1.1" 200 2014-11-05 10:54:36,154 25679 INFO None werkzeug: 10.29.128.147 - - [05/Nov/2014
10:54:36] "POST /web/proxy/load HTTP/1.1" 200 2014-11-05 10:54:36,311 25679 INFO None werkzeug: 10.29.128.147 - - [05/Nov/2014
10:54:36] "POST /web/session/get_lang_list HTTP/1.1" 200 2014-11-05 10:54:36,321 25679 INFO None werkzeug: 10.29.128.147 - - [05/Nov/2014
10:54:36] "POST /web/database/get_list HTTP/1.1" 200 2014-11-05 10:55:23,952 25679 ERROR None openerp.http: Exception during JSON
request handling.
Traceback (most recent call last):
File "/opt/odoo/openerp/http.py", line 500, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/openerp/http.py", line 517, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/openerp/http.py", line 284, in _call_function
return self.endpoint(*args, **kwargs)
File "/opt/odoo/openerp/http.py", line 733, in __call__
return self.method(*args, **kw)
File "/opt/odoo/openerp/http.py", line 376, in response_wrap
response = f(*args, **kw)
Reply
Osay says:
November 5, 2014 at 14:46
Really strange thing here. I started from scratch and tried again. Same issue. Then I used
admin for all the passwords and presto, its working. Also I checked load demo database and
unchecked this when I changed the passwords so Im not sure if its the unchecking of the
demo database or the use of admin.
Cheers
Osay
Reply
milkboy says:
November 25, 2014 at 1:07
i had the same errors.
and for me entering the master password as admin, did the trick. fyi
Reply
Malte Helmhold says:
November 5, 2014 at 11:14
Hey guys,
I had a LOOOT of truble with bitnami after using it a while. Always stuff that did not work
properly and the dev version was not upgradable at all. there was stuff going on and the bitnami
people could not solve it. In order to forward to port 80 you can just modify the routing table. And I
also find that these scripts update a lot. So thanks a looot for your script opensourcerer, but many
people want to use just an installation script out of the box. I explain how it works in my video
here:
https://www.youtube.com/watch?v=FTrDT7Ovjs0
This port 80 and apache configuration very often caused me a lot of pain. I think when you want to
use ssl you definitely have to setup nginx or apache, but when you dont need secure connection use
routing table:)
and concerning AWS: Its soooo expensive!!!!! Youre at $100 so fast when you just make copies to
try something. And using micro instance is too slow:( so digitalocean or any other host 100% could
be a better solution. I love when this is discussed, because probably some people have very good
reasons for AWS, then please correct my post here:) Im always trying to offering my best tips to
people Im recording tutorials for:)
thank you for you code!
Reply
Malte Helmhold says:
November 5, 2014 at 11:15
sorry, forgot to post the link to the script I can strongly recommend (not that your script is
bad, but how its packaged for beginner is nice):
https://github.com/aschenkels-ictstudio/openerp-install-scripts
Reply
Juan Carlos Choque says:
November 7, 2014 at 22:22
Hi, first of all your tutorial is great, I followed it step by step but I have the following error after
finalize the tutorial and I want to initialize the openerp (http://localhost:8069)
Traceback (most recent call last):
File /opt/odoo/openerp/http.py, line 500, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File /opt/odoo/openerp/http.py, line 517, in dispatch
result = self._call_function(**self.params)
File /opt/odoo/openerp/http.py, line 284, in _call_function
return self.endpoint(*args, **kwargs)
File /opt/odoo/openerp/http.py, line 733, in __call__
return self.method(*args, **kw)
File /opt/odoo/openerp/http.py, line 376, in response_wrap
response = f(*args, **kw)
File /opt/odoo/addons/web/controllers/main.py, line 694, in create
params[create_admin_pwd])
File /opt/odoo/openerp/http.py, line 807, in proxy_method
result = dispatch_rpc(self.service_name, method, args)
File /opt/odoo/openerp/http.py, line 100, in dispatch_rpc
result = dispatch(method, params)
File /opt/odoo/openerp/service/db.py, line 62, in dispatch
security.check_super(passwd)
File /opt/odoo/openerp/service/security.py, line 33, in check_super
raise openerp.exceptions.AccessDenied()
AccessDenied: Access denied.
I read all comments but I do not found a solution, my SO is Ubuntu 14.04
Thanks in advance
Reply
Juan Carlos Choque says:
November 7, 2014 at 22:36
Im so sorry that was my own mistake because I was changing the default master password,
but since I kept the default password the message wont show anymore.
Reply
Instalacin odoo 8 + etherpad | Blackhold says:
November 9, 2014 at 19:38
[] theopensourcerer, []
Reply
Javier Gonzalez says:
November 14, 2014 at 12:54
Step 6. Configuring the OpenERP application
The default configuration file for the server (/opt/odoo/debian/openerp-server.conf) is actually very
minimal and will, with only a small change work fine so well copy that file to where we need it and
change its ownership and permissions.
In my installation on Amazon Web Services the openerp-server.conf is located at
/opt/odoo/odoo/debian/ instead of at /opt/odoo/debian/
Reply
Javier Gonzalez says:
November 14, 2014 at 13:07
Step 6. Configuring the OpenERP application
In my installation on Amazon Web Services the path is
addons_path = /opt/odoo/odoo/addons instead of
addons_path = /opt/odoo/addons
Reply
krnkris says:
November 19, 2014 at 21:17
Thank You, Alan Lord!
Perfect & detailed information as on version 7 before.
Reply
kdclaver says:
November 22, 2014 at 7:51
I have a running OpenERP 7.x (I follow your howto
http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/) and I
have tested this howto that works fine. How can I upgrade my running OpenERP 7.x to Odoo ?
Thanks more for your feedback !!!
Reply
Alan Lord says:
Leave a Reply
Name (required)
Mail (will not be published) (required)
Website
XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del
datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Submit Comment
Libertus Solutions
Reading or Read
Tag Cloud
#ukgovOSS Alfresco Asterisk Asus Baiting Becta Canonical Chilli CRM Education EU Firefox Free Software Gimp Glyn Moody
Google
Government GPL ISO Joomla! Licenses Linux low power server Microsoft Mono Mozilla
Novell ODF
Schools
Ubuntu UK
Windows Wordpress
Blogroll
Andy Updegrove
Bob Sutor
Confused of Calcutta
Groklaw
Launchpad Blog
Naked Computers
Open Source Schools
OPEN
Planet Ubuntu
Planet Ubuntu UK
Planet Ubuntu Users
Rob Weir
The Linux Blog
The Way Out
The webbook blog
Recent Comments
Paul on How to Install OpenERP Odoo 8 on Ubuntu Server 14.04 LTS
Swan White on How to install OpenERP 7.0 on Ubuntu 12.04 LTS
Lionel Page on How to Install OpenERP Odoo 8 on Ubuntu Server 14.04 LTS
Chris on How to Install OpenERP Odoo 8 on Ubuntu Server 14.04 LTS
Michael Bos on How to Install OpenERP Odoo 8 on Ubuntu Server 14.04 LTS
License
The content of this website is licensed under a Creative Commons Attribution-Share Alike 3.0 License.