TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Upgrade 3.0.0.22 to 3.1.0.11

Open Dedazll opened this issue 1 year ago • 7 comments

Steps to reproduce

  1. Copying the teampass-db and teampass-html directory to the directory with Dosker-Compose
  2. Start Docker-compose
  3. Update in the web interface according to instructions: (https://documentation.teampass.net/#/install/upgrade)

Expected behaviour

Tell us what should happen Upgrade Teampass version to 3.1.0.11

Actual behaviour

Tell us what happens instead:

Error In client: After the update started, the process began: "The database needs to be adapted. This step can take a very long time depending on the data volume and server performance." The recount has begun "Performing opertaion populateltemsTable_CreatedAt - Loop #..." After a while, the browser displays an error "Aw, Snap! errors in Chrome regularly, it means Chrome is having problems loading that web page. Error code: Out of Memory"

Error in Server The following errors that were found:

1) Container Teampass:
teampass-web_1  | Teampass is ready.
teampass-web_1  | upgrade teampass
teampass-web_1  | Changed current directory to /root/.composer
teampass-web_1  | Cannot use hirak/prestissimo's latest version 0.3.10 as it requires php ^5.3.2 || ^7.0 which is not satisfied by your platform.
teampass-web_1  |
teampass-web_1  | Installation failed, deleting ./composer.json.
teampass-web_1  |
teampass-web_1  | In RequireCommand.php line 225:
teampass-web_1  |
teampass-web_1  |   No composer.json present in the current directory (./composer.json), this m
teampass-web_1  |   ay be the cause of the following exception.
teampass-web_1  |
teampass-web_1  |
teampass-web_1  | In PackageDiscoveryTrait.php line 317:
teampass-web_1  |
teampass-web_1  |   Package hirak/prestissimo has requirements incompatible with your PHP versi
teampass-web_1  |   on, PHP extensions and Composer version:
teampass-web_1  |     - hirak/prestissimo 0.3.10 requires php ^5.3.2 || ^7.0 which does not mat
teampass-web_1  |   ch your installed version 8.2.7.
teampass-web_1  |     - hirak/prestissimo 0.3.10 requires composer-plugin-api ^1.0.0 which does
teampass-web_1  |    not match your installed version 2.3.0.


2) Containter nginx:
nginx_1         | dockergen.1 | 2024/01/12 10:00:26 Received event die for container 9905c34c2a40
nginx_1         | dockergen.1 | 2024/01/12 10:00:26 Received event start for container 9905c34c2a40
nginx_1         | dockergen.1 | 2024/01/12 10:00:26 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
nginx_1         | dockergen.1 | 2024/01/12 10:00:26 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'

Server configuration

Operating system: Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.0-25-amd64

Web server: nginx/1.24.0

Database: mariadb:10.5

PHP version: PHP - 7.0

Teampass version: Teampass - v.3.0.0.22

Teampass configuration file:

Updated from an older Teampass or fresh install: PLEASE attach to this issue the file /includes/config/tp.config.php.

Client configuration

Browser: Google chrome - Version 120.0.6099.216 (Official build), (64 bit)

Operating system: Windows 10 - 21H2

[tp.config.php.txt](https://github.com/nilsteampassnet/TeamPass/files/13934841/tp.config.php.txt)



Dedazll avatar Jan 15 '24 04:01 Dedazll