OpenERP Appliance

Collaboration Works

OpenERP installation: All-in-One for Ubuntu with updates (latest revisions from launchpad)

OpenERP Appliance & All-In-One Forum

Haga click aquí para ver este mismo post en español con infomación de módulos OpenERP Spain

The following open source script automates the setting up and the update of openerp-server, openerp-client, openerp-web, openerp-addons and openerp-extra-addons for Ubuntu 8.04 LTS, Ubuntu 9.10 and Ubuntu 10.04 LTS (Desktop or Server):

  • openerp-allinone-setup.sh : Installs or updates latest stable or trunk branch from launchpad.net with the following optional modules: openerp-spain, magentoerpconnect, report-openoffice and openetl.
  • May 2010: The brandnew pxgo_openoffice_reports module (an improvement over report-openoffice) is available in extra-addons. It can be set up after installing report-openoffice with the all-in-one for linux. Just make sure you don’t load both modules from the openerp client.
  • May 15th 2010:  OpenERP Appliance available!! This is an important improvement over the all-in-one for linux, recommended for both testing and production environments. Non technical knowledge required. Click here to grab it.
  • May 27th 2010: OpenERP 6 trunk appliance available for testing purposes. Click here to grab it.

17th February 2010: There’s a problem with openerp trunk when installed by this script: /usr/bin/openerp-server is not created and has to be reinstalled with one of the following two procedures: 1) Running again the script, like if you were updating openerp, and then “cancel” button to reinstall as no new branches are found. 2) Manually from command line:

cd /opt/openerp-server

sudo python setup.py install

sudo /etc/init.d/openerp-server start

The aim is to develop a graphical installer and update mechanism of OpenERP for Ubuntu with a KISS principle and with the latest source code.

Current stable branch is version 5.0.7 (March 2010)

Requirements: A fresh installation of Ubuntu 8.04 LTS, Ubuntu 9.10 or Ubuntu 10.04 LTS (http://www.ubuntu.com/getubuntu/download)

The installation process can be as simple as “Accept” for each question. You will need to type your user password (sudo).

TIP: test this script within a Virtual Machine after installing Ubuntu 8.04 LTS Desktop or Ubuntu 9.10 Desktop from scratch. Minimum virtual machine size of 5 GB space for testing, although at least 6 GB recommended (around 1GB free with a flat ubuntu desktop and full openerp). Remember that Ubuntu Server has even less space requirements. Run the virtual machine in a bridged network: host and guest have same subnet and can be reached from the LAN.

Ubuntu Desktop (for Linux newbies or users interested in having a GUI desktop): Run the script through the Graphical User Interface

  1. uncompress the file
  2. right click on openerp-allinone-setup.sh
  3. click on ” Properties”
  4. click on “Permissions” tab
  5. Click on checkbox “Execute: Allow executing file as program”
  6. click on “Close”
  7. double click on the icon and “Run in a Terminal” or “Run”: OpenERP will be installed during the first execution. OpenERP will be updated from this point onwards if you double click again on the icon.
  8. An OpenERP-README.txt file is created with the remaining steps to be done from the OpenERP client (GTK or Web)

Ubuntu Server (for advanced users not interested in having a GUI desktop): Only the core of the system is needed, so during the installation of your Ubuntu Server don’t select software to install like LAMP Server or PostgreSQL Server in the “Software Selection” menu (except for OpenSSH Server). This script installs Apache and Postgres and expects to deal with default config files. Run the script as non-root user with the following commands in an SSH session with X11 Forwarding

  1. Create a secure shell (SSH) session with X11 Forwarding enabled:
  2. Transfer the script to Ubuntu Server. Two options:
  3. gzip -d openerp-allinone-setup.sh.gz
  4. chmod +x openerp-allinone-setup.sh
  5. ./openerp-allinone-setup.sh
  6. Exit from the SSH session:
    • exit
  7. Start again a new SSH session with X11 Forwarding enabled:
  8. ./openerp-allinone-setup.sh
  9. OpenERP will be installed during the second execution. OpenERP will be updated from this point onwards if the script is executed again.
  10. An OpenERP-README.txt file is created with the remaining steps to be done from the OpenERP client (GTK or Web)

Additional info:

  1. OpenERP on Ubuntu 8.04 LTS (Long Term Support) is recommended for production systems
  2. OpenERP has been tested by Tiny and Axelor on Debian Etch and Ubuntu Hardy (release 8.04 LTS)
  3. openerp-server and openerp-client (>= v5.0.3) are available on Ubuntu 9.10 Karmic Koala as Ubuntu packages: https://launchpad.net/ubuntu/+search?text=openerp
  4. Ubuntu 8.04 does not provide Ubuntu packages for OpenERP but is LTS (Long Term Support). Basically this is why I wrote this script (it makes less sense on newer Ubuntu releases)
  5. During the installation process, available IP addresses are shown to ease the IP address input. The first configured IP is marked as default one.
  6. /opt is the working directory where OpenERP files are downloaded.
  7. Apache is configured as a front-end for OpenERP Web and redirects all the incoming HTTP traffic to HTTPS. The “invalid security certificate” error message in your Web browser is correct as the SSL certificate has been created for testing purposes.
  8. Ubuntu’s firewall is setup with the following ports open: SSH, HTTP, HTTPS, 8069 & 8070 (for remote access of OpenERP GTK clients).
  9. Startup/init scripts for openerp-server and openerp-web are added.
  10. Desktop Icons for openerp-client and openerpweb URL are created
  11. An OpenERP-README.txt file is created with the remaining steps to be done from the OpenERP client (GTK or Web)
  12. OpenERP-updates.txt file is created with records of installed or updated OpenERP revisions. This is useful to be in control of your updates.
  13. This OpenERP Updater works by running “bzr missing” and “bzr pull”.
  14. The following messages can be ignored (ref #1, ref #2) during the installation if you run the script in a Terminal:
    /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: ‘console’ warnings.warn(msg)
    /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: ‘windows’ warnings.warn(msg)
    /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: ‘copyright’ warnings.warn(msg)
    File “build/bdist.linux-i686/egg/pyparsing_py3.py”, line 2470
    except ParseException as err:
    ^
    SyntaxError: invalid syntax
    File “/usr/lib/python2.5/site-packages/pyparsing-1.5.2-py2.5.egg/pyparsing_py3.py”, line 2470
    except ParseException as err:
    ^
    SyntaxError: invalid syntax
  15. Document module: the “Browse Files Using FTP” option is setup by default for localhost (server side) on port 8021. This can be configured with the wizard and by opening that port on the firewall (sudo ufw allow 8021/tcp)
  16. Remember to set up your mail server specified in /etc/openerp-server.conf file if you want OpenERP to send emails.

Links of interest:

Screenshots:

The following two scripts automate the setting up and update openerp-server-5.0.x & openerp-client-5.0.x & openerp-web-5.0.x & openerp-addons-5.0.x & openerp-extra-addons-5.0.x for Ubuntu 8.04 LTS Desktop and Server:* openerp-allinone-setup-stable.sh : Installs or updates latest stable branch from launchpad.net. This is the recommended one.
* openerp-allinone-setup-trunk.sh : Installs or updates latest trunk (development) branch from launchpad.net. Current branch links are not valid (view status of source code trunk and stable: http://openobject.com/forum/topic13013.html)The aim is to provide a graphical installer and update mechanism of OpenERP for Ubuntu Desktop and Server with a KISS principleCurrent stable branch is version 5.0.6 (Sep 22th 2009)Requirements: A fresh installation of Ubuntu 8.04 LTS Desktop or Server (http://www.ubuntu.com/getubuntu/download)TIP: test this script within a Virtual Machine after installing Ubuntu 8.04 LTS Desktop or Server from scratch. Run the virtual machine in a bridged network: host and guest have same subnet and can be reached from the LAN.Ubuntu Desktop: run the script through the Graphical User Interface1. uncompress the file
2. right click on openerp-allinone-setup-stable.sh or openerp-allinone-setup-trunk.sh icon
3. click on ” Properties”
4. click on “Permissions” tab
5. select “Execute: Allow executing file as program”
6. click on “Close”
7. double click on the icon and “Run in a Terminal” or “Run”: OpenERP will be installed during the first execution. OpenERP will be updated from this point onwards if you double click again on the icon.Ubuntu Server: Only the core of the system is needed, so during the installation of your Ubuntu Server don’t select software to install like LAMP Server or PostgreSQL Server in the “Software Selection” menu (except for OpenSSH Server). This script installs Apache and Postgres and expects to deal with default config files. Run the script as non-root with the following commands in a SSH session with X11 Forwarding1. ssh -X user@ubuntuserver8.04
2. gzip -d openerp-allinone-setup-stable.sh.gz
3. chmod +x openerp-allinone-setup-stable.sh
4. ./openerp-allinone-setup-stable.sh
5. exit
6. ssh -X user@ubuntuserver8.04
7. ./openerp-allinone-setup-stable.sh
8. OpenERP will be installed during the second execution. OpenERP will be updated from this point onwards if the script is executed again.The installation process can be as simple as “Accept” for each question. You will need to type your user password (sudo).Additional info:1. OpenERP on Ubuntu 8.04 LTS is recommended for production systems
2. OpenERP has been tested by Tiny and Axelor on Debian Etch and Ubuntu Hardy (release 8.04 LTS)
3. The “invalid security certificate” error message in your Web browser is correct as the SSL certificate has been created for testing purposes
4. Desktop Icons for openerp-client and openerpweb URL are made
5. Available IP addresses are shown to ease the IP address input. The first configured IP is marked as default one
6. An OpenERP-README.txt file is created with the remaining steps to be done from the OpenERP client (GTK or Web)
7. OpenERP-updates.txt file is created with records of installed or updated OpenERP revisions. This is useful to be in control of your updates.
8. Update process is now working by running “bzr missing” and “bzr pull” (Sep 22th).
9. Note for those who already downloaded stable extra-addons branch: Change of name due to bzr_set.py. Change the parent location and bound location in your .bzr/branch/branch.conf file. Changes: stable_5.0_extra-addons to stable_5.0-extra-addonsScreenshots:

About these ads

September 15, 2009 - Posted by | ERP, Scripting, Turnkey, Ubuntu Desktop, Ubuntu Server Canonical | , ,

231 Comments

  1. Thanks for that – much appreciated. I’m no LINUX guru so this is a great help. Any possibility of getting the extra-addons branch as well?

    Comment by jon wilson | September 17, 2009

    • Sure! It’s added now. Thanks for your suggestion!! ;-)

      Comment by opensourceconsultant | September 17, 2009

  2. Thank you once again. Can I simply grab the new script and run it and the extra-addons branch will be added, or should I start from scratch again?

    Comment by Jon Wilson | September 18, 2009

    • Glad to hear that. Run the new script to add the extra-addons branch (you don’t have to start from scratch)

      Comment by I. Fernández | September 18, 2009

    • Hi Jon, the update process is now fixed in the script by running “bzr missing” and “bzr merge”. Hopefully I will fix the new issue with OpenERP Web v5.0.5 …

      Comment by opensourceconsultant | September 20, 2009

  3. The script appeared to run OK and create the extra-addons branch – what issue with OpenERP web V5.0.5 are you referring to?

    Comment by Jon Wilson | September 21, 2009

    • You are probably running openerp-web v5.0.3 as this was the available release until one week ago.

      Now the latest openerp-web release is v5.0.5, which provides a new startup script (/usr/bin/start-openerp-web) and seems not to be working on Windows nor Linux platforms.

      A bug report has been created.

      Further details at http://www.openobject.com/forum/topic10765.html

      Comment by I. Fernández | September 21, 2009

      • Look forward to the new update. Would it be possible to have a configuration file to provide default locations for installation of Postgres, openerp etc. This would make it possible to use the script for production environments. Happy to fund your work.

        Comment by Jon Wilson | September 21, 2009

        • I’m not sure if I got it…
          Do you just ask for information about what files (data + software) need to be back-up?
          Postgres is installed with Ubuntu packages, so its location is the standard one in Ubuntu. I like the idea of having openerp in its default path.

          Comment by opensourceconsultant | September 22, 2009

          • Woops replied to the wrong comment…trying again!

            I was really referring to placing the Postgres DB for OpenERP on a different location (eg a different device). I was thinking of this for larger installations that would benefit from a dedicated device for the DB. Apologies for not being clearer.

            Comment by Jon Wilson | September 22, 2009

            • Hi Jon, two possible solutions among others:

              1) Specify an external Postgres DB in /etc/openerp-server.conf . This is a 3-tier architecture.
              2) Set up Linux LVM2 + mdadm + ext3 for allocating Postgres filesystem in dedicated devices with redundancy: i.e. SAN, multipath, iSCSI, and so on. Set it up with the same filesystem path where Ubuntu’s postgres is allocated before running this script. This requires advanced technical skills and Ubuntu 8.04 LTS Server is recommended for this configuration (this script is only suitable for Ubuntu 8.04 LTS Desktop, but can be modified for Ubuntu Server)

              Comment by opensourceconsultant | September 22, 2009

              • Thanks for that..we will keep it in mind when we closer to production servers – still learning at the moment.

                Comment by Jon Wilson | September 23, 2009

            • Jon Wilson, FYI

              In SAN solutions, DB data files and transaction logs are usually allocated in SAN volumes (LUN management). Application files on the SAN probably won’t hurt, but won’t really help either.

              Comment by opensourceconsultant | February 22, 2010

      • I have the following error

        Traceback (most recent call last):
        File “/usr/bin/start-openerp-web”, line 8, in

        File “/usr/lib/python2.5/site-packages/kid-0.9.6-py2.5.egg/kid/parser.py”, line 434, in feed
        raise expat.ExpatError(e)
        xml.parsers.expat.ExpatError: Error parsing XML:
        <span py:if="not link" xmlns:py="http://purl.org/kid/ns#&quot; py:content
        ^
        junk after document element: line 5, column 8

        Comment by Vanderstraeten Marc | September 22, 2009

        • Hi Marc, there’s a bug in OpenERP Web 5.0.5 … Take a look at “Additional info” section of this post.

          Comment by opensourceconsultant | September 22, 2009

  4. I was really referring to placing the Postgres DB for OpenERP on a different location (eg a different device). I was thinking of this for larger installations that would benefit from a dedicated device for the DB. Apologies for not being clearer.

    Comment by Jon Wilson | September 22, 2009

  5. thanks, for this sript.
    To use the gtk-client grap and calendar, you should add the following libraries python-matplotlib and python-hippocanvas
    in the section apt-get install.

    Comment by phil | September 22, 2009

    • Hi phil,

      python-matplotlib and python-hippocanvas were added to this script in v5.0.3 (older post)

      I’m now considering to add “bzr commit” in the update process.

      Comment by I. Fernández | September 22, 2009

      • Finally “bzr pull” satisfies my needs :-) I will replace “bzr merge” with “bzr pull” in the update process.

        Comment by I. Fernández | September 22, 2009

      • ok, i didn’t take the right script.

        But, i have to modify a bit the script to launch ths web client.

        I changed /usr/bin/start-openerp-web into /usr/bin/openerp-web.

        I got the 5.0.6 version.

        Comment by phil | September 25, 2009

        • Phil,
          The 5.0.5 was packaged from wrong branch. A new version 5.0.6 from branch 5.0.2 was released with the right path (/usr/bin/openerp-web). Download the script again.

          Comment by opensourceconsultant | September 25, 2009

  6. does the script install the DB postgres or that will be a different install.

    can I upgrade the system (ubuntu) after installing openerp.

    Comment by cao | September 23, 2009

    • 1)Postgres is installed by this script (Ubuntu Desktop doesn’t install it by default)
      2)Ubuntu can be upgraded as usual (before or after setting up openerp)

      Comment by I. Fernández | September 23, 2009

  7. after installing the program I get the following errors
    on the web link ( link to openerp web) when click it send me to the following web site http://www.itvision.ie

    on the openerp client ( there was an error launching the application.
    Details: failed to execute child process
    “usr/bin/openerp-client” no such file or directory)

    Thank you for you help.

    Comment by cao | September 23, 2009

    • 1) Seems like your DNS settings are wrong. Modify /etc/hosts file or install OpenERP from scratch with the latest release of this script (download it again).

      2) Weird error as you’re missing one slash on “/usr/bin/openerp-client”. Just edit the icon’s properties and add the first slash.

      Comment by I. Fernández | September 23, 2009

    • todos esta trabajando bien.
      Mucha Gracias

      Para Fernandez.
      la razon por la cual te pregunte si es posible que el script trabaje con pclinuxos or BEL Server (http://belproject.org/)es porque trabajo con vario medico y
      la nueva ley en lo estados unidos lo vas a forzar a usar un sistemas electronicos de dato. Openerp es ideal pero la instalacion es pesima. yo trato de usar Bel Server casi todo el tiempo porque nadie quiere usar ubuntu. Pero no es podido instalar openerp en Bel Server y siempre termino usando Dynamic CRM en Windows. Lo cual es una pena.
      Hay mile de opotunidades en el sector medico pero ubuntu no es la solucion.

      Comment by cao | September 23, 2009

      • when I try to install the following module(health) I get
        validatedError
        Error occurred while validating the fields res_model,
        src_model: Invalid model name in the action definition.

        Tiny TERP Health Management (health)
        Module: health
        Name: Tiny TERP Health Management
        Version: 5.0.0.9.3
        Author: EVI
        Directory: health
        Web:
        Official module:
        yes
        Quality certified:
        yes

        Comment by cao | September 23, 2009

      • Morning Cao,

        I got the same error while installing the “health” module. Maybe it’s a good idea to ask for help at openobject.com/forum. I have 384 modules available after setting up addons + extra-addons…

        Comment by I. Fernández | September 24, 2009

  8. Great job.
    what are the changes to install in Ubuntu 8.04 LTS Server?
    thanks,

    Comment by antonio | September 23, 2009

    • Hi Antonio,

      Most of the OpenERP users are not techies but functional people. This is why I enhanced this script with GUI dialogs (zenity function) and made Ubuntu Desktop a requirement to offer a real alternative to the All-in-one installer for Windows.

      Ubuntu Server has no GUI nor zenity installed by default. You could try to install zenity (gnome) on Ubuntu Server, remove the Ubuntu Desktop constraint, and run the script with X Forwarding enabled in a remote ssh session.

      Another option for Ubuntu Server is to get rid of zenity and use “dialog” function to get better user input with non GUI dialogs (http://www.linuxjournal.com/video/getting-user-input-shell-script).

      At the moment I don’t have a version of this script with “dialog” function instead of “zenity”.

      Comment by I. Fernández | September 23, 2009

    • Antonio,

      Mind the path for OpenERP-README.txt and OpenERP-updates.txt files in Ubuntu Server (use $HOME instead of $MYDESKTOP)

      Comment by I. Fernández | September 23, 2009

    • Antonio,

      The script now works on Ubuntu Server. Grab the new one.

      Comment by I. Fernández | September 24, 2009

      • thanks.
        meanwhile I installed it step by step.

        I’ve only a problem:

        I’m using a VM machine behind a firewall with “all close” policy.

        I open some ports like this

        8069 tcp
        8070 tcp
        8080 tcp
        80 tcp

        but from web-client and only in some operations (create a database, install a module, etc), I have a “connection refuse” error.

        Any ideias?

        thankx

        Comment by antonio | September 24, 2009

        • Hi Antonio, the installer also sets up firewall rules with the following ports open on Ubuntu:

          # FIREWALL:
          sudo ufw enable
          sudo ufw allow ssh
          sudo ufw allow http
          sudo ufw allow https
          # OpenERP port (GTK client):
          sudo ufw allow 8069/tcp
          # OpenERP port (GTK client):
          sudo ufw allow 8070/tcp

          Comment by opensourceconsultant | September 24, 2009

  9. [...] Septiembre 2009. Actualización: El nuevo instalador de este autor incluye stable_5.0-extra-addons, en cuyo caso sería prescindible la parte de este [...]

    Pingback by Adding OpenERP 5.0 Modules for Spain on Ubuntu 8.04 LTS (in Spanish) « Open Source Consulting | September 24, 2009

  10. Hello,
    I’ve installed openerp-allinone-setup-stable.sh. After installed it I try to install the extra add ons and I m getting the following error.

    OpenERP Server: Downloading latest stable branches from launchpad.net
    sudo: bzr: command not found

    I’ve also tried with openerp-allinone-setup-trunk.sh and I got the same error.

    Could you give advice?
    Kr,
    André

    Comment by Bake | September 28, 2009

    • You should install bzr in your system

      sudo apt-get install bzr

      Regards
      António

      Comment by antonio | September 28, 2009

  11. Hello,
    I’ve installed openerp-allinone-setup-stable.sh. After installed it I try to install the extra add ons and I m getting the following error.

    OpenERP Server: Downloading latest stable branches from launchpad.net
    sudo: bzr: command not found

    I’ve also tried with openerp-allinone-setup-trunk.sh and I got the same error.

    Could you give advice?
    Kr,
    André

    Comment by Bake | September 28, 2009

    • Hi André,

      First make sure you grab the latest version of openerp-allinone-setup-stable.sh (just download it again)

      “bzr” is installed by this script during its first run. If not installed I would check the Internet access.

      The message “OpenERP Server: Downloading” shouldn’t appear if succesfully installed before…

      Workaround: “sudo apt-get install -y bzr” , run the script again and select “extra-addons” from the selection menu while reinstalling OpenERP with this script (“Cancel” button to reach the menu).

      Tip: Run again the script from scratch and make sure the required software is successfully downloaded from Internet. Sometimes launchpad.net or Ubuntu repositories are not available.

      Comment by opensourceconsultant | September 28, 2009

      • Hello,
        I’ve undo and redo everything with downloading again the lastest version and everything is working now.
        Tks for your help .

        KR,
        André

        Comment by Bake | October 5, 2009

  12. nice installer! WORKS after I provided a solid internet connection, instead of Wlan…
    Now my question:
    I cannot connect to Openerp database via Pgadmin: what password do I need for the maintainance database “postgres” ???
    Tried everything I could imagine…
    I need the database to import migration data…

    thanks for info….

    Comment by ulli | October 3, 2009

    • Hi Ulli,

      The default password por Pgadmin is “openerp” with user “openerp”. Just check the end of the OpenERP-README.txt file to make sure this is right in your set up (backup with pgAdmin section). It should work…

      Comment by I. Fernández | October 4, 2009

  13. First of all, muchas gracias for the script! I’m now running OpenERP 5.0.6 on my Ubuntu 8.04 LTS Server 64bit on a Dell Poweredge 1850 server. After several hours of trying to install 5.0.6 via terminal mode and not able to login into the database, I finally decided to install Gnome desktop on the server and used your desktopall-in-one script. Everything went with out a hitch!

    I’m still confused about your instructions for installing on Ubuntu Servers “Run the script as non-root with the following commands in a SSH session with X11 Forwarding” if you can provide a little more details for us Linux newbie, this will help. For my Production system, I would like to install the Server with SSH and Webmin only, so I would like to be able to install OpenERP in terminal mode. Keep up the great work!!!

    Comment by Hai | October 4, 2009

    • Hai,

      You’re right as the installation instructions for Ubuntu Servers were not clear enough for Linux newbies… Just added new details that hopefully will help.

      Don’t forget to set up software or hardware RAID in your ubuntu server: http://advosys.ca/viewpoints/2007/04/setting-up-software-raid-in-ubuntu-server/

      Comment by opensourceconsultant | October 5, 2009

      • Now that make more sense now, thanks for the additional info. Now if you can back up one more step for me and I think I should be good to go. Your instruction assume that we have already downloaded the openerp-allinone-setup-stable.sh.gz file locally on the server. Any suggestion on how to do that with terminal command? I tried using sudo wget http://sites.google.com/site/20abril09/Home/openerp-allinone-setup-stable.sh.gz?attredirects=0 but I get an error, file name too long.

        My alternative is to download the file from my Window computer copy it to a USB drive then move it to the server.

        Comment by Hai | October 6, 2009

    • Hai,

      Possible solutions to your question:

      1) Transfer the script with Filezilla, Winscp or PSCP. All these tools provide SCP (Secure Copy Protocol).

      2) Install “lynx” text-only Web browser in Ubuntu server to directly download the script from this blog:
      sudo apt-get install lynx
      lynx http://opensourceconsulting.wordpress.com

      3) wget -O openerp-allinone-setup-stable.sh.gz http://sites.google.com/site/20abril09/Home/openerp-allinone-setup-stable.sh.gz

      Comment by I. Fernández | October 6, 2009

      • Great inputs once again, you’ve been very helpful in getting me up to speed. I used your Option 3) above and was able to download the file, all I needed was to add the -O option in my original wget command. I think if you add

        wget -O openerp-allinone-setup-stable.sh.gz http://sites.google.com/site/20abril09/Home/openerp-allinone-setup-stable.sh.gz

        as Step 1 to your Server install instruction above then everyone should be able to do the install like the Desktop version.

        Muchas Gracias!

        Comment by Hai | October 7, 2009

  14. Hello, you know would like to use your script to install on ubuntu desktop version 9.0.4, please like to install your script in Ubuenot 9.04, or might have problems?
    And if that is how could fix them.

    Many thanks Walker.

    Comment by Walker B. Aguilar | October 5, 2009

  15. Love the community!

    Stubborn question: I just downloaded Ubuntu 9.10 Beta….
    Yes, my question is has someone tried to run the script on a newer Ubuntu version?

    Why stick to the 8.04 LTS?

    Thanks
    – Carlos

    Comment by Carlos | October 7, 2009

    • Hi Carlos,

      This script does not work on newer Ubuntu releases. Two major reasons:

      1) Python-xml has been dropped from Ubuntu from Karmic onwards, which did make OpenERP uninstallable. The dependencies were dropped from the packages in 5.0.3 and it is now installable, however the code remains dependent on pyxml thus the server won’t start.

      https://bugs.launchpad.net/openobject-server/+bug/429519

      2) OpenERP is not compatible with Ubuntu 9.04’s default python 2.6. As a workaround it can be run on 9.04 with /usr/bin/python2.5 (package python2.5).

      The good news are that openerp-server and openerp-client (>= v5.0.3) are available on Ubuntu 9.10 Karmic Koala as Ubuntu packages: https://launchpad.net/ubuntu/+search?text=openerp

      Ubuntu 8.04 does not provide Ubuntu packages for OpenERP but is LTS (Long Term Support). Basically this is why I wrote this script (it makes less sense on newer Ubuntu releases).

      Comment by I. Fernández | October 7, 2009

  16. I havent yet, tried this version of the script, but am using the 5.0.3 version from a few weeks back.

    The problem, I am getting is that if I try to write into the Documents areas once Documents module is installed, I get an ‘access denied’ permissions error.

    Where do I change permissions, ie where would the Documents store be located ?

    I thought I’d let you know, as the Documents module is a popular one.

    Comment by Julian Robbins | October 7, 2009

    • Hi Julian Robbins,

      In later revisions of this script I was suggested to add the following line:

      sudo chmod 777 /usr/lib/python2.5/site-packages/openerp-server/addons

      I am able to add wiki files onto the Documents area. Grab this new script as it fixes some permissions and ownership issues on addons directory.

      The “Browse Files Using FTP” option is setup by default for localhost (server side) on port 8021. This can be changed with the wizard and by opening that port on the firewall.

      Comment by I. Fernández | October 8, 2009

    • Give this a try:

      sudo chown -R openerp.root /usr/lib/python2.5/site-packages/openerp-server/addons/

      sudo chmod 777 /usr/lib/python2.5/site-packages/openerp-server/addons

      Comment by I. Fernández | October 8, 2009

    • ups!! forget about what I told you before… In /var/log/openerp/openerp.log I got an “ERROR:FTP: Permission Denied. You do not permissions to write on the server side”

      Will try to fix this issue.

      Thanks for your suggestion!

      Comment by I. Fernández | October 8, 2009

    • Hi Julian,

      Please let me know if this command fixes the “Permission Denied” error:

      sudo chown openerp /usr/lib/python2.5/site-packages/openerp-server

      BTW, I set up addons folder with file permissions 777. File permissions 755 is more secure:

      sudo chmod 755 /usr/lib/python2.5/site-packages/openerp-server/addons/

      Comment by I. Fernández | October 9, 2009

  17. The updated Server instruction worked like a charm, NO PROBLEMA!!!!! I just installed OpenERP on a second server remotely from home, this second server has only the OS + SSH installed.

    Comment by Hai | October 8, 2009

  18. On my testbox, I’m getting the following error when trying to launch the Sales Orders, all other modules are working properly. Any ideas on what might be the problem? Thanks again for the help.

    Traceback (most recent call last):
    File “/usr/lib/python2.5/site-packages/openerp-server/netsvc.py”, line 244, in dispatch
    result = LocalService(service_name)(method, *params)
    File “/usr/lib/python2.5/site-packages/openerp-server/netsvc.py”, line 73, in __call__
    return getattr(self, method)(*params)
    File “/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py”, line 583, in execute
    res = service.execute(db, uid, object, method, *args)
    File “/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py”, line 59, in wrapper
    return f(self, dbname, *args, **kwargs)
    File “/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py”, line 118, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
    File “/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py”, line 110, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
    File “/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py”, line 1246, in fields_view_get
    result['arch'] = _inherit_apply_rec(result['arch'], sql_res[3])
    File “/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py”, line 1242, in _inherit_apply_rec
    result = _inherit_apply(result, inherit)
    File “/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py”, line 1202, in _inherit_apply
    raise AttributeError(_(“Couldn’t find tag ‘%s’ in parent view !”) % tag)
    AttributeError: Couldn’t find tag ” in parent view !

    Comment by Hai | October 8, 2009

    • Hai,

      Thanks for your feedback.

      I think your issue can be better addressed at openobject.com/forum

      Comment by I. Fernández | October 8, 2009

    • Hai,

      This bug and workaround could be related to your issue:

      https://bugs.launchpad.net/openobject-addons/+bug/393840

      Fixed in revision 2340

      Comment by I. Fernández | October 9, 2009

      • What would be the easiest way to update to revision 2340 at this point?

        run

        openerp-allinone-setup-stable.sh to update

        or

        openerp-allinone-setup-trunk.sh

        Comment by Hai | October 9, 2009

    • openerp-allinone-setup-stable.sh

      Comment by opensourceconsultant | October 9, 2009

      • how do I confirm that it has been updated to 2340 after rerunning the openerp-allinone-setup-stable.sh to update

        Comment by Hai | October 9, 2009

    • Check OpenERP-updates.txt (contains records of OpenERP revisions).

      You are probably up to date after running the updater. I guess your issue has nothing to do with the bug I mentioned before… In that case the best to do is to ask at openobject.com/forum and/or submit a bug at launchpad.

      Comment by I. Fernández | October 9, 2009

      • Hey thanks again for the help, muy apreciado! I’ve already posted over in the forum probably will submit a bug at Launchpad as well.

        Comment by Hai | October 9, 2009

  19. Dear all,

    First of all, I would like to thanks Fernandez for this valuable script that makes openerp’s installation easy for everyone.

    I used this script on a new fresh installed ubuntu 8.04 LTS. however, I had some issues during the installation.

    The message as displayed below illustrates the problem:

    [sudo] password for ixior:
    /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: ‘console’
    warnings.warn(msg)
    /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: ‘windows’
    warnings.warn(msg)
    /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: ‘copyright’
    warnings.warn(msg)
    File “build/bdist.linux-i686/egg/pyparsing_py3.py”, line 2470
    except ParseException as err:
    ^
    SyntaxError: invalid syntax

    File “/usr/lib/python2.5/site-packages/pyparsing-1.5.2-py2.5.egg/pyparsing_py3.py”, line 2470
    except ParseException as err:
    ^
    SyntaxError: invalid syntax

    What you recommend me as a mean to by pass this issu, do I need to reinstall the python package?

    Thank you in advance for your help.

    Regards from Geneva.

    Comment by Fabien | October 8, 2009

  20. great, thanks i really appreciate your help because the tutorials in the official website are very bad.

    thanks a lot.

    Comment by Murias | October 9, 2009

  21. Missing option when installed with script?

    First of all tons of thanks to the script-guru I. Fernandez. He is truly a majo.

    I been using version 5.01 since it was released.
    I been installing addons not available directly (such as the Thunderbird addon) via:

    Administration –> Modules Management –> Import Module

    However, this option is not available when I install via this script.

    Any ideas why?

    Thanks in advance.

    Regards,
    Carlos

    Comment by Carlos | October 11, 2009

  22. Missing option when installed with script?

    First of all tons of thanks to the script-guru I. Fernandez. He is truly a majo.

    I been using version 5.01 since it was released.
    I been installing addons not available directly (such as the Thunderbird addon) via:

    Administration –> Modules Management –> Import Module

    However, this option is not available when I install via this script. Is this maybe related to permissions during setup, or is a bug of OpenERP on version 5.0.6?

    Any ideas or comments?

    Thanks in advance.

    Regards,
    Carlos

    Comment by Carlos | October 11, 2009

    • Hi Carlos,

      Thanks for your info.

      I have no clue of this issue.You’re right as “Import Module” option is missing in “Modules Management”. Dunno if this is supposed to be like this in newer releases…

      Tried with other file permissions and no joy either. I wonder if the same concern arises on v5.0.6 All-in-One for Windows (an error on this script would then be discarded).

      Did you ask at openobject.com/forum?

      Comment by I. Fernández | October 12, 2009

    • Hi

      You may have fixed your problems relating to importing Modules, but yes it was a bug in 5.0.6 – quite an awkward one in fact.

      Comment by Julian Robbins | February 18, 2010

  23. Hi

    Although I subscribed, I didnt get any emails telling me there whas an answer to my question. The problem could well be my end, but thought i’d let you know in case there is a problem your side ..

    Julian

    Comment by Julian Robbins | October 14, 2009

    • No worries Julian. An e-mail is sent to my mailbox when someone adds a comment, but I’m not sure if post notification works well when I reply someone. I’ve just checked the settings.

      Hope you will get this message in your mailbox.

      Thanks

      Comment by opensourceconsultant | October 14, 2009

      • I didnt actually … oh well ;-)

        Comment by Julian Robbins | October 16, 2009

  24. I. Fernandez,

    In what directory are Startup/init scripts for openerp-server and openerp-web located? If I stop the openerp-server and restart the openerp-server, sometime it give me a can not connect to database error, but if I reboot the server, all the applications restart without a hitch. Also if I move my database to a separate server than the application server, what modification do I have to make to your startup/init scripts?

    thanks

    Comment by Hai | October 16, 2009

    • Startup/init scripts:
      sudo /etc/init.d/openerp-server
      sudo /etc/init.d/openerp-web

      Will check your issue with restarting openerp-server when I have a chance…

      Database Host and Port are specified in /etc/openerp-server.conf file.

      Kind regards,

      Comment by I. Fernández | October 16, 2009

  25. Ubuntu 8.04 LTS, File stable.sh dated Oct 9 version 3.7.3

    GTK Client,
    There was an error launching the application:
    Failed to execute child process /usr/bin/openerp-client
    no such file or directory

    Web Client failed to connect, firefox can not establish a connection to the server openerpweb.com

    In addition
    I do not see apache2
    Thank You

    Comment by cao | October 17, 2009

    • Weird… Check your internet access. The script fails when there’s a problem downloading the required packages and software. One option is to get more details of this problem by running the script in a Terminal (Ubuntu Desktop).

      Comment by I. Fernández | October 17, 2009

  26. I. Fernandez,

    I just installed
    Environment Information :
    System : Linux-2.6.31-11-server-x86_64-with-Ubuntu-9.10-karmic
    Distributor ID: Ubuntu
    [2009-10-18 00:45:04,904] ERROR:dbpool:[06]: Description: Ubuntu karmic (development branch)
    Release: 9.10
    Codename: karmic
    Operating System Release : 2.6.31-11-server
    Operating System Version : #36-Ubuntu SMP Fri Sep 25 07:30:38 UTC 2009
    Operating System Architecture : 64bit
    Python Version : 2.6.4rc1
    OpenERP-Server Version : 5.0.5

    When compared with another server using your All-in-One script I notice that under Administration, you don’t have Repository list, Import module? Can you check to see why that is?

    Comment by Hai | October 18, 2009

    • Ubuntu 9.10 provides openerp-server v5.05 + openerp-client v5.0.3 (https://launchpad.net/ubuntu/+search?text=openerp). This could explain why you still can see those missing options on openerp-client v5.0.6 and openerp-web v5.0.6.

      A good idea would be to escalate this issue at openobject.com/forum in relation with v5.0.6. Also, I wonder if this ocurrs on openerp All-in-One v5.0.6 for Windows.

      Comment by I. Fernández | October 18, 2009

      • I report this as a bug in Launch Pad. I had installed previously a copy using all-in-one 5.05 on my Windows XP laptop, verified that Repository list and Import module are there. I downloaded all-in-one 5.06 for Windows, the installed everything except Postgres since is was already installed at 8.4. Verified that Windows 5.0.6 have Import module and Repository list options.

        Environment Information :
        System : Windows-XP-5.1.2600-SP3
        OS Name : nt
        Operating System Release : XP
        Operating System Version : 5.1.2600
        Operating System Architecture : 32bit
        Operating System Locale : en_US.cp1252
        Python Version : 2.5.2
        OpenERP-Server Version : 5.0.6
        server:version – 5.0.6
        server:addons_path – C:\Documents and Settings\hdau\OpenERP AllInOne\Server\addons
        server:database port – 5432
        server:database user – postgres

        Comment by Hai | October 18, 2009

        • Excellent! That’s the best thing to do ;-)

          Comment by I. Fernández | October 18, 2009

        • Hai,

          Thunderbird module is already available on extra_addons:

          cd /usr/lib/python2.5/site-packages/openerp-server/addons/thunderbird
          sudo unzip thunderbird_interface.zip
          sudo mv thunderbird_interface ../
          sudo chown -R openerp thunderbird_interface

          From openerp client -> Update Modules List; and then search: “thunderbird”

          You will find the “Installation Guide” into the first folder.

          Comment by I. Fernández | October 19, 2009

  27. note on openerp web server url:

    For those who like me filled the wrong openerp web server’s url, check the file /etc/apache2/sites-enabled/000-default and change the “Redirect /” on the “” section.
    On my case I put the wrong “my local (lan) host name” instead of “myhostname.mydyndnsaccount.elsewhere”, thus, further redirections to the wrong place if out of the office.

    note: don’t know if on future this good script could change that parameter on updating!

    reminder: as I read early on the openerp documentation, the url must be root, ie: “myhostname.mydyndnsaccount.elsewhere” instead of “myhostname.mydyndnsaccount.elsewhere/openerp”

    Comment by jose luis | October 27, 2009

    • Don’t forget to update /etc/hosts and OpenERPweb.desktop

      Comment by I. Fernández | October 27, 2009

      • Thank you once more I. Fernandez!

        I found that file on my “~/” and with the correct url. “myhostname.mydyndnsaccount.elsewhere” on this case… that’s a bit of mystery to me…

        I’m beginner with OpenERP… and your script it’s both good instalation / read to learn script!

        Saludos!

        Comment by jose luis | October 27, 2009

  28. I. Fernadez,

    I can’t for life of me get Openerp-web to run as a daemon. My updated configuration are as followed:

    I’m running Ubuntu 9.10 Karmic 64bit. I’ve installed Openerp-Server on 1 server and the PostgreSQL on a 2nd server. On the third I’ve installed Openerp-web and Apache2. I can launch openerp-web and run it and login via the web browers. But if I try to execute via sudo /etc/init.d/openerp-web start
    or start-openerp-web I get NADA, ZIPPO. What do you think it could be?

    thanks

    Hai

    Comment by Hai | November 3, 2009

    • Hai,

      As your installation is a custom one without the help of this installer, it’s hard to diagnose your issue. BTW, make sure you run openerp-web with /usr/bin/python2.5 as default python 2.6 is not fully supported by openerp-web (it will be in the future).
      My recommendation for production systems: This installer on Ubuntu 8.04 LTS (it’s an all-in-one setting but an external postgresDB could be specified once the installation is complete).

      Regards,

      I.

      Comment by opensourceconsultant | November 4, 2009

    • The latest version of OpenERP seems to changed the location of the web logging. Its split into two logs, access and error. Look in openerp-web conf file. Make sure you create that directory that holds the files, then create the files and make openerp the owner of them, so it can write to them. This final step was needed for me to get the web server running as a daemon.

      Comment by Brendon | November 26, 2009

      • Hi Brandon,

        Both log files are created by this installer with right file permissions and ownership. Just enable them in /etc/openerp-web.cfg as they’re disabled (commented) by default. Don’t forget to restart openerp-web after modifying /etc/openerp-web.cfg

        Grab again the installer with the latest release and let me know if you continue having problems with this issue.

        Thanks for your collaboration!!

        Comment by I. Fernández | November 27, 2009

  29. Hi,

    is it possible to install several openerp servers with the installer?
    If not how can I install several openerp servers without the installer?
    Kr,
    André

    Comment by Bake | November 4, 2009

    • Hi André,

      Just run the installer on each server you want to set up openerp. If necessary, remember you might need to type an unique “DNS Name” for each installation (instead of the default “openerpweb.com” URL)

      Comment by opensourceconsultant | November 4, 2009

      • hello. tks for your answer.

        I’m sorry my explanation was not clear. the question is how to install several openerp servers on the same machine
        Kr,
        André

        Comment by Bake | November 4, 2009

        • In that case you could isolate each openerp installation on a virtual machine. Advantages:
          1) Easier management, deployment, migration and disaster recovery
          2) Security
          3) Lack of mess with python libraries being shared by several openerp installations.

          One great virtualization solution is the brandnew KVM (Red Hat Enterprise Linux 5.4, CentOS 5.4, Scientific Linux 5.4). KVM will also be supported by Ubuntu and SuSE.

          BTW, a single openerp installation can host several openerp databases.

          Comment by opensourceconsultant | November 4, 2009

          • thanks for the idea of VM, it’s a nice one.

            do you have any idea how to restrict the login page to one database depending on the user. Example, we have several companies and users from one could not even select the db from other companies (even if they wont be able to log in).

            Kr,
            André

            Comment by Bake | November 4, 2009

  30. [...] openerp-allinone-setup-stable.sh : Installs or updates latest stable branch from launchpad.net. This is the recommended one. The new magentoerpconnect module is included. More info here. [...]

    Pingback by Magento-OpenERP integration on Ubuntu « Open Source Consulting | November 6, 2009

  31. Hello. Is it normal for the step “OpenERP Extra-Addons: Downloading latest stable branch from launchpad.net” to take too long?

    Comment by Doktor | November 17, 2009

    • Hi Doktor,

      It all depends on launchpad’s availability and throughput, but the whole process should not last more than 20 min.

      Comment by I. Fernández | November 17, 2009

  32. Hi

    Can I make a suggestion that anyone who uses thsi script is also told to setup the openerp-server.conf file in /etc ?

    I didnt actually know it existed, and thus hadnt setup my mail server there. I couldnt work out why I couldnt get OpenERP to send me any mails !!

    But pls, please mention that you additionally need to set up your mail server in the config file

    Comment by Julian Robbins | November 24, 2009

    • Hi Julian,

      Thanks for your suggestion as my goal is to make this installer as easy as possible. Will mention it here and in OpenERP-Readme.txt

      BTW, “power e-mail” seems to be a recommended addon.

      Kind regards,

      Comment by opensourceconsultant | November 26, 2009

  33. I tried this script on a new install of Ubuntu Server 8.04.3 LTS I downloaded. I cannot get past the zenity Gtk-WARNING section. I have exited ssh, even rebooted the machine and gone back into ssh. I did have to install openssh-server before I could even run the ssh command, could that be my problem? This Gtk seems related to graphics though, and its a server build so there is no GUI. maybe the latest copy of zenity it is downloading is the problem. Any ideas?

    Comment by Brendon | November 26, 2009

    • This is the expected behaviour.

      xauth is installed during your first execution. Ubuntu 8.04 Server requires xauth to remotely display linux applications like openerp-client.

      Exit from your first SSH session and try again by enabling X11Forwarding with ssh (after installing xauth)

      Comment by I. Fernández | November 27, 2009

      • I have followed your instructions above but always get stuck with the Zenity GtK-WARNING:
        MY process is as follows:
        1.)Clean install of Ubuntu Server 8.0.4.3 LTS (no extra components like Apache etc). Installed with UK as location
        2.) sudo apt-get install openssh-server
        ‘X11Forwarding yes’ is on by default in /etc/ssh/sshd_config
        3.) Run your script above
        All runs fine until the expected first zenity warning so i must exit the ssh as described and the reenter it so:
        4.) exit
        5.) start ssh session again with ssh -X …..
        6.) ./openerp-allinone-setup-stable.sh
        This once again stops with the Zenity GtK-WARNING:
        I can restart the VM, enter ssh and try again, but always will fail with this warning.

        I can confirm that xauth is installed and at the latest version. (sudo apt-get install xauth). Any idea’s?

        Comment by Brendon | November 28, 2009

        • First of all, check your client side:

          Unix, Linux: allow connections to your local XServer with the command “xhost +” before running “ssh -X ..”
          Windows: check your Xming settings.

          Secondly, test your X11Forwarding by running other graphical application like i.e. xeyes (needs to be installed).

          Once you are able to run xeyes remotely, you can test again this installer.

          Comment by I. Fernández | November 29, 2009

  34. Whoever wrote this page and script is a life-saver! Linux is intimidating for windoze geeks first time up….

    So here’s my (probably noob) question.

    I have UBuntu desktop 8.04.3 LTS installed in VMware running on windows.

    I don’t know much, if anything, about X11 forwarding and SSH.

    I’m running the .sh script sudo ,/script…..sh from a terminal in the gnome desktop. I get the error

    “This program must be executed from Ubuntu 8.03.3 LTS ..etc”

    Cat /etc/issue on my machine says Ubuntu 8.04.3 LTS \n \l

    What’s the problem?

    Comment by Paul Drayton | December 3, 2009

    • Hi Paul,

      I run the script without typing sudo. Appart from that, I dunno what else is different in your scenario… Take a look at the youtube video as an example: there’s no need to set up X11 forwarding nor SSH when Ubuntu Desktop is chosen.

      Hope my last changes in the script didn’t add such a bug…

      kr,

      Comment by I. Fernández | December 6, 2009

      • Thanks Fernandez.

        I installed X11 and then it ran fine. All up and running. You’re a life saver for us windoze geeks.

        P

        Comment by Paul Drayton | December 7, 2009

  35. Thanks for your contribution it works very well.

    I wonder if I can modify it to download also the trunk version and have 2 servers (stable and trunk) and clients (stable and trunk) on the same computer.
    Thanks for your answer.

    Comment by vobert | December 16, 2009

    • Hi vobert,

      Please feel free to modify this script in order to satisfy your own needs. This is open source ;-)
      Unfortunately I don’t think this installer is interesting enough to create a new branch on launchpad with this code.
      I wrote a version of this script for installing the trunk branch of openerp on an isolated ubuntu, but at that moment (3-4 months ago) the trunk branch was obsolete or under construction.

      Sorry for not replying before…

      Comment by opensourceconsultant | January 18, 2010

      • Yes I noticed the script would previously give you the option of Trunk.

        I would like to try trunk, but have problems (behind a proxy) getting bzr to work reliably.

        Do you know if the up to date version of this script supports working with the trunk now ?

        Comment by Julian Robbins | January 18, 2010

        • Good point Julian,

          Will give it a try tonight and let you know soon.

          BTW, these are the branches I have for trunk:

          lp:openobject-server
          lp:openobject-client
          lp:openobject-client-web
          lp:openobject-addons
          lp:openobject-addons/extra-trunk
          lp:magentoerpconnect

          While links for stable branches are:

          lp:openobject-server/5.0
          lp:openobject-client/5.0
          lp:openobject-client-web/5.0
          lp:openobject-addons/5.0
          lp:openobject-addons/extra-5.0

          Comment by opensourceconsultant | January 18, 2010

        • Hi Julian,

          I’ve updated this script to support the installation of stable OR trunk branches. Sudo timeout has been increased during execution because trunk branches require longer time to be downloaded.
          The thing is that I’m getting compilation errors with the trunk code… and I couldn’t run openerp-server during my first try.

          Comment by opensourceconsultant | January 21, 2010

          • Thanks for trying. I hope you can get it fixed.

            Comment by Julian Robbins | January 21, 2010

            • My results with trunk branches:

              The compilation errors happened because the file system on my virtual machine was full. It was fixed by installing a new virtual machine with a bigger disk (7GB).

              There’s lots of code to download from trunk branch compared to stable branch. Trunk addons dir is about 500MB!! Why is that?

              The problem is that I’m unable to create an openerp database from both the GTK client and Web client…

              I wonder now if the trunk branch is valid at the moment or if new requirements have arisen.

              BTW, openerp 5.2 will be released the 1st of March.

              Comment by I. Fernández | January 26, 2010

        • Hi Julian,
          This script now supports trunk… Take a look at the note in red with date 17th February (today).

          Comment by opensourceconsultant | February 17, 2010

  36. Hi,
    Thanks a lot. Nice script! Kudos for your hard work.
    I stumbled into a few things though:

    1. Script doesn’t allow you to install OpenERP in stand-alone version on localhost for testing. To allow this I changed line 141:

    for lang in `/sbin/ifconfig | egrep ‘inet |inet:’| grep -v ‘127.0.0.1’ | cut -d: -f2 | awk ‘{ print $1}’`;

    into:

    for lang in `/sbin/ifconfig | egrep ‘inet |inet:’ | cut -d: -f2 | awk ‘{ print $1}’`;

    2. Should line 268:
    sudo cp -r /opt/addons/ $INSTALLPATH/lib/$PYTHONRELEASE/site-packages/openerp-server/

    not read:

    sudo cp -r /opt/addons/ $ADDONSPATH

    ?

    3. Likewise line 290 should be changed I guess to cater for Ubuntu 9.10 users:

    sudo chown openerp $INSTALLPATH/lib/$PYTHONRELEASE/site-packages/openerp-server

    as it doesn’t allow for dist-packages setup of 9.10

    4. Also Line 1290:

    sudo cp -r /opt/addons/ $INSTALLPATH/lib/$PYTHONRELEASE/site-packages/openerp-server/

    should probably be changed to:

    sudo cp -r /opt/addons/* $ADDONSPATH

    Cheers!

    Comment by Jeroen | December 18, 2009

    • Hi Jeroen,

      Thanks for your valuable tips as they help me out to improve this installer.

      Appreciated,

      I.

      Comment by opensourceconsultant | January 18, 2010

  37. Hi Fernández,

    Environment: Pure Ubuntu 8.04

    Your guide helps me alot, but DMS part doesn’t work the way it should be:

    1. On the localhost I can see the basic file name(same with db name) and can browse it from web or client OpenERP or an other ftp connection. But on other computers within the same lan or on the Internet, when I try to browse files using ftp, NOTHING there ! The only difference I can see in OpenERP.log is the IP, one is from local one is from public.
    on localhost : INFO:FTP:[admin]@192.168.0.3
    from outside : INFO:FTP:[admin]@119.123.45.203
    And something more both for from local and outside I see wired is:
    [2009-12-19 23:41:55,188] INFO:FTP:[admin]@119.123.45.203:54926 FAIL SIZE “/”. / is not retrievable.
    [2009-12-19 23:41:55,189] INFO:FTP:[admin]@119.123.45.203:54926 FAIL MDTM “/”. / is not retrievable.
    [2009-12-19 23:41:55,190] INFO:FTP:[admin]@119.123.45.203:54926 FAIL RETR “/”. Operation not permitted.
    [2009-12-19 23:41:55,193] INFO:FTP:[admin]@119.123.45.203:54926 OK CWD “/”.
    [2009-12-19 23:41:55,202] INFO:FTP:[admin]@119.123.45.203:54926 OK LIST “/”. Transfer starting.
    Maybe this is the way kind of virtual file should go.

    2. Several clicking on the files in ftw browsing window will cause OpenERP-server stuck! I have restart it to bring it back to work. Don’t know where to find log or diagnostic information.

    These didn’t happen to my first installation, version 5.0.7 followed the instruction on OpenERP.

    Thanks again for your great work.

    Chip

    Comment by Chip | December 19, 2009

    • Hi Chip

      Did you remember to disable the ufw firewall for the FTP port ?
      This caught me out too,

      ie Note 15

      Document module: the “Browse Files Using FTP” option is setup by default for localhost (server side) on port 8021. This can be configured with the wizard and by opening that port on the firewall (sudo ufw allow 8021/tcp)

      Comment by Julian Robbins | December 21, 2009

    • Hi Chip,

      Did you fix your problem? I hope so…

      Kr,

      Fernández

      Comment by opensourceconsultant | January 18, 2010

  38. Hello,

    Thanks for your contribution.

    It was working but since I uptated linux (apache?) i can’t acces my database with the web client: You don’t have permission to access this file on this server.
    Cheyenne/2.2.8 Server at localhost Port 80
    How to restore the permission acces?

    Thanks for your answer.

    Comment by pox | December 22, 2009

  39. Thank you for this nice allinone script

    Comment by Patrick | December 25, 2009

    • You’re welcome Patrick

      Comment by opensourceconsultant | January 18, 2010

  40. I solved my problem by accessing my database with

    http://localhost:8080/

    Comment by pox | December 30, 2009

    • Glad to hear you fixed your problem, although openerp-web should be reachable on port 80. Check your apache settings.

      Comment by opensourceconsultant | January 18, 2010

  41. Hi.
    Great script indeed!.
    I ran it on 8.04 LTS where Webmin 1.500 was running ok.
    My problem is that after installing OpenERP webmin on std port 10000 doesn’t reply anymore. I searched on the web and there could be issues with Apache and Webmin. Is it this the problem?

    Comment by Gianluca | January 5, 2010

    • Never mind: issue fixed!
      I didn’t realize that script closed Webmin’s std port.
      I fixed then.
      Suggestion: add note to final report after install where you state the rule for firewall ports left open.
      thanks again for great script.

      Comment by Gianluca | January 6, 2010

      • Hi Gianluca,

        Glad you fixed your issue.
        In relation to your tip, would it be enough with the details provided in this post’s “Additional info” section?

        cheers,

        Comment by opensourceconsultant | January 18, 2010

        • Yes, it would be enough.
          Cheers

          Comment by Gianluca | January 18, 2010

  42. Hello,
    you have to change the branch address for extra-addons:

    sudo bzr branch lp:openobject-addons/extra-5.0

    Olaf

    Comment by Olaf Vocks | January 13, 2010

    • Hi Olaf,

      Thanks for your tip. The branch address for extra-addons is now replaced :-)

      Cheers

      Comment by opensourceconsultant | January 18, 2010

  43. [...] Click on this link to grab the new installer!! [...]

    Pingback by New release of OpenERP All-in-one installer & updater for Ubuntu « Open Source Consulting | January 31, 2010

  44. Hi,

    I already installed Openerp from the repos before I found this.
    Now I can’t use the script, it says Postgres is already installed, so can’t use script. (even after removing it).
    Is there a way around so I can use the script on 9.10 and enjoy the latest build of OpenErp?

    (btw, on other pc it worked like a charm thank you)

    Sam

    Comment by Sam | February 4, 2010

    • Hi Sam,

      /var/lib/postgresql is not removed after purging the packages.. This is why you have that issue (this script checks wether that directory exists or not).

      The easiest solution would be to try this script on a fresh install of ubuntu 9.10.

      Second solution: Try to remove or move /var/lib/postgresql

      The same thing would apply with Apache.

      Now I wonder if the script should only check the existance of postgresql package. When I wrote the script I wanted to be sure there’s no existing postgresql data while running the installer.

      Comment by I. Fernández | February 4, 2010

      • Hi,

        Thx for the help, but removing /var/lib/postgresql didn’t work.
        Now It can’t reinstall posgres.
        It keeps returning an error code:
        Sub-process /usr/bin/dpkg returned an error code (1)

        Comment by Sam | February 8, 2010

        • Reinstall Ubuntu or google the error code:

          http://www.linuxquestions.org/questions/debian-26/sub-process-usrbindpkg-returned-an-error-code-1-171107/

          Comment by I. Fernández | February 8, 2010

          • Ofcourse I googled the error code, but none of the 25 suggestions worked.
            So after spending 1,5 hours reading I did a reïnstall.
            Just reported here so nonone esle would remove the folder.

            Greets

            Comment by Sam | February 8, 2010

            • Maybe this would be the right solution: “remove / remove –purge [package] – this option will let you remove a package that you had previously installed. Using the remove option your system will uninstall whatever package you want. Using the –purge option will also remove any configuration files that your program had included. If you know you are never using the program again and can safely purge any trace of it, you can use the –purge option. If you might be back (it happens) the config files might come in handy later”

              Comment by I. Fernández | February 8, 2010

  45. Hi there, is it possible to run this script on a VPS machine with apache2 already installed and Ubuntu 8.04. I can’t reinstall the apache because the Paralels Plesk Panel 9.3 is depending on the apache install. Can I remove the apache lines of this script?

    Comment by Ton Swart | February 15, 2010

    • Hi Ton,

      You can modify this open source script in order to satisfy your own needs :-)

      The thing is that I need to avoid potential problems on other applications by adding some requirements: i.e. without having neither Apache nor Postgres already configured and running.

      Comment by I. Fernández | February 15, 2010

  46. i have used this script to install openerp (trunk) on ubuntu 8.04 desktop

    when i try to create a database, openerp crash in loading modules

    experts from forum of openerp ask me to check the source of download of openerp-server, openerp-client and addons

    Comment by malek | February 17, 2010

    • Hi malek,

      Thanks for sharing your experience with the community.

      First of all, there’s a problem with openerp trunk when installed by this script: /usr/bin/openerp-server binary is not created and has to be setup manually (“sudo python setup.py install” in “/opt/openerp-server” directory).

      “when i try to create a database, openerp crash in loading modules”

      I guess this installer fails in case there’s a problem with the Internet link or the availability of launchpad… Unfortunately this installer doesn’t deal with these problems (they’re uncommon).

      When I started writing this script, I read the official bazaar documentation to learn how to upgrade the source code of one repository (bzr pull). But there’s even an easier way to download and update openerp trunk branches (I had no clue of it until yesterday :-( ):

      http://openobject.com/index.php?option=com_content&view=article&id=53&Itemid=59

      $ bzr branch lp:openerp
      $ cd openerp
      $ ./bzr_set.py -v trunk

      All openerp branches will be downloaded after typing last commands. This can give you a better idea if you can download openerp source code from launchpad.

      Comment by I. Fernández | February 17, 2010

  47. Hi,

    I am having trouble with setting up the https on my openerp server installed with the script above…

    These are the facts:
    1. openerp works on http but only some parts of the openerp
    for example when I try access database it redirects me to 127.0.0.1 and errror is displayed
    2. I overcome that with editing openerp-web.cfg and adding:
    tools.proxy.on = True
    tools.proxy.base = ‘http://172.20.68.74:8080′

    but that is far I can get…I have workin openerp on http but would like to have https ….

    If someone had the same problems and solved that please post here!

    regards, Vladimir

    Comment by Vladimir | February 19, 2010

    • This script adds “tools.proxy.on = True” in openerp-web.cfg. I wonder why you don’t happen to find that config after running the installer.. Appart from that, adding https was one of my major goals and it’s been successfully set up on all my tests.. Did u find a bug? :-)

      BTW, chosing 127.0.0.1 in the setting up is not recommended. This is localhost’s IP address:only valid por testing purposes and unreachable from the local network.

      Comment by I. Fernández | February 19, 2010

  48. I try to install the script on a Ubuntu 8.04 LTS VPS server, but the script ended with:

    virtual memory exhausted: Cannot allocate memory
    error: Setup script exited with error: command ‘gcc’ failed with exit status 1

    Comment by Ton Swart | February 22, 2010

    • This problem is caused by:
      sudo easy_install “lxml>2.0″

      Comment by Ton Swart | February 23, 2010

      • How do you think we could fix this out? using ulimit in the script or by having at least 1GB of RAM? :-/

        Comment by I. Fernández | February 23, 2010

  49. Beside the first memory problem, there is also a memory problem with bzr. The addons and extra addons are not loaded for ran out of memory problems.

    Comment by Ton Swart | February 22, 2010

    • How much RAM do you have? At least 0,5-1GB is recommended

      Comment by I. Fernández | February 22, 2010

      • I have 0,5GB

        Comment by Ton Swart | February 22, 2010

        • All my KVM based virtual machines have 1GB of RAM, although I think I was also successful with 0,5GB..

          Comment by I. Fernández | February 22, 2010

    • Ton,

      There’s a cool python script developed by Tiny to download and update OpenERP branches. As a test, I wonder if you would get those memory problems by using this script instead of bzr:

      $ bzr branch lp:openerp
      $ cd openerp
      $ ./bzr_set.py

      Your answer would give me an idea about the advantages of using this script in my allinone.

      Comment by I. Fernández | February 22, 2010

      • I’m getting this error with this script:

        bzr: ERROR: exceptions.ImportError: /usr/lib/python2.5/lib-dynload/_weakref.so: failed to map segment from shared object: Cannot allocate memory

        Comment by Ton Swart | February 22, 2010

        • Ton, you don’t happen to download openerp branches in either way due to lack of memory… I would suggest you to increase the RAM to 1GB. Meanwhile, could you give it a try on a local virtual machine?

          Comment by I. Fernández | February 22, 2010

        • Hi Ton,

          Got one idea.. What about using ulimit to limit the amount of memory the script can use? i.e.

          #!/bin/bash
          ulimit -v 100000

          Comment by I. Fernández | February 22, 2010

      • I’m getting this error on a fresh new Ubuntu 8.04 install.

        No handlers could be found for logger “bzr

        This is a symptom of a locking bug.

        If you do: “bzr break-lock URL”

        It should allow to work again.

        Note: You may need to run “break-lock” a couple of times before it flushes all of the pending lock processes.

        Comment by Ton Swart | February 23, 2010

      • getting this result:

        root@vps:/opt/openerp# ./bzr_set.py
        new branch of lp:~openerp-commiter/openobject-addons/stable_5.0-extra-addons int o ./addons-extra
        No handlers could be found for logger “bzr”
        new branch of lp:~openerp/openobject-client-web/5.0 into ./web
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d while locked
        warnings.warn(“%r was gc’d while locked” % self.repr)
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d while locked
        warnings.warn(“%r was gc’d while locked” % self.repr)
        new branch of lp:~openerp-community/openobject-addons/trunk-addons-community int o ./addons-community
        new branch of lp:~openerp/openobject-server/5.0 into ./server
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d while locked
        warnings.warn(“%r was gc’d while locked” % self.repr)
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d wh ile locked
        warnings.warn(“%r was gc’d while locked” % self.repr)
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d while locked
        warnings.warn(“%r was gc’d while locked” % self.repr)
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d while locked
        warnings.warn(“%r was gc’d while locked” % self.repr)
        new branch of lp:~openerp/openobject-client/5.0 into ./client
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d while locked
        warnings.warn(“%r was gc’d while locked” % self.repr)
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d while lock ed
        warnings.warn(“%r was gc’d while locked” % self.repr)
        new branch of lp:~openerp/openobject-addons/5.0 into ./addons
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d while locked
        warnings.warn(“%r was gc’d while locked” % self.repr)
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d while lock ed
        warnings.warn(“%r was gc’d while locked” % self.repr)
        (Re)Computing Symbolic links…
        ===============================================================================
        Sources of OpenERP have been installed. If you develop new features,
        you can get more information on how to contribute to the project here:

        http://test.openobject.com

        ===============================================================================
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d while lock ed
        warnings.warn(“%r was gc’d while locked” % self.repr)
        /usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:61: UserWarning: ‘Lock ableFiles()’ was gc’d while locked
        warnings.warn(“%r was gc’d while locked” % self.repr)
        root@vps:/opt/openerp#

        Comment by Ton Swart | February 23, 2010

        • Hi Ton,

          Actually I get the same errors as you when running “bzr_set.py” on virtualized Ubuntu 8.04 (bzr 2.1.0).. Weird, had no errors on Ubuntu 8.04 a few days ago… Does it have something to do with your “bzr break-lock URL” tip? :-/

          On the other hand, have no such errors when running “bzr_set.py” on non virtualized fedora 12 (bzr 2.0.3).

          At the moment I think it’s better to focus on “bzr” command rather than using “bzr_set.py” (which is supposed to be the best way to download and update openerp branches).

          Comment by I. Fernández | February 23, 2010

          • I’m doing a step by step install and I fond the following with the Java install. With the script you don’t see it.
            After the package install the license screen first coms with:

            Your kernel doesn’t support userspace software suspend

            Your kernel doesn’t support userspace software suspend. Please reconfigure your kernel to include CONFIG_SOFTWARE_SUSPEND=y and recompile.

            Comment by Ton Swart | February 24, 2010

            • Also the installation of Java6 ended with:

              Setting up sun-java6-plugin (6-17-0ubuntu1.8.04) …

              Processing triggers for libc6 …
              ldconfig deferred processing now taking place
              Reading package lists… Error!
              E: Couldn’t make mmap of 25165824 bytes – mmap (12 Cannot allocate memory)
              W: Unable to munmap
              E: The package lists or status file could not be parsed or opened.
              Reading package lists… Error!
              E: Couldn’t make mmap of 25165824 bytes – mmap (12 Cannot allocate memory)
              W: Unable to munmap
              E: The package lists or status file could not be parsed or opened.

              It seems that it is impossible to install with the script on a VPS. All errors are related to memory problems.

              So the script can be installed without the open-office integration and using the ./bzr_set.py command to setup an openerp system on a VPS. (the XML issue and the Java6 issue are needed for open-office.

              Comment by Ton Swart | February 24, 2010

              • Thanks for your feedback Ton. Post comments:

                1) “It seems that it is impossible to install with the script on a VPS. All errors are related to memory problems”

                It depends on the amount of RAM available. It will probably work with 1GB on your VPS.

                2) “the script can be installed without the open-office integration and using the ./bzr_set.py command to setup an openerp system on a VPS”

                First statement is replied in point #1.
                bzr_set.py is not a mandatory requirement as branches are already downloaded by using “bzr”. It’s a smart command that I didn’t know at the time this allinone was written.

                Comment by I. Fernández | February 24, 2010

              • Maybe it’s a good idea to build in a memory check. It will save a lot of people a lot of problems. Because some of this issues you don’t see on the screen during installation. Or place a warning in the script.

                Also when you choose not to install the extra’s the script comes in a loop.

                But I will change to a XEN® VIRTUAL PRIVATE SERVER with 1GB on memory and Ubuntu 8.04 LTS installed to see if it makes any difference in the installation.

                Thanks for your support.

                Comment by Ton Swart | February 24, 2010

              • Good point about the memory check. We could recommend at least 1GB of RAM when running on Ubuntu Desktop. Will test the allinone with less than 1GB of RAM.

                What about Ubuntu Server (no XServer) or Ubuntu Desktop with XServer switched off?

                My virtual machines are KVM based.. Xen is nice, but IMHO KVM is more efficient (when possible)

                Comment: “when you choose not to install the extra’s the script comes in a loop” ¿Do you mean the extra-addons? ¿extra trunk branches? Have to check it out as I applied new changes to the script and hope not to mess it up…

                Comment by I. Fernández | February 24, 2010

            • “Your kernel doesn’t support userspace software suspend”
              This error can be ignored unless you require to have power management from userspace (i.e. commandline). Has nothing to do with openerp. It’s more related to the setting up of your Ubuntu VPS system.

              Comment by I. Fernández | February 24, 2010

  50. I don’t wanna have the hardware here on the island, it’s to hot and the power is a bit instable. So I need a hosting machine somewhere around this globe. At the moment I’m at Lunarpages.com because that was recommended for openerp hosting. But at the and I’m 2 weeks further and no stable instalation of openerp. The only alternative they have is a XEN® VIRTUAL PRIVATE SERVER with 1GB or I have to move to a dedicated server.

    Comment by Ton Swart | February 24, 2010

    • Ton,

      The testing was fine with 512MB of RAM on a KVM based Ubuntu 8.04 Desktop with GUI (XServer) running… Had no problems either with the loop issue you mention..

      the sysstat package provides performance tools to troubleshoot memory problems like yours: vmstat, sar, etc.

      One of the hosting companies I worked with was verio (verio.com). They already offered linux based services in 2000.

      Comment by I. Fernández | February 24, 2010

  51. I changed the hosting to a dedicated server with 2GB RAM this will be up tomorrow and shouldn’t give any problems (I hope).
    But if so, I will let you know :P

    Comment by Ton Swart | February 25, 2010

  52. Hello again. I changed to one other VPS with 1GB memory, and this is the result:

    Building tag database… Done
    cp: cannot create regular file `/etc/apt/sources.list.d/': Is a directory
    chown: cannot access `/etc/apt/sources.list.d/bzr2.list': No such file or directory
    chmod: cannot access `/etc/apt/sources.list.d/bzr2.list': No such file or directory
    gpg: requesting key 8C6C1EFD from hkp server keyserver.ubuntu.com
    gpg: key 8C6C1EFD: public key “Launchpad PPA for Bazaar Developers” imported
    gpg: no ultimately trusted keys found
    gpg: Total number processed: 1
    gpg: imported: 1 (RSA: 1)
    ./openerp-allinone-setup.sh: line 489: cd: /opt: No such file or directory
    sudo: /etc/init.d/cron: command not found
    Extracting templates from packages: 100%
    Extracting templates from packages: 100%
    cp: cannot create regular file `/etc/apt/sources.list.d/': Is a directory
    chown: cannot access `/etc/apt/sources.list.d/openoffice3.list': No such file or directory
    chmod: cannot access `/etc/apt/sources.list.d/openoffice3.list': No such file or directory
    gpg: requesting key 247D1CFF from hkp server keyserver.ubuntu.com
    gpg: key 247D1CFF: public key “Launchpad PPA for OpenOffice.org Scribblers” imported
    gpg: no ultimately trusted keys found
    gpg: Total number processed: 1
    gpg: imported: 1 (RSA: 1)
    Extracting templates from packages: 100%
    ./openerp-allinone-setup.sh: line 604: cd: /opt/openerp-server: No such file or directory
    python: can’t open file ‘setup.py': [Errno 2] No such file or directory
    ./openerp-allinone-setup.sh: line 607: cd: /opt/openerp-client: No such file or directory
    python: can’t open file ‘setup.py': [Errno 2] No such file or directory
    ./openerp-allinone-setup.sh: line 609: cd: /opt/openerp-web: No such file or directory
    /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: ‘copyright’
    warnings.warn(msg)
    File “build/bdist.linux-i686/egg/pyparsing_py3.py”, line 2470
    except ParseException as err:
    ^
    SyntaxError: invalid syntax

    File “/usr/lib/python2.5/site-packages/pyparsing-1.5.2-py2.5.egg/pyparsing_py3.py”, line 2470
    except ParseException as err:
    ^
    SyntaxError: invalid syntax

    ./openerp-allinone-setup.sh: line 612: cd: /opt: No such file or directory
    cp: cannot stat `/opt/addons/*': No such file or directory
    cp: cannot stat `/opt/extra-addons/*': No such file or directory
    cp: cannot stat `/opt/magentoerpconnect': No such file or directory
    cp: cannot stat `/opt/report-openoffice/*': No such file or directory
    cp: cannot stat `/usr/lib/python2.5/site-packages/openerp-server/addons//etl/lib/etl/': No such file or directory
    cp: cannot stat `/opt/openetl/lib/openetl/': No such file or directory
    cp: cannot stat `/opt/openetl/lib/etl_test/': No such file or directory
    chown: cannot access `/usr/lib/python2.5/site-packages/etl/': No such file or directory
    chown: cannot access `/usr/lib/python2.5/site-packages/etl_test/': No such file or directory
    chown: cannot access `/usr/lib/python2.5/site-packages/openetl/': No such file or directory
    sudo: /etc/init.d/cron: command not found
    Installation of OpenERP Completed.

    Comment by Ton Swart | February 26, 2010

  53. Kuddos for writing that script and sharing it with the community. OpenERP needs more people like you :)

    Comment by interfaSys | February 26, 2010

  54. Here some findings on a standard Ubuntu 8.04 VPS that uses OpenVZ with 1GB RAM clean standard install.

    Cron error:
    By default cron is not installed.

    BZR problem:
    from the script version 1.3.1 is loaded and only the extra packages will be loaded the hole installation of openerp ends with an error and openerp is not installed. If you install it upfront and putting all first in the sources.list you will get version 2.1 which installs all except addons and extra addons. But running the command for the addons and extra addons on the command line installs without a problem.

    VI Keyboard problem and scripting error:
    It is vi problem. The vi installed by default is the minimal version which behaves similar to unix version of vi.
    You should install vim package using either apt-get or synaptic
    package manager.
    Opt directory error:
    By default the OPT directory doesn’t exist.

    Ufw error:
    If Ufw is installed the script ends hanging and stop. This has to do with VPS that uses OpenVZ and the Iptables.

    In basic there is a difference in behavior between running a script and doing all the commands on the command line. Because when you run all your commands on the command line all is installed fine. Maybe this gives a clue what’s happening, running this script on a VPS on OpenVZ.

    What you see, that there is a difference between providers in installations of Ubuntu and the result when running this script with an Ubuntu VPS that uses OpenVZ..

    Comment by Ton Swart | February 26, 2010

    • Hi there,

      thanks for this patience and all the msg I send you. As already mention changed to one other VPS provider with 1GB memory. Installed all the missing items from a default install, adjusted the source.lst upfront, and the whole installation is OK!! now. So it depends on the VPS environment and the type of installation they are using. I’m now using VPSlink.com.

      Thanks for putting all your effort in this script.

      Comment by Ton Swart | February 27, 2010

  55. The script produces error,

    —-Error—-
    openerp-allinone-setup.sh: 99: Syntax error: “(” unexpected
    ————

    Comment by selvam | February 27, 2010

    • Thanks for your feedback Selvam,

      What release of the script did you try? Current one is v4.0.1 (specified in the beginning of the script).

      Line #99 :

      function installopenoffice3withreportopenofficelibraries()

      Comment by I. Fernández | February 27, 2010

  56. Hi dear sir,

    I’ve installed the script on a frech ununtu 9.1..
    all works fine the install is great!

    But when i try to install a new module and and upload it from my computer it doesn’t work anymore.

    Before I used a local install of the server.
    Then I tried a server in our local network.
    But now its in a datacenter.

    I would like to install the outlook2007 plugin module.
    but it is no where in the module list and there is no way add extra modules to the list.

    Can anyone help me out here !!

    Thanks in advance.

    Comment by edg1 | March 2, 2010

    • I think its the same problem as I had facing this bug

      https://bugs.launchpad.net/openobject-server/+bug/506662

      Basically ‘use_control’ appears and magically wrecks the ability to import modules .. the menu items to import modules just disappears. You just have to stop use_control getting installed. Read the bug report and hopefully it will give you enough to go on

      Comment by Julian Robbins | March 2, 2010

  57. Hi

    I found that even with the right version of Ubuntu server 8.04.3 that the script would bomb out saying it was the wrong version.

    But looking in the script, it checks for /etc/issue which for me now gives 8.04.4, ie there’s been a new SP.

    Perhaps it might be better to look for 8.04.3 or greater ie 8.04.(x > 3)

    Comment by Julian Robbins | March 3, 2010

    • Hi Julian,

      Thanks for your help. I realized about this issue a couple of weeks ago. The script was fixed by filtering “8.04” instead of “8.04.3”. Other improvements have been applied as well, like making Apache-SSL and iptables optional.

      Grab the script again with the latest updates.

      Comment by I. Fernández | March 3, 2010

  58. Allinone updates have been updated with “bzr pull –overwrite” parameter as “Conflicting tags” messages are arising in stable branches when updating to v5.0.7:

    According to bzr man pages:

    “bzr pull –overwrite” : Ignore differences between branches and overwrite unconditionally.

    This new parameter is now run by this script on each openerp update. Like before and to avoid loss of your source code modifications, MAKE SURE YOU DON’T HAVE ANY LOCAL COMMIT !!

    This tip has been shared by KangOl ;-) (OpenERP developer)

    Comment by I. Fernández | March 4, 2010

  59. I have the same error as mentioned in paragraph 56:
    openerp-allinone-setup.sh: 99: Syntax error: “(”
    unexpected

    the script is in release v4.0.1

    i’ve a unbutu server 8.04 LTS mount in one virtual Openvz of Proxmox in a kernel 2.6.18-2
    # uname -a
    Linux OpenERP 2.6.18-2-pve #1 SMP Mon Feb 1 10:45:26 CET 2010 i686 GNU/Linux

    what about of this mistake ?

    thank

    Comment by philuser | March 5, 2010

    • Hi,

      AFAIK OpenVZ is a linux virtual container… similar to zones in Solaris. This has not been tested and I don’t think it’s supported. The same would apply to LXC virtual container.

      Dunno if your error is related to openvz.. but if not I would run the script in debug mode (#!/bin/bash -x). I don’t happen to see that error in my tests… and it’s hard to fix a bug that I can’t reproduce :-(

      Comment by I. Fernández | March 5, 2010

  60. I cannot backup and/or restore a database from the client interface.

    If I kill the openerp-server process and start the openerp-server manually with:

    cd /usr/lib/python2.5/site-packages/openerp-server
    …then start it from the command line with:
    sudo python ./openerp-server.py –config=/etc/openerp-server.conf

    It runs just fine and I can create a backup of any database from the web client.

    However, the command line on the server prompts me for a password, then I type in ‘openerp’, then the web client gives me a “save as” dialog box and I get by backup.

    Why is the server promting me for a password? Does it have something to do with the allinone installer running the opener-server and a daemon?

    Comment by Scott Bowman | March 8, 2010

    • Just as an additional note:

      If I don’t kill the openerp-server process and start it manually from the command line… when I try to back up a database from the web client, it just redirects me back to the logon page!

      Comment by Scott Bowman | March 8, 2010

    • Hi Scott,

      Seems like you’re able to backup your database from openerp-web when openerp-server is run as root (sudo). I just considered this option was not yet implemented.

      This installer runs openerp-server as “openerp” user, a non privileged user.This is how I think it should be launched.

      Two options for backing up openerp:

      A) From pgadminIII GUI as explained in OpenERP-README.txt
      B) From openerp-client (GTK). For example, this is the procedure for migrating your database from one openerp instance to newer one:

      1. backup your db, from the OpenERP Client (file -> database -> backup)
      2. install the new version of OpenERP
      3. restore your db, from the OpenERP Client (file -> database -> restore)
      4. run the migration, from the OpenERP Client (file -> database -> migrate database)

      Comment by I. Fernández | March 8, 2010

      • Thank you for your prompt reply Fernandez.

        I have tried backing up using the GTK client and the result is a backup (dump) file of 0 bytes in length. So I can only assume that the GTK client and the web client are having the same problem, just manifested in their respective user interfaces in 2 different ways.

        I agree with your assessment that the proper way to run this is as the openerp user, but there must be some way of performing backups from the client interface by giving the openerp user the proper rights that it needs in order to do this.

        I know that using pgamin3 is an option, but as other users have pointed out in the open object forums, this (in some cases) causes errors on restore for some reason.

        Do you know what part is prompting me for the db password?
        If so, is there any way that this can be automated so that we can in fact run openerp-server as a daemon and can still backup and restore successfully from the clients?

        Comment by Scott Bowman | March 8, 2010

        • That makes sense! I remember reading something about this backup feature only implemented for Windows platforms… (never gave it a try). You could try to remotely backup and restore from a windows system running openerp-client (GTK), but not sure if this would work.

          Hopefull this feature will be available for Linux platforms on release v5.2.

          Follow the instructions specified in OpenERP-README.txt to backup and restore with pg_dump & pg_restore (CLI) and pgamdinIII (GUI). The backup process can be automated by running pg_dump in a crontab job (server side, not client side).

          Comment by I. Fernández | March 8, 2010

      • OK… check this out,

        If I kill the openerp-server daemon, then log on as the openerp user with:
        sudo -i -u openerp

        Then run the server manually with:
        cd /usr/lib/python2.5/site-packages/openerp-server
        and:
        python ./openerp-server.py –config=/etc/openerp-server.conf

        I can backup and restore from either GTK or web client successfully. (Without the server prompting me for a password at the terminal)

        So… if I run the server “manually” as the openerp user it works just fine.
        This can only mean that perhaps running it as a daemon is what is screwing it up. Perhaps the daemon is not properly setting the working directory properly to a directory that is writable for the openerp user. (working directory for the deamon needs to be /home/openerp perhaps?)

        Whatever the case, it seems clear that the issue is directly related to running the server as a daemon.

        Comment by Scott Bowman | March 8, 2010

      • SOLVED!

        Here is the reference for the solution:

        http://openobject.com/forum/topic15047.html?highlight=log

        Basically, you must create a file in the /home/openerp directory named .pgpass

        The contents of this file should be one line that reads:
        localhost:5432:*:openerp:openerp

        The last 2 items in this line should reflect the name and password of the postgres openerp user.

        VERY IMPORTANT:
        The permissions for this file should be:
        -rw——- 1 openerp openerp 33 2010-03-08 14:40 .pgpass

        If the permissions are not rw only (and not owned by the openerp user) it will not work.

        Do this and database backup and restore will now work in the GTK and web client.

        Perhaps this file can be created with the proper info in the allinone script during installation?

        Comment by Scott Bowman | March 8, 2010

      • One more thing…

        You must change the line in /etc/postgresql/8.3/main/pg_hba.conf from

        host all all 127.0.0.1/32 md5
        to:
        host all all 127.0.0.1/32 trust

        Comment by Scott Bowman | March 8, 2010

        • Hi Scott,

          Thanks a lot for your outstanding help. I really appreciate it.

          As you point out with your solution it’s all about having right access to postgres. It really makes sense!! The PostgreSQL Client Authentication Configuration File (/etc/postgresql/8.3/main/pg_hba.conf) was set up by this script with this content:

          # “local” is for Unix domain socket connections only
          local all all md5
          # IPv4 local connections:
          host all all 127.0.0.1/32 md5
          # IPv6 local connections:
          host all all ::1/128 md5

          At the moment I still consider that this setting should be the right config as it’s also more secure than the “trust” option. On the other hand openerp’s backup solution doesn’t seem to work with “md5″…

          One possible solution now added to this script:

          # “local” is for Unix domain socket connections only
          local all all trust
          # IPv4 local connections:
          host all all 127.0.0.1/32 md5
          # IPv6 local connections:
          host all all ::1/128 md5

          Now everything is working although I don’t feel comfortable with using “trust”. Should we consider this issue to become a Request For Change (RFC)? I guess that ideally the backup tool should accept “md5″ like the rest of the client does.

          Comment by I. Fernández | March 9, 2010

          • I agree that an RFC is in order.

            The situation gets even worse when the database is installed on another machine. In that case, another host entry must be made in order for the server to contact the database.

            It’s one thing to “trust” from the local machine (that’s bad enough) and another matter entirely to have to “trust” from a remote one.

            Comment by Scott Bowman | March 10, 2010

          • BTW,

            As mentioned earlier in these posts, the “Import module” and “Repository list” menu selections under Administration->Modules Management are not present after the allinone install because the “use_control” module is installed from the extra addons if the user selects to install these.

            So at around line 509 just after the line:
            sudo bzr branch lp:openobject-addons/extra-$STABLETRUNKLINK extra-addons >>$MYDESKTOP/OpenERP-updates.txt 2>&1

            …I added the 2 lines:
            sudo -v
            sudo rm -rf extra-addons/use_control

            This prevents that module from beging installed and those menu selections will appear as they should.

            I think those 2 lines would make a great and easy addition to the installer.

            Comment by Scott Bowman | March 10, 2010

            • I agree with you. The thing is that Jay from OpenERP disagrees with that… He’s suggesting to disable the module instead of deleting it, but I got no joy either…

              https://bugs.launchpad.net/openobject-server/+bug/506662?comments=all

              Comment by I. Fernández | March 10, 2010

            • You got no joy because you cannot disable it after it has already been installed.

              I replaced the line I added in the script to delete the use_control module from the extra-addons directory with:

              sudo sed -i ‘s/\”active\” : True/\”active\” : False/g’ extra-addons/use_control/__terp__.py

              This will result in the module not actually being installed during initial installation without deleting it so that it still appears in the list of installable modules… and the user can still install it later if he so chooses.

              enjoy :)

              Comment by Scott Bowman | March 12, 2010

              • Agreed. I would add that line again in the “updates” section of the script (just in case).

                BTW, do you get the same temporary error I see _only_ when active=False is set up? (see launchpad link shown above, comment #14). Ideally I would like to solve this little “problem” before going any further.

                According to Jay’s comments, they (openerp) accept the request of setting up active=False in their allinone (windows).

                Would you like to see this allinone for ubuntu on launchpad?

                Comment by I. Fernández | March 12, 2010

              • This installer has been updated with:

                sudo sed -i “s/\(\”active\”.*\)\(True,\)/\1False,/g” extra-addons/use_control/__terp__.py

                Comment by I. Fernández | March 13, 2010

              • I don’t get the temporary error.

                In my opinion, your script should certainly be on launchpad.
                I for one am thankful for your work and it would certainly be of major benefit to others.

                Thank you for your contribution to the OpenERP community!

                Comment by Scott Bowman | March 16, 2010

  61. Thank you! It works great…

    For a newbei like me, installation of openerp was confusing. now with a click of a script!

    Cheers from Turkey.

    Comment by Onur Başer | March 16, 2010

  62. Hi everyone
    first of all thank you for this great script installing openerp.

    installed on a 8.04 LTS ubuntu for me
    i have the same problem, database creation is not ok with a lan web client using the web browser adress:http://local_server_ip:8080
    result :
    FFx : http://127.0.0.1:8080/database
    IE : http://local_server_ip:8080/database
    -> error.
    the page is ok when entering the right url xxx/database/create.
    (no problem on the server but with local adress)

    seems to be the same when adding new data using the software..

    adding tools.proxy.base = ‘http://172.20.68.74:8080′ doesn’t work for me..

    the https access doesn’t work for me too after script installation
    hosts file configuration added on my Win7 desktop
    impossible to access the main page using https://domain_adress

    Best regards

    Comment by Igor | March 24, 2010

    • Hi Igor,

      It’s hard to diagnose your problem. Will try to answer you though.

      Please provide detailed info about your specific environment like server virtualization.

      Did your installation finish successfully after downloading all the required libraries and source code?… And about your relative URL (xxx/database/create), well I can’t see it on my demo.

      Also, make sure you have full access from your own server by clicking on your desktop’s icon. Once you gain local access, try again from your LAN. Be aware about the networking stuff being involved.

      Comment by I. Fernández | March 24, 2010

      • hi,
        everything seems ok on my lan
        2 laptops Win32 dhcp adresses
        1 server ubuntu LTS 8.04.3 static IP + pptpd + ufw +samba share + centOS virtualised lan bundled
        the script has been run after a fresh installation

        effectively i had errors during installation in the terminal window:

        /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: ‘console’
        warnings.warn(msg)
        /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: ‘windows’
        warnings.warn(msg)
        /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: ‘copyright’
        warnings.warn(msg)
        File “build/bdist.linux-i686/egg/pyparsing_py3.py”, line 2470
        except ParseException as err:
        ^
        SyntaxError: invalid syntax

        File “/usr/lib/python2.5/site-packages/pyparsing-1.5.2-py2.5.egg/pyparsing_py3.py”, line 2470
        except ParseException as err:
        ^
        SyntaxError: invalid syntax

        ls: ne peut accéder /opt/openerp-spain/l10n_es_ES/: Aucun fichier ou dossier de ce type
        ls: ne peut accéder /opt/openerp-spain/l10n_gl_ES/: Aucun fichier ou dossier de ce type
        ls: ne peut accéder /opt/openerp-spain/l10n_gl_ES/: Aucun fichier ou dossier de ce type

        Best Regards

        Comment by Igor | March 25, 2010

        • Did you pick the openerp-spain branch?? Otherwise, I don’t understand why you see those messages…

          Comment by I. Fernández | March 26, 2010

          • Thanks a lot!

            I encountered:

            [...]
            /usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: ‘extras_required’
            warnings.warn(msg)
            [...]
            update of OpenERP Completed.

            Before that the install process got stuck during the completion of the firewall settings.

            Anyway, this does not seems to affect the rest of the installation.

            Best wishes,

            Steen

            Comment by Steen | March 30, 2010

  63. Hi,

    We would like you to do a consulting job based on this script. Could you please contact me at my email address to discuss this further?

    I’m posting this here as I couldn’t find your contact address anywhere.

    Regards

    Comment by Deepak | March 25, 2010

  64. In your description it says

    ‘Current stable branch is version 5.0.6 (Sep 22th 2009)’ when now it is 5.0.7 . perhaps it should be changed

    Comment by Julian | March 27, 2010

  65. [...] tutorial I’m going to follow is OpenERP Installation: All In One For Ubuntu With Updates, with fingers double and triple [...]

    Pingback by How to make OpenERP work on Ubuntu Server 9.10 | 1 Earth. 6.5 Billion Adventures | April 1, 2010

  66. Hello Fernandez,
    I tired this script on a ubuntu server 9.10 with a kubuntu desktop. I had to jump a few hoops like installing zenity and addind a starter to klaunch but the script went through the process of installing. When it comes to “installation complete” and press accept the installer does not respond. so after about five minutes and many accept clicks I just quite the process. I didn’t get the read me.txt coming up so I suppose all is not well. Restarting the script does nothing but give an update which finishes without flaw. But try to open up the browser with my domainname and IP address supplied by No-IP and updating /etc/host gives me a “caanot access this site” error.

    So much for the history two questions:
    1) How can I completely remove openerp from my system so I can try again?
    2) I had installed this correctly on my 9.10 desktop but forgot to save the readme.txt where can I find it? It was not visable in the openerp-allinone-setup.sh folder.

    Thank you so much for this script and any further help.

    Greets
    Fred

    Comment by Fred | April 5, 2010

    • Hi Fred,

      First of all, kubuntu desktop is not supported. The higher number of supported platforms, the more tests that need to be performed. Ubuntu 9.10 is supported, but ubuntu 8.04 is recommended.

      The major problem of this script is related to networking issues. It will fail if it can’t download all the required packages and libraries. Make sure you are not having networking troubles and the installer will end successfully.

      BTW, it’s recommended to run this script on an isolated ubuntu system after performing an ubuntu fresh install. Perhaps a virtual machine for testing purposes is a good idea. If something fails you only need to remove the virtual machine and start again (this is what I would suggest you in your scenario). Also, a virtual machine can be easily cloned, i.e. a virtual machine that only contains a fresh install of ubuntu desktop or server.

      The OpenERP-README.txt file should be located on your Desktop GUI (ubuntu desktop) or in your home directory (ubuntu server).

      I’ve developed an OpenERP virtual appliance based on Turnkey Linux. It really rocks: it doesn’t depend on internet for performing the installation and everything can be administered by the Web. It’s also update-able through launchpad. Please let me know if you’re interested in a custom OpenERP appliance (price negotiable).

      Comment by I. Fernandez | April 5, 2010

  67. Thanks for this great script, sparing me lots of time to test trunks and reinstalls.

    I got a strange trouble though, when creating a new product,partner,invoice or when logging out of a database, i get redirected to a wrong IP (127.0.0.1) and get a “connection error page” if I replace it by the right ip in the url, i get the right page and the actions I did are saved…

    I already tried to look at openerp-web.cfg and openerp-server.conf but i can’t seem to prevent this redirect error to happend. Never happened with my own (without the use of this script) installations.

    Comment by Mr.Nightmare | April 9, 2010

    • Nevermind, my ctrl+F didnt work well on this page, i found the answer to my trouble in post n°48

      Wishing a nice day to anyone reading this.

      Comment by Mr.Nightmare | April 9, 2010

      • Hi there,

        Thanks for your help and pointing out where the solution is. This new bug only arises when accessing openerp-web on port 8080 instead of going through apache. This script sets up Apache by default, acting as a transparent proxy server in front of openerp-web, port 443. This default config doesn’t reproduce your trouble.

        BTW, following your recommendation I applied the following workaround onto the installer:

        sudo sed -i “s#\#tools.proxy.base = \’http://mydomain.com\’#tools.proxy.base = \’http://$url\’#g” /tmp/openerp-web.cfg

        KR,

        /IF

        Comment by I. Fernández | April 9, 2010

  68. Hi, great job ….
    Vary helpfull, just one question, if I am not wrong this script needs the GUI installed on Server.
    Is it possible to have the same script but for Server without GUI ?
    I am trying to install it on UBUNTU SERVER LTS 8.0.4 that is installed without GUI ( non needed in production environment ).
    Regards
    NC

    Comment by capnino | April 13, 2010

    • Near the top of the script it says

      Ubuntu Server (for advanced users not interested in having a GUI desktop):

      I have used a headless ubuntu server with this script – it works fine

      Comment by Anonymous | April 28, 2010

  69. Thanks for taking the opportunity to talk about “OpenERP installation: All-in-One for Ubuntu with updates (latest revisions from launchpad) « Open Source Consulting”, I benefit from learning about this subject. If possible, as you gain data, please update this blog with new information. Thanks, Hier

    Comment by Hier Schreiben | April 22, 2010

  70. Hi, Fernandez,
    I really appreciated this installation script. It can save a lot of time.
    However, I’d like make the same question as Fred (in comment 66): How can I completely remove openerp from my system?
    Thanks a lot.

    Comment by Rodrigo Nakama | April 28, 2010

  71. I made an installation on Ubuntu 10.04
    Seems to work but because I’m not an export I will find problems lather on:-)
    Made a testreport an this was ok.
    The script i changed only at the beginning 10.04 instead of 9.10

    Comment by Daniel | May 1, 2010

    • Hi daniel,
      where did you change 9.10 to 10.04? All instances or just:
      if [ -n "$OSREQUIREMENT" ];
      then
      # Ubuntu 8.04, python 2.5
      PSQLRELEASE=8.3
      PYTHONRELEASE=python2.5
      UBUNTURELEASE=8.04
      INSTALLPATH=/usr
      SITEPACKAGESPATH=$INSTALLPATH/lib/$PYTHONRELEASE/site-packages
      OPENERPSERVERPATH=$SITEPACKAGESPATH/openerp-server
      ADDONSPATH=$OPENERPSERVERPATH/addons/
      OPENERPSERVERWRONGPATH=/nobugnoworkaround
      else
      # Ubuntu 9.10, python 2.6
      PSQLRELEASE=8.4
      PYTHONRELEASE=python2.6
      UBUNTURELEASE=9.10
      INSTALLPATH=/usr/local
      SITEPACKAGESPATH=$INSTALLPATH/lib/$PYTHONRELEASE/dist-packages
      OPENERPSERVERPATH=$SITEPACKAGESPATH/openerp-server
      ADDONSPATH=$OPENERPSERVERPATH/addons/
      OPENERPSERVERWRONGPATH=$INSTALLPATH/lib/$PYTHONRELEASE/site-packages/openerp-server
      fi

      Thanky you for taking the plunge, and as you can tell I am a noob with scripts :))

      Comment by Fred | May 3, 2010

      • sorry for the late answer, I changed only at the first place where 8.x or 9.x is switched. I changed 9.x to 10

        Comment by Anonymous | May 30, 2010

  72. I’ve tried fresh installs of trunk with this script many times but have never got a properly working vers6 system working. I find the webclient still says 5.08, and looks just like the vers 5.0 one.

    Is it me or has anyone got trunk working with this script ?

    Comment by Julian | May 11, 2010

  73. I changed the top bit to 10.4 (based on 9.10 data) and the upgrade process ran smoothly.
    Thank again fro a wonderful script.

    Comment by interfasys | May 14, 2010

  74. I’m pretty active in the gaming community, including press events and going to do talks with people about the use of 2D art in gaming.

    Thumbs up to the Admin, I learned alot from reading for a long time, thanks guys.. Wonderful forum and keep the good work.

    Comment by Azuhastur | May 17, 2010

  75. I can’t seem to get the install right for Ubuntu 10.04, i change the line

    OSREQUIREMENT2=`awk ‘/Ubuntu 9.10/ {print $0}’ /etc/issue`

    to

    OSREQUIREMENT2=`awk ‘/Ubuntu 10.04/ {print $0}’ /etc/issue`

    and the script seems to run smoothly, but the “downloading bazaar” never ends…

    Any way to get past this ?

    Comment by Julio.Vasquez | May 17, 2010

  76. Okay, used the script to install on virgin 10.04 (changed lineOSREQUIREMENT2=`awk ‘/Ubuntu 9.10/ {print $0}’ /etc/issue`

    to

    OSREQUIREMENT2=`awk ‘/Ubuntu 10.04/ {print $0}’ /etc/issue)

    install went fine.

    I am using No-IP as a DNS service provider and /etc/host contains the correct path.

    When launching from browser (FF) I get:
    Service Temporarily Unavailable

    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Apache/2.2.14 (Ubuntu) Server at xysss.xys.org Port 443

    Any Ideas please??

    Comment by Fred | May 20, 2010

    • The latest script works just fine now on a fresh server install.:))

      Thank you!!

      Comment by Fred | May 25, 2010

      • Hi, I’ve the same error (503), but now works.

        Just run the script again, and choose update. And ready.
        If don’t work try again, is a problem in repositories.

        I hope that this help you.

        Comment by Daniel | May 26, 2010

  77. [...] All in One download is available from http://openerpappliance.com/2009/09/15/openerp-all-in-one-installer-update-for-dummies/ . Previously this website had another name and I had used for V5 and it had been excellent – [...]

    Pingback by OpenERP 6 All in One : Open For Small Business | July 8, 2010

  78. [...] Skip to content [...]

    Pingback by Xulen | Julián Fernández | blog | July 24, 2012


Sorry, the comment form is closed at this time.

Follow

Get every new post delivered to your Inbox.

Join 31 other followers

%d bloggers like this: