-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
Comments
Version 2.2 is not a release. |
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 Issue was during accessing the teampass itself. Was redirected to strings rather than the login page. |
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. |
I’m using a fresh install of CentOS 7.4.1708 (system up to date) Downloaded teampass from: 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 |
Same issue here! Installation is okay. System config: [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 |
Hi! |
Hi, I have the exact same error when after installing the Master from 9 october. [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 |
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 [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 |
Oh damned! My apologies for this, I found the issue. I will commit a fix and update the release package at mid day today. |
Please use new 2.1.27.9 package by over-writing existing files and relaunching install process |
Thanks, works for me :) |
@nilsteampassnet thanks a lot for the quick turnover. works like a charm. cheers. |
Steps to reproduce
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.
![login page](https://user-images.githubusercontent.com/16627053/31417291-34463ae8-ae7a-11e7-9c3c-7278f07c28dc.png)
screenshot attached:
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
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.
The text was updated successfully, but these errors were encountered: