Jump to content
thirty bees forum
  • 0

[solved] Installing TB fresh stops at setup step 3


Question

Posted (edited)

I a bit ashamed to ask,

but I have problems to install TB. I try it on a sub domain, with ssl. My hoster is Hetzner.

I did this is the past dozen times but this time I do not know what I doing wrong.

I create the subdir that is accessible via sub domain on the host. Then I extract the tb install .zip and start /install/index.php.

Step 1 and 2 appear as usual but then I get the annoying error:

Link to database cannot be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

 

I used thirtybees-v1.4.0-php7.4.zip and the host's server version of php matches 7.4.

 

 

Edited by Pedalman

4 answers to this question

Recommended Posts

  • 0
Posted

It sound like the installer is failing to connect you your db server.

If Hetzner has Softaculous you can direclty install through it - select your subdomain (it has to be preconfigured), install the latest stable version, update to edge, voilà!

  • 0
Posted

I remember that some old version of thirty bees had issues when they encoutenr system compatibility problem during installation. Instead of displaying error message it displayed just blank error page.

Try use 1.5.1 installation package instead.

  • 0
Posted

Also, before installation, ensure that your PHP has following extensions installed / enabled:

    • Required:
      • bcmath
      • gd
      • json
      • mbstring
      • openssl
      • mysql (PDO only)
      • xml (SimpleXML, DOMDocument)
      • zip
    • Recommended:
      • imap (for allowing to use an IMAP server rather than PHP's built-in mail function)
      • curl (for better handling of background HTTPS requests)
      • opcache (not mandatory because some hosters turn this off in favor of other caching mechanisms)
      • apcu/redis/memcache(d)
 
  • Thanks 1
  • 0
Posted (edited)

1.5.1 indeed displayed a compatibility hint. It was about allow_url_fopen .

I then could install it as usual. This applies now to the older version  thirtybees-v1.4.0-php7.4.zip, too.

So, I had to activate allow_url_fopen on the server.

Thank you for the tip!

Edited by Pedalman

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...