I need to install new modules in Odoo 8
so I fetched the openerp-server.conf which is located in odoo/debian/openerp-server.conf.
Here's its content:
[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons
I went to addons_path through my terminal, and found out that there is no such file or directory /openerp/addons inside dist-packages.
Is my insallation of Odoo is corrupted?.. Should I reinstall it?
If so, how do I clean uninstall Odoo 8 from my Ubuntu 15.04
Nightly repositories
To benefit from the best experience of our nightlies, you should use our repositories. They are available for Debian (and similar distributions like Ubuntu) and RedHat distributions (esp. Centos and Fedora). Using an Odoo nightly repository, you will be able to install and upgrade Odoo with the help of your traditional package manager (apt or yum).
If you plan to run the PostgreSQL cluster on the same host than the Odoo one, install PostgreSQL before. This way, Odoo will be able to create and configure its user.
If you want to use a nightly repository for the 7.0 version, the name of the package is openerp.
Setup of the Debian nightly repository details
wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
echo "deb http://nightly.odoo.com/8.0/nightly/deb/ ./" >> /etc/apt/sources.list
apt-get update && apt-get install odoo
Setup of the RedHat nightly repository details
yum-config-manager --add-repo=https://nightly.odoo.com/8.0/nightly/rpm/odoo.repo
yum update && yum install odoo
if Do that why to install odoo then default path of the odoo is
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons
and you clone into the github so run your like that
openerp: addons paths: [u'/home/xyz/odoo/master-test/openerp/addons', u'/home/xyz/odoo/master-test/addons']
so no need to uninstall odoo and keep run the ODOO.
Thank you may be this is help full you.
Your addons path in ubuntu is /opt/odoo/addons u have to change it in configuration file.Here is a link on how to install odoo in ubuntu
Related
at the moment we have a few odoo databases for one instance of odoo running with one of them as a test database. Since it can be problematic to upload a newer version of a module to test on the test database while it's already installed on another database it seems that we have to use at least another instance of odoo for our test databases. Is there maybe another solution? We are working with odoo community 14. What's your approach for testing?
1st solution : how about installing another instance of odoo community ?
2nd solution : you could install Odoo.sh Enterprise, so that you get multiple Git-"Branches" running with several database copies.
3rd solution : You could install several virtual environnment on your local computer (see : Odoo Cookboook).
step 1 : install python 3.8 + and virtualenv , postgresql and pgAdmin
https://www.postgresql.org/download/macosx/
step 2 : download odoo source file :
https://www.odoo.com/fr_FR/page/download
step 3 : create 2 virtualenv using this command to use it for odoo
virtualenv -p python3.8 Odoo13-virtualenv
virtualenv -p python3.8 Odoo13bis-virtualenv
which create a python3.8 virtualenv for your odoo installation.
Let's install all odoo requirements in your virtualenv. Open the virtualenv folder from your terminal and activate you virtualenv :
source bin/activate
step 4 : create a src folder for odoo :
mkdir src
then unzip the odoo source.zip file you downloaded from odoo website , in the src folder , then install all the requirements for odoo from the requirements.txt file :
cd src
git clone https://github.com/odoo/odoo.git -b 14.0 --depth=1
pip3 install -r requirements.txt
Run the setup.py file to install your odoo virtualenv:
cd src/odoo
python setup.py install
sudo pip3 install --user -U psycopg2==2.8
step 5 :install pgAdmin, connect it, and create a new database : db14
step 6 : Start your odoo virtualenv:
odoo --addons-path=addons --database=db14 --db_host=127.0.0.1 -u base
I've tried to remove php-common-7.2 but couldn't find where it located.
Problem: package php-pecl-igbinary-3.2.2-1.el8.remi.7.2.x86_64 requires php(api) = 20170718-64, but none of the providers can be installed
- package php-pecl-igbinary-3.2.2-1.el8.remi.7.2.x86_64 requires php(zend-abi) = 20170718-64, but none of the providers can be installed
- cannot install both php-common-7.2.34-3.el8.remi.x86_64 and php-common-7.4.16-1.el8.remi.x86_64
- cannot install both php-common-7.2.34-4.el8.remi.x86_64 and php-common-7.4.16-1.el8.remi.x86_64
- cannot install the best update candidate for package php-pecl-igbinary-3.2.1-1.el8.remi.7.4.x86_64
- problem with installed package php-common-7.4.16-1.el8.remi.x86_64
- package php-common-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64 is filtered out by modular filtering
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
My server configuration is
NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
Apache Web Server
php7.4-cli
using Webmin & virtaulmin`
You are trying to install igbinary extension for PHP 7.2 with PHP 7.4. This cannot work.
For a proper configuration, please follow the Wizard instructions
And not enough information for more help:
rpm -qa php\*
dnf repolist
dnf module list PHP
I'm trying to install odoo 11 in fedora 32 but I get these errors:
Problema: conflicting requests
nothing provides pychart needed by odoo-11.0.post20191021-1.noarch
nothing provides pyparsing needed by odoo-11.0.post20191021-1.noarch
nothing provides libxslt-python needed by odoo-11.0.post20191021-1.noarch
The steps I've followed are:
Install postgresql & intiate the service
$ sudo yum localinstall https://nightly.odoo.com/11.0/nightly/rpm/odoo_11.0.20191021.noarch.rpm
It seems there are python dependencies that can't be installed but I don't know how can I install them.
Do you have any idea how can I fix this problem? Many thanks!
If the installation packages is not working for you, you can always run Odoo server from the source.
Create a virtual environment for your Odoo app, let's call it venv11.
Get Odoo source code:
git clone https://github.com/odoo/odoo.git --depth 1 -b 11.0
Activate virtual environment. Install Python3 packages using pip.
pip install -r odoo/requirements.txt
Make sure you have installed the dev libraries needed for some of the pip packages that needs to be compiled, you will face xxxx.h not found error, you have search for that library and install using your distro package manager.
After your pip package installation is complete you can generate config file for your Odoo server using following command
python odoo/odoo-bin -c odoo.conf --save --stop-after-init
Edit the config file to add some important configuration, for example, db_user, db_password, http_port.
Now that you have added DB connection details, your Odoo application can now connect with your Postgresql Database and you can start using Odoo application by creating new database. If you don't have Postgresql information, you can just switch to postgres user and create new user with super user access.
sudo su - postgres
psql
create user `username` with superuser;
alter user `username` with encrypted password 'password';
and add those information to the config file. Now you can run Odoo server using
python odoo/odoo-bin -c odoo.conf
Head back to browser, browse 127.0.0.1:8069 8069 is the default port but you can change it from the config file. The database creation web interface will appear and you can start using Odoo application.
** Note: run python commands in virtual environment activated as that will isolate pip packages.
I install laravel 5 and then install packages neede.
I install php-pdo and some other but now i cant install pdo-mysql and laravel return error.
PDOException in PDOConnection.php line 47: could not find driver
I am use Centos 7 and PHP 5-6-29.
Check which package is installed (which provider) and provides the stack, then use the same namespace.
Webtatic uses php56w-*
IUS uses php56u-*
remi-safe (SCL packages) use php56-php-*
remi-php56 simply use php-*
other providers can use something else
As you need pdo_mysql driver, simply
yum install <namespace>-pdo_mysql
(using the ext name, yum will find the correct package name which provides this ext).
Also check you don't have any "exclude" lines in the yum configuration (such as the ones provided in altered cpanel distributions)
Try using this
yum install php-mysql
systemctl restart httpd
You can search package like
yum search php
Pick the ones you need and install them like this:
yum -y install php-mysqlnd php-pdo
In the next step I will install some common PHP modules that are required by CMS Systems like Wordpress, Joomla, and Drupal:
yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-soap curl curl-devel
https://webtatic.com/packages/php56/
I believe the driver is php56w-mysql so yum install php56w-mysql should do the job.
We are trying to install Ambari server following the manual Install Ambari 2.2.1 from Public Repositories.
When we tried to install the Ambari server with the command yum install ambari-server it returns that it is nothing to do.
The ambari.repo is:
#VERSION_NUMBER=2.2.1.0-161
[Updates-ambari-2.2.1.0]
name=ambari-2.2.1.0 - Updates
baseurl=http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
Someone can help us?
The problem was that the OS installed was of 32 bits and it is obligatory install the 64 bits OS.
Just clear the yum cache and then try again it will be solved your problem.
yum clean all
yum install ambari-server
Note: Make sure you kept the ambari.repo file in /etc/yum.repos.d/ location
This happens in case:
Package (ambari-server) is already installed
Repolist can't find the package (ambari-server).
First run yum list all if it's not listing package then run
yum clean all
Again run yum list all
If it's not listing your package you need to add .repo file for the same in /etc/yum.repos.d