nilsteampassnet / TeamPass

Collaborative Passwords Manager
https://www.teampass.net
1.68k stars 547 forks source link

3.0.0.10 broken, master (3.0.0.11) also broken #3054

Open NuxRo opened 2 years ago

NuxRo commented 2 years ago

I tried to install 3.0.0.10, but hit this issue, after install index.php keeps redirecting to install/index.php ... https://github.com/nilsteampassnet/TeamPass/issues/3031

Tried on both Debian 11 and EL8 (Almalinux).

3.0.0.11 installs, can log in, but then seems to be missing loads of files, as many functionality is broken (can't add new folders etc). In the logs I see something like the following pointing to missing files etc:

[Tue Feb 22 14:25:35.175117 2022] [php7:warn] [pid 17460] [client 10.0.3.251:56400] PHP Warning:  unlink(/var/www/html/teampass/install/upgrade_run_3.0.0_users.php): Permission denied in /var/www/html/teampass/sources/core.php on line 141, referer: http://10.0.3.9/teampass/install/install.php
[Tue Feb 22 14:25:35.175122 2022] [php7:warn] [pid 17460] [client 10.0.3.251:56400] PHP Warning:  unlink(/var/www/html/teampass/install/upgrade_scripts_manager.php): Permission denied in /var/www/html/teampass/sources/core.php on line 141, referer: http://10.0.3.9/teampass/install/install.php
[Tue Feb 22 14:26:35.016311 2022] [php7:notice] [pid 17460] [client 10.0.3.251:12010] PHP Notice:  Undefined index: icon in /var/www/html/teampass/sources/folders.queries.php on line 524, referer: http://10.0.3.9/teampass/index.php?page=folders
[Tue Feb 22 14:26:35.016338 2022] [php7:notice] [pid 17460] [client 10.0.3.251:12010] PHP Notice:  Undefined index: iconSelected in /var/www/html/teampass/sources/folders.queries.php on line 525, referer: http://10.0.3.9/teampass/index.php?page=folders
[Tue Feb 22 14:26:35.016892 2022] [php7:warn] [pid 17460] [client 10.0.3.251:12010] PHP Warning:  include(../../../config/tp.config.php): failed to open stream: No such file or directory in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 979, referer: http://10.0.3.9/teampass/index.php?page=folders
[Tue Feb 22 14:26:35.016906 2022] [php7:warn] [pid 17460] [client 10.0.3.251:12010] PHP Warning:  include(): Failed opening '../../../config/tp.config.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 979, referer: http://10.0.3.9/teampass/index.php?page=folders
[Tue Feb 22 14:26:35.016932 2022] [php7:warn] [pid 17460] [client 10.0.3.251:12010] PHP Warning:  include_once(/includes/libraries/protect/SuperGlobal/SuperGlobal.php): failed to open stream: No such file or directory in /var/www/html/teampass/sources/main.functions.php on line 1513, referer: http://10.0.3.9/teampass/index.php?page=folders
[Tue Feb 22 14:26:35.016939 2022] [php7:warn] [pid 17460] [client 10.0.3.251:12010] PHP Warning:  include_once(): Failed opening '/includes/libraries/protect/SuperGlobal/SuperGlobal.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/teampass/sources/main.functions.php on line 1513, referer: http://10.0.3.9/teampass/index.php?page=folders
[Tue Feb 22 14:26:35.016957 2022] [php7:warn] [pid 17460] [client 10.0.3.251:12010] PHP Warning:  include_once(/sources/SplClassLoader.php): failed to open stream: No such file or directory in /var/www/html/teampass/sources/main.functions.php on line 1524, referer: http://10.0.3.9/teampass/index.php?page=folders
[Tue Feb 22 14:26:35.016974 2022] [php7:warn] [pid 17460] [client 10.0.3.251:12010] PHP Warning:  include_once(): Failed opening '/sources/SplClassLoader.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/teampass/sources/main.functions.php on line 1524, referer: http://10.0.3.9/teampass/index.php?page=folders
fmancardi commented 2 years ago

I've no more useful information, but I'm also not able to install on ubuntu 20.04. settings.php is not created

nilsteampassnet commented 2 years ago

I believe you have an issue regarding user rights on the server. Can you provide screenshot of installation step2 where rights are checked?

tson0n0 commented 1 year ago

I Have the same issue. no error at installation (Debian 11)