Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3625 Lượt xem

Install Odoo 17 on windows server 2012 R2 ,  process is as follows

1. Download Odoo 17 latest

2. Run installation exe

3 select server and database

4 finish install , then download PostgreSQL 

5 finish then start odoo


but when open localhost:8069 can not open website

odoo & PostgreSQL sevice is running



#### odoo.log

2024-07-05 02:16:34,766 14444 INFO ? odoo: Odoo version 17.0-20240628 2024-07-05 02:16:34,766 14444 INFO ? odoo: Using configuration file at C:\Program Files\Odoo 17.0.20240628\server\odoo.conf 2024-07-05 02:16:34,766 14444 INFO ? odoo: addons paths: ['C:\\Program Files\\Odoo 17.0.20240628\\server\\odoo\\addons', 'c:\\program files\\odoo 17.0.20240628\\sessions\\addons\\17.0', 'c:\\program files\\odoo 17.0.20240628\\server\\odoo\\addons'] 2024-07-05 02:16:34,766 14444 INFO ? odoo: database: openpg@localhost:5432 2024-07-05 02:16:36,071 14444 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at wkhtmltopdf.exe 2024-07-05 02:16:38,124 14444 WARNING ? py.warnings: C:\Program Files\Odoo 17.0.20240628\python\lib\site-packages\docutils\utils\smartquotes.py:639: DeprecationWarning: invalid escape sequence '\[' File "C:\Program Files\Odoo 17.0.20240628\server\odoo-bin", line 8, in odoo.cli.main() File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\command.py", line 66, in main o.run(args) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\server.py", line 179, in run main(args) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\server.py", line 172, in main rc = odoo.service.server.start(preload=preload, stop=stop) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\service\server.py", line 1359, in start load_server_wide_modules() File "C:\Program Files\Odoo 17.0.20240628\server\odoo\service\server.py", line 1262, in load_server_wide_modules odoo.modules.module.load_openerp_module(m) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\modules\module.py", line 395, in load_openerp_module __import__(qualname) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\base\__init__.py", line 5, in from . import models File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\base\models\__init__.py", line 28, in from . import ir_module File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\base\models\ir_module.py", line 20, in from docutils.core import publish_string File "C:\Program Files\Odoo 17.0.20240628\python\lib\site-packages\docutils\core.py", line 21, in from docutils import frontend, io, utils, readers, writers File "C:\Program Files\Odoo 17.0.20240628\python\lib\site-packages\docutils\readers\__init__.py", line 15, in from docutils.transforms import universal File "C:\Program Files\Odoo 17.0.20240628\python\lib\site-packages\docutils\transforms\universal.py", line 24, in from docutils.utils import smartquotes File "C:\Program Files\Odoo 17.0.20240628\python\lib\warnings.py", line 109, in _showwarnmsg sw(msg.message, msg.category, msg.filename, msg.lineno, File "C:\Program Files\Odoo 17.0.20240628\server\odoo\netsvc.py", line 288, in showwarning_with_traceback for frame in traceback.extract_stack(): 2024-07-05 02:16:39,162 14444 WARNING ? py.warnings: C:\Program Files\Odoo 17.0.20240628\python\lib\site-packages\vobject\base.py:736: DeprecationWarning: invalid escape sequence '\-' File "C:\Program Files\Odoo 17.0.20240628\server\odoo-bin", line 8, in odoo.cli.main() File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\command.py", line 66, in main o.run(args) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\server.py", line 179, in run main(args) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\server.py", line 172, in main rc = odoo.service.server.start(preload=preload, stop=stop) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\service\server.py", line 1359, in start load_server_wide_modules() File "C:\Program Files\Odoo 17.0.20240628\server\odoo\service\server.py", line 1262, in load_server_wide_modules odoo.modules.module.load_openerp_module(m) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\modules\module.py", line 395, in load_openerp_module __import__(qualname) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\web\__init__.py", line 5, in from . import models File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\web\models\__init__.py", line 11, in from . import res_partner File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\web\models\res_partner.py", line 12, in import vobject File "C:\Program Files\Odoo 17.0.20240628\python\lib\site-packages\vobject\__init__.py", line 79, in from .base import newFromBehavior, readOne, readComponents File "C:\Program Files\Odoo 17.0.20240628\python\lib\warnings.py", line 109, in _showwarnmsg sw(msg.message, msg.category, msg.filename, msg.lineno, File "C:\Program Files\Odoo 17.0.20240628\server\odoo\netsvc.py", line 288, in showwarning_with_traceback for frame in traceback.extract_stack(): 2024-07-05 02:16:39,178 14444 WARNING ? py.warnings: C:\Program Files\Odoo 17.0.20240628\python\lib\site-packages\vobject\base.py:1219: DeprecationWarning: invalid escape sequence '\;' File "C:\Program Files\Odoo 17.0.20240628\server\odoo-bin", line 8, in odoo.cli.main() File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\command.py", line 66, in main o.run(args) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\server.py", line 179, in run main(args) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\server.py", line 172, in main rc = odoo.service.server.start(preload=preload, stop=stop) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\service\server.py", line 1359, in start load_server_wide_modules() File "C:\Program Files\Odoo 17.0.20240628\server\odoo\service\server.py", line 1262, in load_server_wide_modules odoo.modules.module.load_openerp_module(m) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\modules\module.py", line 395, in load_openerp_module __import__(qualname) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\web\__init__.py", line 5, in from . import models File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\web\models\__init__.py", line 11, in from . import res_partner File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\web\models\res_partner.py", line 12, in import vobject File "C:\Program Files\Odoo 17.0.20240628\python\lib\site-packages\vobject\__init__.py", line 79, in from .base import newFromBehavior, readOne, readComponents File "C:\Program Files\Odoo 17.0.20240628\python\lib\warnings.py", line 109, in _showwarnmsg sw(msg.message, msg.category, msg.filename, msg.lineno, File "C:\Program Files\Odoo 17.0.20240628\server\odoo\netsvc.py", line 288, in showwarning_with_traceback for frame in traceback.extract_stack(): 2024-07-05 02:16:39,178 14444 WARNING ? py.warnings: C:\Program Files\Odoo 17.0.20240628\python\lib\site-packages\vobject\base.py:1219: DeprecationWarning: invalid escape sequence '\,' File "C:\Program Files\Odoo 17.0.20240628\server\odoo-bin", line 8, in odoo.cli.main() File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\command.py", line 66, in main o.run(args) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\server.py", line 179, in run main(args) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\cli\server.py", line 172, in main rc = odoo.service.server.start(preload=preload, stop=stop) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\service\server.py", line 1359, in start load_server_wide_modules() File "C:\Program Files\Odoo 17.0.20240628\server\odoo\service\server.py", line 1262, in load_server_wide_modules odoo.modules.module.load_openerp_module(m) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\modules\module.py", line 395, in load_openerp_module __import__(qualname) File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\web\__init__.py", line 5, in from . import models File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\web\models\__init__.py", line 11, in from . import res_partner File "C:\Program Files\Odoo 17.0.20240628\server\odoo\addons\web\models\res_partner.py", line 12, in import vobject File "C:\Program Files\Odoo 17.0.20240628\python\lib\site-packages\vobject\__init__.py", line 79, in from .base import newFromBehavior, readOne, readComponents File "C:\Program Files\Odoo 17.0.20240628\python\lib\warnings.py", line 109, in _showwarnmsg sw(msg.message, msg.category, msg.filename, msg.lineno, File "C:\Program Files\Odoo 17.0.20240628\server\odoo\netsvc.py", line 288, in showwarning_with_traceback for frame in traceback.extract_stack(): 2024-07-05 02:16:39,272 14444 INFO ? odoo.service.server: Initiating shutdown 2024-07-05 02:16:39,272 14444 INFO ? odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown. 2024-07-05 02:17:09,256 15036 INFO ? odoo: Odoo version 17.0-20240628 2024-07-05 02:17:09,256 15036 INFO ? odoo: Using configuration file at C:\Program Files\Odoo 17.0.20240628\server\odoo.conf 2024-07-05 02:17:09,256 15036 INFO ? odoo: addons paths: ['C:\\Program Files\\Odoo 17.0.20240628\\server\\odoo\\addons', 'c:\\program files\\odoo 17.0.20240628\\sessions\\addons\\17.0', 'c:\\program files\\odoo 17.0.20240628\\server\\odoo\\addons'] 2024-07-05 02:17:09,256 15036 INFO ? odoo: database: openpg@localhost:5432 2024-07-05 02:17:09,631 15036 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at C:\Program Files\Odoo 17.0.20240628\thirdparty\wkhtmltopdf.exe 2024-07-05 02:17:10,037 15036 INFO ? odoo.service.server: HTTP service (werkzeug) running on WIN-4PD0H04OCT9:8069 2024-07-05 02:17:12,350 4172 INFO ? odoo: Odoo version 17.0-20240628 2024-07-05 02:17:12,350 4172 INFO ? odoo: Using configuration file at C:\Program Files\Odoo 17.0.20240628\server\odoo.conf 2024-07-05 02:17:12,350 4172 INFO ? odoo: addons paths: ['C:\\Program Files\\Odoo 17.0.20240628\\server\\odoo\\addons', 'c:\\program files\\odoo 17.0.20240628\\sessions\\addons\\17.0', 'c:\\program files\\odoo 17.0.20240628\\server\\odoo\\addons']


### odoo.conf 

this file has no changes


### odoo folder


- nssm

- PostgreSql

- python

- server

- serssions

- thirdparty

- vcredist








Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

I added some information, and has run pip install requirements.txt


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,
Could you ensure all the requirements has been installed, as a first point, try locating the log file and see if there is any sort of information.

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 5 25
2033
3
thg 7 25
2156
1
thg 6 25
2675
2
thg 5 25
2141
1
thg 5 25
1330