nilsteampassnet / TeamPass

Collaborative Passwords Manager
https://www.teampass.net
1.65k stars 537 forks source link

3.0.0.17 and 3.0.0.18 not working #3213

Open michaldejmek opened 2 years ago

michaldejmek commented 2 years ago

It is not possible to run the app after upgrading to the latest version.

PHP Warning: Use of undefined constant DB_SSL - assumed 'DB_SSL' (this will throw an Error in a future version of PHP) in /var/www/html/teampass/index.php on line 110 PHP Warning: Use of undefined constant DB_CONNECT_OPTIONS - assumed 'DB_CONNECT_OPTIONS' (this will throw an Error in a future version of PHP) in /var/www/html/teampass/index.php on line 111 PHP Warning: Illegal string offset 'key' in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 183 PHP Warning: Illegal string offset 'key' in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 184 PHP Warning: Illegal string offset 'cert' in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 184 PHP Warning: Illegal string offset 'ca_cert' in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 184 PHP Warning: Illegal string offset 'ca_path' in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 184 PHP Warning: Illegal string offset 'cipher' in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 184 PHP Warning: Invalid argument supplied for foreach() in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 187 PHP Warning: mysqli::set_charset(): invalid object or resource mysqli\n in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 198 PHP Warning: MeekroDB::get(): Property access is not allowed yet in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 200 PHP Warning: mysqli::real_escape_string(): invalid object or resource mysqli\n in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 520 PHP Warning: mysqli::real_escape_string(): invalid object or resource mysqli\n in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 520 PHP Warning: mysqli::query(): invalid object or resource mysqli\n in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 682 PHP Warning: MeekroDB::queryHelper(): Property access is not allowed yet in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 716 PHP Warning: MeekroDB::queryHelper(): Property access is not allowed yet in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 717 PHP Warning: mysqli::query(): invalid object or resource mysqli\n in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 682 PHP Warning: MeekroDB::queryHelper(): Property access is not allowed yet in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 716 PHP Warning: MeekroDB::queryHelper(): Property access is not allowed yet in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 717 PHP Warning: Invalid argument supplied for foreach() in /var/www/html/teampass/sources/core.php on line 178 PHP Warning: mysqli::query(): invalid object or resource mysqli\n in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 682 PHP Warning: MeekroDB::queryHelper(): Property access is not allowed yet in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 716 PHP Warning: MeekroDB::queryHelper(): Property access is not allowed yet in /var/www/html/teampass/includes/libraries/Database/Meekrodb/db.class.php on line 717 PHP Notice: Undefined index: cpassman_dir in /var/www/html/teampass/sources/main.queries.php on line 48 PHP Warning: require_once(/includes/config/include.php): failed to open stream: No such file or directory in /var/www/html/teampass/sources/main.queries.php on line 48 PHP Fatal error: require_once(): Failed opening required '/includes/config/include.php' (include_path='.:/usr/share/php') in /var/www/html/teampass/sources/main.queries.php on line 48

php -v PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies

michaldejmek commented 2 years ago

500

Oops! ERROR NOT ALLOWED.

For security reason, you have been disconnected. Click to log in.

michaldejmek commented 2 years ago

Fix - https://github.com/nilsteampassnet/TeamPass/issues/3168

Already upgrading to version 3.x was a problem... every new version is a problem :(

michaldejmek commented 2 years ago

Load Folder not work :(

PHP Warning: array_merge(): Expected parameter 2 to be an array, null given in /var/www/html/teampass/sources/tree.php on line 647, referer: https://xxxxx/teampass/index.php?page=items

PHP Fatal error: Uncaught TypeError: in_array() expects parameter 2 to be array, null given in /var/www/html/teampass/sources/tree.php:647\nStack trace:\n#0 /var/www/html/teampass/sources/tree.php(647): in_array()\n#1 /var/www/html/teampass/sources/tree.php(205): recursiveTree()\n#2 {main}\n thrown in /var/www/html/teampass/sources/tree.php on line 647, referer: https://xxxxx/teampass/index.php?page=items

nilsteampassnet commented 2 years ago

@michaldejmek I believe you just copied the files. You also need to run the upgrade

michaldejmek commented 2 years ago

I copied the files and did the upgrade as always .. install/upgrade.php.