11
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Odoo8プラグイン全部入りイメージ作った(896.4 MB)

Last updated at Posted at 2014-10-25

概要

covetel/odoo8をカスタマイズした。

起動方法
sudo docker run -it -p 8069:8069 tukiyo3/odoo8 /odoostart.sh

作ろうと思ったきっかけ

  • 初回のodooの起動はできるが、2回目移行の起動が失敗!?
  • プラグイン全部のインストールが30分くらいかかる。-> つらい
  • イメージ多すぎなので自分用が欲しかった。

元となった記事

dockerイメージ多すぎたのでとりあえずcovetel/odoo8を使ってみた。

sudo docker run -it -p 8069:8069 covetel/odoo8 /bin/bash
/etc/init.d/postgresql start
mkdir /home/odoo
chown odoo:odoo /home/odoo
su - odoo -s /bin/bash
openerp-server -c /etc/odoo/openerp-server.conf

http://url:8069/ にブラウザでアクセス。

installer.png

マスターパスワードはデフォルトでadminなのであとで変えとく。

2.png

インストール1つ5分くらいかかる

3.png

コンテナ再起動後odooがInternal Server Errorになる!?

メモ

GPG error: http://nightly.odoo.com ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DEF2A2198183CBB5

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DEF2A2198183CBB5

wkhtmltopdf 0.12を入れる

参考: ODOO wkhtmltopdf

apt install wkhtmltopdf wget fonts-takao
apt-get remove wkhtmltopdf
wget http://sourceforge.net/projects/wkhtmltopdf/files/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
dpkg -i wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
apt-get -f install
dpkg -i wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
11
9
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?