Replies: 2 comments
-
I found this in the forums and it worked for me with some minor tweaks : _**For upgrade process from 2.1.27.36 i have used this method: Start from 3.0.0.23 : https://github.com/nilsteampassnet/TeamPass/archive/refs/tags/3.0.0.23.tar.gz Rename teampass folder old (2.1.27.36) to teampass_v2 copy following file: chmod 0777 teampass/includes I have to set to 0 the column complexity_level in teampass_items table qith this query: Launch the upgrade from browser if obtain error open file include/config/settings.php and add At the end of upgrade process: Comment block code in index.php restart apache and php-fpm Enter with admin user and do 2 actions: Configure LDAP and sync users (if needed) If at login of the user teampass says to put old password and current you must insert the same ldap passowrd if the local users was ldap user before upgrade**_ Thats obviously in linux, so just tweak it for windows. |
Beta Was this translation helpful? Give feedback.
-
Launch the upgrade from browser if obtain error open file include/config/settings.php and add make sure you do this step. |
Beta Was this translation helpful? Give feedback.
-
I am doing following steps:
PHP Fatal error: Uncaught Defuse\Crypto\Exception\BadFormatException: Encoded data is shorter than expected. in C:\Apache24\htdocs\TeamPass-master\vendor\defuse\php-encryption\src\Encoding.php:233\nStack trace:\n#0 C:\Apache24\htdocs\TeamPass-master\vendor\defuse\php-encryption\src\Key.php(53): Defuse\Crypto\Encoding::loadBytesFromChecksummedAsciiSafeString('\xDE\xF0\x00\x00', Object(SensitiveParameterValue))\n#1 C:\Apache24\htdocs\TeamPass-master\sources\main.functions.php(127): Defuse\Crypto\Key::loadFromAsciiSafeString(Object(SensitiveParameterValue))\n#2 C:\Apache24\htdocs\TeamPass-master\sources\main.functions.php(211): cryption('def502005cb13b1...', false, 'decrypt', Array)\n#3 C:\Apache24\htdocs\TeamPass-master\sources\main.functions.php(4313): defuseReturnDecrypted('def502005cb13b1...', Array)\n#4 C:\Apache24\htdocs\TeamPass-master\sources\main.functions.php(64): loadClasses('DB')\n#5 C:\Apache24\htdocs\TeamPass-master\install\upgrade_ajax.php(202): require_once('C:\\Apache24\\htd...')\n#6 {main}\n thrown in C:\Apache24\htdocs\TeamPass-master\vendor\defuse\php-encryption\src\Encoding.php on line 233, referer: http://localhost/TeamPass-master/install/upgrade.php
Any advice on what this means? and how to resolve the issue? Thank You.
Beta Was this translation helpful? Give feedback.
All reactions