TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Database Import

Open djbotelho opened this issue 2 years ago • 5 comments

Im trying to import everthing manually from v2 to v3 using mysql workbench.

Ive sucessfully imported folders, roles, users , roles permissions and passwords.

The passwords appear on the database but they dont show in the application. Do you know what seems to be the problem? Im using the table teampass_items

image

djbotelho avatar Jul 25 '23 10:07 djbotelho

This is not possible. Must use upgrade process

nilsteampassnet avatar Aug 09 '23 18:08 nilsteampassnet

Can you explain the correct way to export items from the old version to the new one?

I tried using the web interface but it didnt work. When I import it stays on "Reading file" forever.

Thank you

image

image

djbotelho avatar Aug 10 '23 15:08 djbotelho

You can do this way. Please check the data format with help. What is the Apache log error you get when importing?

nilsteampassnet avatar Aug 18 '23 12:08 nilsteampassnet

Column size should be 1, but 2 columns given in /var/www/html/TeamPass/includes/libraries/Goodby/CSV/Import/Standard/Interpreter.php:119\nStack trace:\n#0 /var/www/html/TeamPass/includes/libraries/Goodby/CSV/Import/Standard/Interpreter.php(42): Goodby\CSV\Import\Standard\Interpreter->checkRowConsistency()\n#1 /var/www/html/TeamPass/includes/libraries/Goodby/CSV/Import/Standard/Lexer.php(68): Goodby\CSV\Import\Standard\Interpreter->interpret()\n#2 /var/www/html/TeamPass/sources/import.queries.php(177): Goodby\CSV\Import\Standard\Lexer->parse()\n#3 {main}\n thrown in /var/www/html/TeamPass/includes/libraries/Goodby/CSV/Import/Standard/Interpreter.php on line 119, referer: http://10.10.90.45/TeamPass/index.php?page=import

I think this might be the problem?

djbotelho avatar Aug 18 '23 12:08 djbotelho

The upgrade doesn't work for me so I've tried importing from .CSV and get the same error as you - did you find a solution?

DaveWebb2 avatar Sep 18 '24 15:09 DaveWebb2

Closed automatically due to inactivity (no response for over 1 year).

nilsteampassnet avatar Oct 25 '25 12:10 nilsteampassnet