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

After fresh installation the index.php shows random string #1961

Closed
dinesh8642 opened this issue Oct 11, 2017 · 12 comments
Closed

After fresh installation the index.php shows random string #1961

dinesh8642 opened this issue Oct 11, 2017 · 12 comments

Comments

@dinesh8642
Copy link

Steps to reproduce

  1. After the installation , I visit my localhost:port and dont see the login page but I see a long random string.

Expected behaviour

After the complete installation of teampass through docker-compose.yml and the on screen steps to connect with database ,when I click to go to the home page i.e. http://localhost:8080/index.php I should be presented with a login page to login to the application.

Actual behaviour

Instead when I visit the index.php page I see a long random sting with alphanumeric characters.
screenshot attached:
login page

Server configuration

FYI:I had pulled the latest version from docker hub for teampass.

Operating system: macbook pro: host machine

Web server: running through docker-compose

**Database:**running through docker-compose

**PHP version:**running through docker-compose

Teampass version: running through docker-compose

**Teampass configuration file:**running through docker-compose

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

Client configuration

Browser: Firefox

**Operating system:**Macbook pro : Host machine

Logs

Web server error log

teampass dineshponnudurai$ docker-compose up
Creating network "teampass_frontend" with the default driver
Creating network "teampass_backend" with the default driver
Creating teampass_db_1 ...
Creating teampass_teampass_1 ...
Creating teampass_db_1
Creating teampass_teampass_1 ... done
Attaching to teampass_db_1, teampass_teampass_1
db_1        | [Entrypoint] MySQL Docker Image 5.7.19-1.1.1
teampass_1  | Initial setup...
db_1        | [Entrypoint] Initializing database
teampass_1  | Cloning into '/var/www/html/www'...
db_1        | [Entrypoint] Database initialized
db_1        | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
db_1        | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
db_1        | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
db_1        |
db_1        | [Entrypoint] ignoring /docker-entrypoint-initdb.d/*
db_1        |
db_1        | [Entrypoint] Server shut down
db_1        |
db_1        | [Entrypoint] MySQL init process done. Ready for start up.
db_1        |
db_1        | [Entrypoint] Starting MySQL 5.7.19-1.1.1
Checking out files: 100% (1265/1265), done./1265)
teampass_1  | Teampass is not configured yet. Open it in a web browser to run the install process.
teampass_1  | Use /var/www/html/sk for the absolute path of your saltkey.
teampass_1  | When setup is complete, restart this image to remove the install directory.
teampass_1  | 2017-10-11 00:26:56,240 CRIT Set uid to user 0
teampass_1  | 2017-10-11 00:26:56,240 WARN No file matches via include "/etc/supervisor/conf.d/*.conf"
teampass_1  | 2017-10-11 00:26:56,259 INFO RPC interface 'supervisor' initialized
teampass_1  | 2017-10-11 00:26:56,259 CRIT Server 'unix_http_server' running without any HTTP authentication checking
teampass_1  | 2017-10-11 00:26:56,259 INFO supervisord started with pid 1
teampass_1  | 2017-10-11 00:26:57,264 INFO spawned: 'php-fpm' with pid 29
teampass_1  | 2017-10-11 00:26:57,267 INFO spawned: 'nginx' with pid 30
teampass_1  | 2017/10/11 00:26:57 [notice] 30#30: using the "epoll" event method
teampass_1  | 2017/10/11 00:26:57 [notice] 30#30: nginx/1.13.5
teampass_1  | 2017/10/11 00:26:57 [notice] 30#30: built by gcc 5.3.0 (Alpine 5.3.0)
teampass_1  | 2017/10/11 00:26:57 [notice] 30#30: OS: Linux 4.9.49-moby
teampass_1  | 2017/10/11 00:26:57 [notice] 30#30: getrlimit(RLIMIT_NOFILE): 1048576:1048576
teampass_1  | 2017/10/11 00:26:57 [notice] 30#30: start worker processes
teampass_1  | 2017/10/11 00:26:57 [notice] 30#30: start worker process 31
teampass_1  | 2017/10/11 00:26:57 [notice] 30#30: start worker process 32
teampass_1  | 2017/10/11 00:26:57 [notice] 30#30: start worker process 33
teampass_1  | 2017/10/11 00:26:57 [notice] 30#30: start worker process 34
teampass_1  | 2017-10-11 00:26:58,323 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
teampass_1  | 2017-10-11 00:26:58,323 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/install.php HTTP/1.1" 200 14053 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/css/install.css HTTP/1.1" 200 1544 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/css/overcast/jquery-ui-1.10.3.custom.min.css HTTP/1.1" 200 26966 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /includes/js/functions.js HTTP/1.1" 200 10128 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/install.js HTTP/1.1" 200 12648 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/js/aes.min.js HTTP/1.1" 200 19535 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/js/jquery.min.js HTTP/1.1" 200 91555 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/js/jquery-ui.min.js HTTP/1.1" 200 187815 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/images/information-white.png HTTP/1.1" 200 707 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/images/76.gif HTTP/1.1" 200 5440 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /includes/images/canevas/logo.png HTTP/1.1" 200 4715 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /includes/images/canevas/bg_home.jpg HTTP/1.1" 200 766 "http://localhost:8080/install/css/install.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/css/overcast/images/ui-bg_flat_55_c0402a_40x100.png HTTP/1.1" 200 206 "http://localhost:8080/install/css/overcast/jquery-ui-1.10.3.custom.min.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/css/overcast/images/ui-bg_flat_55_eeeeee_40x100.png HTTP/1.1" 200 220 "http://localhost:8080/install/css/overcast/jquery-ui-1.10.3.custom.min.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:01 +0000] "GET /install/css/overcast/images/ui-bg_glass_60_eeeeee_1x400.png HTTP/1.1" 200 262 "http://localhost:8080/install/css/overcast/jquery-ui-1.10.3.custom.min.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:27 +0000] "GET /install/css/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png HTTP/1.1" 200 262 "http://localhost:8080/install/css/overcast/jquery-ui-1.10.3.custom.min.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:29 +0000] "GET /install/css/overcast/images/ui-bg_inset-hard_75_999999_1x100.png HTTP/1.1" 200 253 "http://localhost:8080/install/css/overcast/jquery-ui-1.10.3.custom.min.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:29 +0000] "GET /install/images/tick.png HTTP/1.1" 200 634 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "GET /install/images/ajax-loader.gif HTTP/1.1" 200 882 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 64 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 64 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 64 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 64 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 64 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 64 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 64 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 64 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:30 +0000] "POST /install/install.queries.php HTTP/1.1" 200 43 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:27:42 +0000] "POST /install/install.queries.php HTTP/1.1" 200 83 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:25 +0000] "GET /install/images/ajax-loader.gif HTTP/1.1" 304 0 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:25 +0000] "POST /install/install.queries.php HTTP/1.1" 200 77 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:28 +0000] "POST /install/install.queries.php HTTP/1.1" 200 103 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:28 +0000] "POST /install/install.queries.php HTTP/1.1" 200 107 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:28 +0000] "POST /install/install.queries.php HTTP/1.1" 200 104 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:28 +0000] "POST /install/install.queries.php HTTP/1.1" 200 108 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:28 +0000] "POST /install/install.queries.php HTTP/1.1" 200 103 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:28 +0000] "POST /install/install.queries.php HTTP/1.1" 200 81 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 102 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 109 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 110 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 103 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 111 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 101 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 112 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 107 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 119 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 108 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 105 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 112 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 112 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 115 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 109 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 117 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 102 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 102 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 105 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 109 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 111 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:29 +0000] "POST /install/install.queries.php HTTP/1.1" 200 103 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:33 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:33 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:33 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:33 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:32:33 +0000] "POST /install/install.queries.php HTTP/1.1" 200 63 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:33:08 +0000] "GET /index.php HTTP/1.1" 200 151 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:51:39 +0000] "GET /index.php HTTP/1.1" 200 151 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:51:48 +0000] "GET /index.php HTTP/1.1" 200 151 "http://localhost:8080/install/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"
teampass_1  | 172.19.0.1 - - [11/Oct/2017:00:52:25 +0000] "GET / HTTP/1.1" 200 151 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0"

Please find my Docker-compose below:
version: '2.2'
services:

teampass:
image: teampass/teampass
restart: always
environment:
VIRTUAL_HOST: teampass.example.com
ports:
- "8080:80"
networks:
- frontend
- backend
volumes:
- ./volumes/teampass:/var/www/html

db:
restart: always
image: mysql/mysql-server:5.7
environment:
MYSQL_ROOT_PASSWORD: mypass
MYSQL_DATABASE: teampass
MYSQL_PASSWORD: teampass
MYSQL_USER: teampass
volumes:
- ./volumes/db:/var/lib/mysql
networks:
- backend

networks:
frontend:
backend:

Please let me know if you need more information.

@nilsteampassnet
Copy link
Owner

Version 2.2 is not a release.
Please only use releases. Last one is 2.1.27.9

@neryangj
Copy link

neryangj commented Oct 11, 2017

May i know the working image for teampass? I pulled teampass/teampass:latest but encountered the above problem. I am not using docker compose . Just pulled the images then run

[root@TestlabMaster www]# docker search teampass
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
teampass/teampass Teampass automatic build 10 [OK]

Issue was during accessing the teampass itself. Was redirected to strings rather than the login page.

@dinesh8642
Copy link
Author

I cloned the 2.1.27 to my laptop and built a docker image from dockerfile and then ran the docker-compose. still the same issue.

@ghost
Copy link

ghost commented Oct 11, 2017

I’m using a fresh install of CentOS 7.4.1708 (system up to date)
– Apache 2.4.6
– Mariadb 5.5.56
– PHP 5.6.31 (with: opcache, mcrypt, ldap, mysqlnd, mbstring, bcmath, gd)
SELinux has been disabled,
Services are launched at boot and running.
https is working fine on Apache test page

Downloaded teampass from:
https://github.com/nilsteampassnet/TeamPass/archive/master.zip

Problem: I get the setup pages, all checks green for the various steps, and at the last screen it sends me to a page with a string of characters.

I do get an interesting message in the logs:

[Wed Oct 11 03:19:12.389242 2017] [:error] [pid 1721] [client 192.168.67.137:60128] PHP Notice: Undefined index: key in /var/www/html/teampass/sources/main.functions.php on line 1306

@r3m1n0x
Copy link

r3m1n0x commented Oct 11, 2017

Same issue here! Installation is okay.

System config:
Ubuntu 16.04 Server LTS
Apache2
MySQL

[Wed Oct 11 10:45:38.029862 2017] [:error] [pid 27751] [client 192.168.115.171:40942] PHP Notice: Undefined index: key in /var/www/html/sources/main.functions.php on line 1306

@Wentwort
Copy link

Hi!
I have the same problem on a fresh install of Ubuntu Server 16.04 LTS.
And in the logs: [Wed Oct 11 14:47:04.223960 2017] [:error] [pid 29412] [client 172.20.23.68:54290] PHP Notice: Undefined index: key in /var/www/html/teampass/sources/main.functions.php on line 1306

@roru69
Copy link

roru69 commented Oct 11, 2017

Hi,

I have the exact same error when after installing the Master from 9 october.
When the install process is finished and open the website for the first time, i get the random long string.

[Tue Oct 10 10:49:19.792359 2017] [:error] [pid 762] [client 192.168.28.5:51355] PHP Notice: Undefined index: key in /var/www/mydomain.com/public_html/teampass/sources/main.functions.php on line 1306, referer: https://mydomain.com/teampass/install/install.php

@coddan-zz
Copy link

coddan-zz commented Oct 11, 2017

Have the same problem, same error, tried on ubuntu, centos, and tried to turn error_reporting turned off in php.ini. but no success.

And I´m using version Last one is 2.1.27.9
even tested older version, but diffrent errors on this, so maybe some settings for php ?

[Wed Oct 11 22:19:17.709275 2017] [:error] [pid 2377] [client 192.168.1.103:53165] PHP Notice: Undefined index: key in /var/www/html/teampass/sources/main.functions.php on line 1309, referer: http://192.168.1.173/teampass/install/install.php

@nilsteampassnet
Copy link
Owner

Oh damned!

My apologies for this, I found the issue. I will commit a fix and update the release package at mid day today.

nilsteampassnet added a commit that referenced this issue Oct 12, 2017
Fix for #1965, #1961
@nilsteampassnet
Copy link
Owner

Please use new 2.1.27.9 package by over-writing existing files and relaunching install process

@ghost
Copy link

ghost commented Oct 12, 2017

Thanks, works for me :)

@dinesh8642
Copy link
Author

@nilsteampassnet thanks a lot for the quick turnover. works like a charm. cheers.

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

No branches or pull requests

7 participants