Import from Wordpress fails

Hello.

My new installation Ghost in the docker

  • Version 3.2.0
  • Environment production
  • Database sqlite3
  • Mail Direct

I’m trying to import a not big wordpress blog (json = 5mb). After about a minute of waiting, I get the error “Import failed due to an unknown error. Check the Web Inspector console and network tabs for errors.”

Last record from Ghost logs:

Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?

----------------------------------------

TimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
    at Bluebird.try.then.catch (/var/lib/ghost/versions/3.2.0/node_modules/knex/lib/client.js:318:17)
    at tryCatcher (/var/lib/ghost/versions/3.2.0/node_modules/knex/node_modules/bluebird/js/release/util.js:16:23)
    at /var/lib/ghost/versions/3.2.0/node_modules/knex/node_modules/bluebird/js/release/catch_filter.js:17:41
    at tryCatcher (/var/lib/ghost/versions/3.2.0/node_modules/knex/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/var/lib/ghost/versions/3.2.0/node_modules/knex/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/var/lib/ghost/versions/3.2.0/node_modules/knex/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/var/lib/ghost/versions/3.2.0/node_modules/knex/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/var/lib/ghost/versions/3.2.0/node_modules/knex/node_modules/bluebird/js/release/promise.js:725:18)
    at _drainQueueStep (/var/lib/ghost/versions/3.2.0/node_modules/knex/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/var/lib/ghost/versions/3.2.0/node_modules/knex/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/var/lib/ghost/versions/3.2.0/node_modules/knex/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/ghost/versions/3.2.0/node_modules/knex/node_modules/bluebird/js/release/async.js:15:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
    at process.topLevelDomainCallback (domain.js:126:23)

[2020-01-13 14:14:29] WARN {{#get}} helper took 60173ms to complete

{{#get}} helper took 60173ms to complete

Error ID:
    03102320-360f-11ea-8cd0-f72188f00c1f

Error Code:
    SLOW_GET_HELPER

Details:
    api:        v2.[object Object].browse
    apiOptions:
      limit: all

Front end - Nginx with config:

server {
	listen %ip%:%nginx_port%;	
	server_name %domain_idn% %alias_idn%;

	access_log /usr/local/apache/domlogs/%domain%.bytes bytes;
	access_log /usr/local/apache/domlogs/%domain%.log combined;
	error_log /usr/local/apache/domlogs/%domain%.error.log error;

	location / {
		location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh)$ {
			root %docroot%;					
			expires max;
			try_files $uri @backend;
		}
		
		error_page 405 = @backend;
		error_page 500 = @custom;
		add_header X-Cache "HIT from Backend";
		proxy_pass %proxy_protocol%://%proxy_ip%:%proxy_port%;
		include proxy.inc;
		proxy_read_timeout 1200;
	}

	location @backend {
		internal;
		proxy_pass %proxy_protocol%://%proxy_ip%:%proxy_port%;
		include proxy.inc;
		proxy_read_timeout 1200;
	}

	location @custom {
		internal;
		proxy_pass %proxy_protocol%://%proxy_ip%:%proxy_port%;
		include proxy.inc;
		proxy_read_timeout 1200;
	}

	location ~ .*\.(php|jsp|cgi|pl|py)?$ {
		proxy_pass %proxy_protocol%://%proxy_ip%:%proxy_port%;
		include proxy.inc;
		proxy_read_timeout 1200;
	}

	location ~ /\.ht    {deny all;}
	location ~ /\.svn/  {deny all;}
	location ~ /\.git/  {deny all;}
	location ~ /\.hg/   {deny all;}
	location ~ /\.bzr/  {deny all;}

	disable_symlinks if_not_owner from=%docroot%;

	location /.well-known/acme-challenge {
		default_type "text/plain";
		alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
	}
}

What’s wrong?

No one knows?

Hi,

I’ve the same issue.

Maxence.

Have you tried a new Ghost version?