Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install TeamPass : [ERROR] Answer from server is empty. #2853

Open
fafadi opened this issue Dec 8, 2020 · 14 comments
Open

Cannot install TeamPass : [ERROR] Answer from server is empty. #2853

fafadi opened this issue Dec 8, 2020 · 14 comments
Assignees
Labels

Comments

@fafadi
Copy link

fafadi commented Dec 8, 2020

Hello i have problem when i am trying to install teampass on our server
Capture d’écran (44)

i have looked on issues #1505 #1719 #1218 #1218
but none of them help me

1.Install mysql, httpd, PHP 7.2.34
2.Access http://machine_IP/install/install.php
3.Start installation

Expected behaviour
TeamPass should know that I have my php 7.2.34 installed and proceed with installation

Actual behaviour
Stops on server checks with following error:
[ERROR] Answer from server is empty.
configuration!

Operating system: Centos 8

Web server: Apache/2.4.6

Database: mysql Ver 15.1 Distrib 5.5.68-MariaDB

PHP version: PHP 7.2.34

Teampass version: 3.0.0.7

Teampass configuration file:

Updated from an older Teampass or fresh install:
PLEASE attach to this issue the file /includes/config/tp.config.php.

Client configuration
Browser: Chrome

Operating system: Windows and Linux

Logs
Web server error log
Insert your webserver log here
Log from the web-browser developer console (CTRL + SHIFT + i)
Insert the log here and especially the answer of the query that failed.

@LazyBread
Copy link

Any solutions? Have this problem too.

@dragonsage00
Copy link

I am getting the same issue with Debian 10, and PHP 7.1.

Any update on this issue?

@gregorym35
Copy link

Have this problem too with Redhat 8, please any solution ?

@gregorym35
Copy link

gregorym35 commented Jul 5, 2021

Hi, to help PHP version 7.4 installed from php remi repository bypass the error : [ERROR] Answer from server is empty.

My OS redhat 8

@IsaacHunt
Copy link

Same issue here w/ me:

  • Centos 7
  • PHP -v 7.4

Hi, to help PHP version 7.4 installed from php remi repository bypass the error : [ERROR] Answer from server is empty.

My OS redhat 8

Im using the Remi Repo, still not worked...

@ze6ra
Copy link

ze6ra commented Dec 10, 2021

I have same issue with RHEL8

Install php-json work for me.

@geovanidps
Copy link

Boa noite estou com o mesmo problema, estou com um CentOs 7 com php7.4 e o httpd 2.4.52 é o erro que apresenta e:
"Não é possível instalar o TeamPass: [ERRO] A resposta do servidor está vazia"
porem tentei usar o php5.6 funciona porem o sistema requer o php7.4
nós logs o que apresen é :

"POST /install/install.php HTTP/1.1" 200 5968 "http://192.168.X.X/install/install.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/XXXX98..82 Safari/537.36"
[Fri Feb 11 22:47:43.981308 2022] [php7:error] [pid 2782:tid 140500482303744] [client 192.168.X.X:62155] PHP Fatal error: Uncaught RuntimeException: You need the Multibytes extension to use PHPSecureSession\SecureHandler in /var/www/TeamPass-2.1.27/sources/SecureHandler.php:40\nStack trace:\n#0 /var/www/TeamPass-2.1.27/sources/SecureHandler.php(216): PHPSecureSession\SecureHandler->__construct()\n#1 /var/www/TeamPass-2.1.27/install/install.queries.php(20): require_once('/var/www/TeamPa...')\n#2 {main}\n thrown in /var/www/TeamPass-2.1.27/sources/SecureHandler.php on line 40, referer: http://192.168.X.X/install/install.php

@AnaxBPacheco
Copy link

Bom dia, consegui resolver da seguinte forma em container Ubuntu 20.04:

RUN apt-get update && apt-get install -y --no-install-recommends \
php php-pear php-dev libmcrypt-dev \
php-mysql php-mbstring php-fpm php-common php-xml php-gd openssl php-mysql php-bcmath php-curl php-ldap

RUN pecl channel-update pecl.php.net && pecl update-channels && pecl install mcrypt

RUN echo "extension=mcrypt.so" | tee -a /etc/php/7.4/apache2/php.ini
RUN sed -i 's/max_execution_time = 30/max_execution_time = 60/g' /etc/php/7.4/apache2/php.ini
RUN sed -i 's/;extension=curl/extension=curl/g' /etc/php/7.4/apache2/php.ini
RUN sed -i 's/;extension=ldap/extension=ldap/g' /etc/php/7.4/apache2/php.ini

@Casilva-del
Copy link

AnaxBPacheco pode me dizer como fez pra resolver? os passos?

@AnaxBPacheco
Copy link

AnaxBPacheco pode me dizer como fez pra resolver? os passos?
Opa, então, eu montei um container Docker mas creio que funcione caso você esteja rodando um host Ubuntu normal:

apt-get update && apt-get install -y --no-install-recommends \
    php php-pear php-dev libmcrypt-dev \
    php-mysql php-mbstring php-fpm php-common php-xml php-gd openssl php-mysql php-bcmath php-curl php-ldap php-gmp

pecl channel-update pecl.php.net && pecl update-channels && pecl install mcrypt

echo "extension=mcrypt.so" | tee -a /etc/php/7.4/apache2/php.ini
sed -i 's/max_execution_time = 30/max_execution_time = 60/g' /etc/php/7.4/apache2/php.ini
sed -i 's/;extension=curl/extension=curl/g' /etc/php/7.4/apache2/php.ini
sed -i 's/;extension=ldap/extension=ldap/g' /etc/php/7.4/apache2/php.ini
sed -i 's/;extension=gmp/extension=gmp/g' /etc/php/7.4/apache2/php.ini

Veja se estes comando resolvem na sua estrutura.

@guadaduche
Copy link

Hi,
I have same issue with an install on Oracle Linux 8 OS version.
Do you have some tips to help ?
Ty

@dragonsage00
Copy link

dragonsage00 commented Jun 29, 2023 via email

@AnaxBPacheco
Copy link

Hi, I needed to create an approval environment in Debian and it resulted in this error. I solved it by installing php8. Installation guides recommend php8. From what I noticed, PHP 7.4 works up to some versions.

@njdavis90
Copy link

same here solved it by install php8.1 and all the extensions for php8.1, then restarted apache2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests