TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Installation doesn't work for 2.1.20

Open newburns opened this issue 12 years ago • 12 comments

When trying to install the 2.1.20 branch through /install/install.php it display Installation Complete without following any steps.

newburns avatar Mar 28 '14 14:03 newburns

settings.php does not have a closing tag ?> Also, settings.php is not compliant with a Linux install

newburns avatar Mar 28 '14 14:03 newburns

Can you give me more details about what failed?

settings.php does not have a closing tag
?>

Refer to PSR-2 coding standards, the closing php tag can be omitted in files containing only php.

nilsteampassnet avatar Apr 20 '14 05:04 nilsteampassnet

I just tried this since you referenced the issue in the newest commit. I went through the entire installation fine. Once I logged in with admin/admin after it said installation complete, it shows a page saying "Maintenance mode is activated. Users currently can not access TeamPass." and then underneath "You are not allowed to see this page.".

If I click anything, it bumps me out to the login page.

SpikeStephens avatar Apr 21 '14 19:04 SpikeStephens

​Strange ... any logs?

Tested the installation on 4 different machines without any issue.

Can you make a screen shot of each steps with the data filled in so that I can see?​

nilsteampassnet avatar Apr 21 '14 20:04 nilsteampassnet

Upon logging in, the following error appears in the apache log:

[error] [client 192.168.1.131] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/teampass/index.php:109) in /var/www/teampass/sources/sessions.php on line 143, referer: http://teampass.goedekers.com/

Upon clicking Home after logging in, the following error:

[error] [client 192.168.1.131] PHP Notice: Undefined index: copyright in /var/www/teampass/index.php on line 599, referer: http://teampass.goedekers.com/index.php?page=manage_main

SpikeStephens avatar Apr 22 '14 20:04 SpikeStephens

1 2 3 4 5

SpikeStephens avatar Apr 22 '14 20:04 SpikeStephens

I'm using CentOS 6.5 with Percona MySQL, by the way.

SpikeStephens avatar Apr 23 '14 14:04 SpikeStephens

I encountered the same issue after clean install of Teampass v2.1.20. teampass_error

My environment settings:

  • CentOS 6.5 with Percona MySQL too
  • PHP v5.4

Error_Log states: PHP Warning: Cannot modify header information - headers already sent by (output started at /home4/ABCDEF/public_html/teampass/index.php:8) in /home4/ABCDEF/public_html/teampass/sources/sessions.php on line 143

afternoontroll avatar Apr 24 '14 20:04 afternoontroll

Hi, in admin.php on line 25 maybe you have this line : if (checkUser($_SESSION['user_id'], $_SESSION['key'], "users.php")) { you should replace this by : if (!checkUser($_SESSION['user_id'], $_SESSION['key'], "manage_main")) {

I have the same error after an upgrade from 2.1.19 to 2.1.20 and it fix the problem

dmgnico avatar May 01 '14 09:05 dmgnico

If you have the error described by @dmgnico then you should take last 2.1.20 commit. Indeed this error was fixed the Apr 19, 2014

nilsteampassnet avatar May 01 '14 12:05 nilsteampassnet

I was able to perform a clean install using the latest commit (658ea85be4).

Upgrade still failed (stuck on Step 4) so I resorted to performing a clean install (after purging existing DB and tables).

This however, resulted in a new issue. The option to select/set password complexity has disappered. Please let me know if I should create a separate issue for this behavior.

teampass_pwd_complexity

teampass_folder_pwd_complexity

afternoontroll avatar May 05 '14 19:05 afternoontroll

This should be related with changes off language strings structure during 2.1.20 development. It is now closed.

nilsteampassnet avatar May 24 '14 12:05 nilsteampassnet