You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed kong by download the package "kong-community-edition-0.14.1-1.noarch" and then run "yum install" command. But it can't work.
Steps To Reproduce
I just run " ./kong migrations up"
Response an error "/usr/local/share/lua/5.1/kong/tools/utils.lua:576: /usr/local/share/lua/5.1/kong/dao/migrations/helpers.lua:108: attempt to index field 'consistencies' (a nil value)"
stack traceback:
[C]: in function 'error'
/usr/local/share/lua/5.1/kong/tools/utils.lua:576: in function 'load_module_if_exists'
/usr/local/share/lua/5.1/kong/dao/factory.lua:338: in function 'migrations_modules'
/usr/local/share/lua/5.1/kong/dao/factory.lua:516: in function 'run_migrations'
/usr/local/share/lua/5.1/kong/cmd/migrations.lua:37: in function 'cmd_exec'
/usr/local/share/lua/5.1/kong/cmd/init.lua:87: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:87>
[C]: in function 'xpcall'
/usr/local/share/lua/5.1/kong/cmd/init.lua:87: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:44>
/usr/local/bin/kong:7: in function 'file_gen'
init_worker_by_lua:48: in function <init_worker_by_lua:46>
[C]: in function 'xpcall'
init_worker_by_lua:55: in function <init_worker_by_lua:53>
I installed kong-community-edition-0.14.1.xenial.all.deb and Postgresql 9.5, and when I run "kong migrations up" I get no output at all. I try "kong start" and no output at all.
I check the exit code and it's "132".
I'm guessing the Lua isn't even working on Ubuntu 16.04...
Summary
I installed kong by download the package "kong-community-edition-0.14.1-1.noarch" and then run "yum install" command. But it can't work.
Steps To Reproduce
stack traceback:
[C]: in function 'error'
/usr/local/share/lua/5.1/kong/tools/utils.lua:576: in function 'load_module_if_exists'
/usr/local/share/lua/5.1/kong/dao/factory.lua:338: in function 'migrations_modules'
/usr/local/share/lua/5.1/kong/dao/factory.lua:516: in function 'run_migrations'
/usr/local/share/lua/5.1/kong/cmd/migrations.lua:37: in function 'cmd_exec'
/usr/local/share/lua/5.1/kong/cmd/init.lua:87: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:87>
[C]: in function 'xpcall'
/usr/local/share/lua/5.1/kong/cmd/init.lua:87: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:44>
/usr/local/bin/kong:7: in function 'file_gen'
init_worker_by_lua:48: in function <init_worker_by_lua:46>
[C]: in function 'xpcall'
init_worker_by_lua:55: in function <init_worker_by_lua:53>
Additional Details & Logs
Kong version (
$ 0.14
)Kong debug-level startup logs (
$ kong start --vv
)2018/09/19 17:32:31 [verbose] Kong: 0.14.1
2018/09/19 17:32:31 [debug] ngx_lua: 10013
2018/09/19 17:32:31 [debug] nginx: 1013006
2018/09/19 17:32:31 [debug] Lua: LuaJIT 2.1.0-beta3
2018/09/19 17:32:31 [verbose] reading config file at /etc/kong/kong.conf
2018/09/19 17:32:31 [debug] reading environment variables
2018/09/19 17:32:31 [debug] admin_access_log = "logs/admin_access.log"
2018/09/19 17:32:31 [debug] admin_error_log = "logs/error.log"
2018/09/19 17:32:31 [debug] admin_listen = {"127.0.0.1:8001","127.0.0.1:8444 ssl"}
2018/09/19 17:32:31 [debug] anonymous_reports = true
2018/09/19 17:32:31 [debug] cassandra_consistency = "ONE"
2018/09/19 17:32:31 [debug] cassandra_contact_points = {"127.0.0.1"}
2018/09/19 17:32:31 [debug] cassandra_data_centers = {"dc1:2","dc2:3"}
2018/09/19 17:32:31 [debug] cassandra_keyspace = "kong"
2018/09/19 17:32:31 [debug] cassandra_lb_policy = "RoundRobin"
2018/09/19 17:32:31 [debug] cassandra_port = 9042
2018/09/19 17:32:31 [debug] cassandra_repl_factor = 1
2018/09/19 17:32:31 [debug] cassandra_repl_strategy = "SimpleStrategy"
2018/09/19 17:32:31 [debug] cassandra_schema_consensus_timeout = 10000
2018/09/19 17:32:31 [debug] cassandra_ssl = false
2018/09/19 17:32:31 [debug] cassandra_ssl_verify = false
2018/09/19 17:32:31 [debug] cassandra_timeout = 5000
2018/09/19 17:32:31 [debug] cassandra_username = "kong"
2018/09/19 17:32:31 [debug] client_body_buffer_size = "8k"
2018/09/19 17:32:31 [debug] client_max_body_size = "0"
2018/09/19 17:32:31 [debug] client_ssl = false
2018/09/19 17:32:31 [debug] custom_plugins = {}
2018/09/19 17:32:31 [debug] database = "postgres"
2018/09/19 17:32:31 [debug] db_cache_ttl = 0
2018/09/19 17:32:31 [debug] db_resurrect_ttl = 30
2018/09/19 17:32:31 [debug] db_update_frequency = 5
2018/09/19 17:32:31 [debug] db_update_propagation = 0
2018/09/19 17:32:31 [debug] dns_error_ttl = 1
2018/09/19 17:32:31 [debug] dns_hostsfile = "/etc/hosts"
2018/09/19 17:32:31 [debug] dns_no_sync = false
2018/09/19 17:32:31 [debug] dns_not_found_ttl = 30
2018/09/19 17:32:31 [debug] dns_order = {"LAST","SRV","A","CNAME"}
2018/09/19 17:32:31 [debug] dns_resolver = {}
2018/09/19 17:32:31 [debug] dns_stale_ttl = 4
2018/09/19 17:32:31 [debug] error_default_type = "text/plain"
2018/09/19 17:32:31 [debug] headers = {"server_tokens","latency_tokens"}
2018/09/19 17:32:31 [debug] log_level = "notice"
2018/09/19 17:32:31 [debug] lua_package_cpath = ""
2018/09/19 17:32:31 [debug] lua_package_path = "./?.lua;./?/init.lua;"
2018/09/19 17:32:31 [debug] lua_socket_pool_size = 30
2018/09/19 17:32:31 [debug] lua_ssl_verify_depth = 1
2018/09/19 17:32:31 [debug] mem_cache_size = "128m"
2018/09/19 17:32:31 [debug] nginx_admin_directives = {}
2018/09/19 17:32:31 [debug] nginx_daemon = "on"
2018/09/19 17:32:31 [debug] nginx_http_directives = {}
2018/09/19 17:32:31 [debug] nginx_optimizations = true
2018/09/19 17:32:31 [debug] nginx_proxy_directives = {}
2018/09/19 17:32:31 [debug] nginx_user = "nobody nobody"
2018/09/19 17:32:31 [debug] nginx_worker_processes = "auto"
2018/09/19 17:32:31 [debug] pg_database = "kong"
2018/09/19 17:32:31 [debug] pg_host = "127.0.0.1"
2018/09/19 17:32:31 [debug] pg_port = 5432
2018/09/19 17:32:31 [debug] pg_ssl = false
2018/09/19 17:32:31 [debug] pg_ssl_verify = false
2018/09/19 17:32:31 [debug] pg_user = "kong"
2018/09/19 17:32:31 [debug] plugins = {"bundled"}
2018/09/19 17:32:31 [debug] prefix = "/usr/local/kong/"
2018/09/19 17:32:31 [debug] proxy_access_log = "logs/access.log"
2018/09/19 17:32:31 [debug] proxy_error_log = "logs/error.log"
2018/09/19 17:32:31 [debug] proxy_listen = {"0.0.0.0:8000","0.0.0.0:8443 ssl"}
2018/09/19 17:32:31 [debug] real_ip_header = "X-Real-IP"
2018/09/19 17:32:31 [debug] real_ip_recursive = "off"
2018/09/19 17:32:31 [debug] ssl_cipher_suite = "modern"
2018/09/19 17:32:31 [debug] ssl_ciphers = "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256"
2018/09/19 17:32:31 [debug] trusted_ips = {}
2018/09/19 17:32:31 [debug] upstream_keepalive = 60
2018/09/19 17:32:31 [verbose] prefix in use: /usr/local/kong
2018/09/19 17:32:31 [verbose] running datastore migrations
Operating system
CENTOS 7
The text was updated successfully, but these errors were encountered: