Upgrade from 3.0.0.22 to 3.0.2 comes into infinite loop #3631
Replies: 6 comments 4 replies
-
Hi have the same problem when upgrading from version 2.1.27.36. The spinning wheel is turning, no activity in the server can be seen on htop. I tried last week with a commit on a version published just before 3.0.2 and I get the same issue. I'm using Centos 7, PHP 7.4 and MariaDB 10.7.8 @nilsteampassnet J'ai l'impression que ce problème touche plusieurs utilisateurs car j'ai vu la même chose sur reddit. Si vous voulez, je peux vous aider à diagnostiquer ça, je suis francais (ça peut aider à la compréhension). N'hésitez pas à me contacter si besoin. je peux y consacrer un peu de temps. |
Beta Was this translation helpful? Give feedback.
-
result of /var/log/httpd/error_log [Fri Mar 31 07:29:00.188771 2023] [php7:error] [pid 14719] [client 10.18.35.65:14677] PHP Fatal error: Uncaught Defuse\Crypto\Exception\BadFormatException: Encoded data is shorter than expected. in /var/www/html/teampass/includes/libraries/Encryption/Encryption/Encoding.php:225\nStack trace:\n#0 /var/www/html/teampass/includes/libraries/Encryption/Encryption/Key.php(49): Defuse\Crypto\Encoding::loadBytesFromChecksummedAsciiSafeString()\n#1 /var/www/html/teampass/install/tp.functions.php(131): Defuse\Crypto\Key::loadFromAsciiSafeString()\n#2 /var/www/html/teampass/install/tp.functions.php(171): defuseCryption()\n#3 /var/www/html/teampass/install/upgrade_ajax.php(229): defuse_return_decrypted()\n#4 {main}\n thrown in /var/www/html/teampass/includes/libraries/Encryption/Encryption/Encoding.php on line 225, referer: https://myteampassserver/install/upgrade.php |
Beta Was this translation helpful? Give feedback.
-
If it can help, result of /var/log/httpd/access_log: |
Beta Was this translation helpful? Give feedback.
-
I tried again with yesterday (11.04.23) commit and it still not working. Here are output from /var/log/httpd/error_log: I upgrade php to 8.0 and the error is now: [Tue Apr 11 11:02:27.397531 2023] [php:error] [pid 23190] [client 10.19.44.69:49376] PHP Fatal error: Uncaught Error: Undefined constant "SECUREFILE" in /var/www/html/teampass/install/tp.functions.php:127\nStack trace:\n#0 /var/www/html/teampass/install/tp.functions.php(171): defuseCryption()\n#1 /var/www/html/teampass/install/upgrade_ajax.php(229): defuse_return_decrypted()\n#2 {main}\n thrown in /var/www/html/teampass/install/tp.functions.php on line 127, referer: https://myteampassserver/install/upgrade.php |
Beta Was this translation helpful? Give feedback.
-
I followed the advice in issue #3553 I added "define('SECUREFILE', 'teampass-seckey.txt');" and set "DB_ENCODING" to "utf8" in /var/www/html/teampass/includes/config/settings.php It's now working for me and I successfully passed to next step. |
Beta Was this translation helpful? Give feedback.
-
indeed, you need to start one time the upgrade, it won't work and then modify the file /var/www/html/teampass/includes/config/settings.php |
Beta Was this translation helpful? Give feedback.
-
Hi everyone!
I´ve downloaded the last commit of 3.0.2 version to upgrade our 3.0.0.22 install. I've replaced files into the html folder and after that, i came into the upgrade process.
I put the admin account credentials and then, after click on start, the upgrade proccess is supposed to be started, but it never ends.
Any suggestion?
P.D. We run TP in a docker container
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions