欢迎。我有个问题。我在Ubuntu 18中安装了UDO 11、12和13,Odo 11运行良好,是第一个安装它的,但Odo 12和13在运行文件时遇到了问题。我将审查与三份副本有关的内容。
我的ubuntu用户是"mamado"并在posgresql中创建相同名称的用户,并将密码设置为"123">
odoo11工作写入命令
./odoo-bin --addons-path=addons,custom_addons
工作
odoo12文件配置是odoo_12.conf内容是
[options]
addons_path = /opt/odoo/odoo-12.0/addons
admin_passwd = $pbkdf2-sha512$25000$H2OslZLyHmMMIWQM4dw7Zw$oPz36FY95KMkRALFKwHdJsICkGEaxjvikGr8F6yVgqQR8jd2RwMfmAnXziMwMtLTCXkguSn8WcrEUKjvhFJKSg
csv_internal_sep = ,
data_dir = /home/mamado/.local/share/Odoo
db_host = localhost
db_maxconn = 64
db_name = False
db_password = False
db_port = 5432
db_sslmode = prefer
db_template = template1
db_user = mamado
dbfilter =
demo = {}
email_from = False
geoip_database = /usr/share/GeoIP/GeoLite2-City.mmdb
http_enable = True
http_interface =
http_port = 8072
import_partial =
limit_memory_hard = 2684354560
limit_memory_soft = 2147483648
limit_request = 8192
limit_time_cpu = 60
limit_time_real = 120
limit_time_real_cron = -1
list_db = True
log_db = False
log_db_level = warning
log_handler = :INFO
log_level = info
logfile = /var/log/odoo12/odoo_12.log
logrotate = False
longpolling_port = 8072
max_cron_threads = 2
osv_memory_age_limit = 1.0
osv_memory_count_limit = False
pg_path = None
pidfile = False
proxy_mode = False
reportgz = False
server_wide_modules = web
smtp_password = False
smtp_port = 25
smtp_server = localhost
smtp_ssl = False
smtp_user = False
syslog = False
test_commit = False
test_enable = False
test_file = False
test_report_directory = False
test_tags = None
translate_modules = ['all']
unaccent = False
without_demo = False
workers = 0
#############################
写入终端命令为
./odoo-bin --addons-path=addons --xmlrpc-port=8092 --config=/etc/odoo_12.conf
p>odoo13文件配置是odoo13.conf内容是[options] ; This is the password that allows database operations: ;admin_passwd = PASSWORD db_host = 127.0.0.1 db_port = 5432 db_user = mamado db_password = 123 addons_path = /opt/odoo/odoo-13.0/addons http_port = 8092 ;Log Settings logfile = /var/log/odoo13/odoo_13.log ;log_level = error ####################################
写入终端命令为
./odoo-bin --addons-path=addons --xmlrpc-port=8092 --config=/etc/odoo13.conf
odoo 13的错误是
p>在浏览器中都显示内部服务器错误
建议:1-您没有为odoo-12配置提供db_password,而是将其123放在odoo-11配置中。
2-尝试在隐姓埋名窗口或其他浏览器中打开odoo-12。
3-如果仍然不起作用,请尝试使用最新版本的postgres运行odoo-12。