Import does not get passwords
Page on which it happened
http://192.168.200.177/index.php?page=import
Steps to reproduce
- Import file exported from Teampass previous version
- Create new item
Expected behaviour
Items will be imported and password will be accessible by users.
Actual behaviour
Items do not show passwords. The field teampass_pw is empty. Only manually created items has teampass_pw filed with values are these are shown correctly in the GUI.
Server configuration
Operating system: Linux teampass3.rdpnts.local 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Web server: Apache
Database: 9.4.0
PHP version: 8.3.6
Teampass version: 3.1.4.31
Teampass configuration variables:
'activate_expiration' => '0'
'admin_2fa_required' => '1'
'agses_authentication_enabled' => '0'
'allow_import' => '1'
'allow_print' => '1'
'anyone_can_modify' => '0'
'anyone_can_modify_bydefault' => '0'
'api' => '0'
'api_token_duration' => '60'
'bck_script_filename' => 'bck_teampass'
'bck_script_passkey' => ''
'bck_script_path' => '/var/www/html//backups'
'can_create_root_folder' => '1'
'clean_orphan_objects_task' => ''
'clipboard_life_duration' => '30'
'copy_to_clipboard_small_icons' => '1'
'cpassman_dir' => '/var/www/html/'
'cpassman_url' => 'http:///'
'create_item_without_password' => '1'
'custom_login_text' => ''
'custom_logo' => ''
'date_format' => 'd/m/Y'
'default_language' => 'english'
'default_session_expiration_time' => '60'
'delay_item_edition' => '0'
'disable_show_forgot_pwd_link' => '0'
'duo' => '0'
'duo_failmode' => 'secure'
'duo_host' => ''
'duo_ikey' => ''
'duo_skey' => ''
'duplicate_folder' => '1'
'duplicate_item' => '1'
'email_auth_pwd' => ''
'email_auth_username' => ''
'email_debug_level' => '0'
'email_from' => ''
'email_from_name' => ''
'email_port' => ''
'email_security' => ''
'email_server_url' => ''
'email_smtp_auth' => ''
'email_smtp_server' => ''
'enable_ad_user_auto_creation' => '0'
'enable_ad_users_with_ad_groups' => '0'
'enable_attachment_encryption' => '1'
'enable_delete_after_consultation' => '0'
'enable_email_notification_on_item_shown' => '0'
'enable_email_notification_on_user_pw_change' => '0'
'enable_favourites' => '1'
'enable_http_request_login' => '0'
'enable_kb' => '0'
'enable_massive_move_delete' => '1'
'enable_personal_saltkey_cookie' => '0'
'enable_pf_feature' => '0'
'enable_refresh_task_last_execution' => '1'
'enable_send_email_on_user_login' => '0'
'enable_server_password_change' => '0'
'enable_sts' => '0'
'enable_suggestion' => '0'
'enable_tasks_log' => '0'
'enable_tasks_manager' => '1'
'enable_user_can_create_folders' => '0'
'encryptClientServer' => '1'
'favicon' => 'http:////favicon.ico'
'files_with_defuse' => 'done'
'ga_reset_by_user' => ''
'ga_website_name' => 'TeamPass for ChangeMe'
'get_tp_info' => '1'
'google_authentication' => '0'
'highlight_favorites' => '0'
'highlight_selected' => '0'
'insert_manual_entry_item_history' => '0'
'item_duplicate_in_same_folder' => '1'
'item_extra_fields' => '0'
'items_ops_job_frequency' => '1'
'items_statistics_job_frequency' => '5'
'last_cron_exec' => '1757507161'
'ldap_and_local_authentication' => '0'
'ldap_bdn' => ''
'ldap_dn_additional_user_dn' => ''
'ldap_group_objectclasses_attibute' => 'top,groupofuniquenames'
'ldap_guid_attibute' => 'objectguid'
'ldap_hosts' => ''
'ldap_mode' => '0'
'ldap_new_user_is_administrated_by' => '0'
'ldap_password' => ''
'ldap_port' => '389'
'ldap_ssl' => '0'
'ldap_tls' => '0'
'ldap_tls_certificate_check' => 'LDAP_OPT_X_TLS_NEVER'
'ldap_type' => '0'
'ldap_user_attribute' => '0'
'ldap_user_dn_attribute' => ''
'ldap_user_object_filter' => ''
'ldap_username' => ''
'limited_search_default' => '0'
'log_accessed' => '1'
'log_connections' => '1'
'maintenance_mode' => '0'
'manager_edit' => '1'
'manager_move_item' => '0'
'max_latest_items' => '10'
'maximum_number_of_items_to_treat' => '100'
'maximum_session_expiration_time' => '60'
'mfa_for_roles' => ''
'migration_to_2127' => 'done'
'nb_bad_authentication' => '0'
'nb_items_by_query' => 'auto'
'number_of_used_pw' => '3'
'number_users_build_cache_tree' => '10'
'oauth2_client_appname' => 'Login with Azure'
'oauth2_client_endpoint' => ''
'oauth2_client_id' => ''
'oauth2_client_scopes' => 'openid,profile,email,User.Read,Group.Read.All'
'oauth2_client_secret' => ''
'oauth2_client_token' => ''
'oauth2_client_urlResourceOwnerDetails' => ''
'oauth2_enabled' => '0'
'oauth2_tenant_id' => ''
'oauth_new_user_is_administrated_by' => '0'
'oauth_self_register_groups' => ''
'oauth_selfregistered_user_belongs_to_role' => '0'
'offline_key_level' => '0'
'onthefly-backup-key' => ''
'onthefly-restore-key' => ''
'otv_expiration_period' => '7'
'otv_is_enabled' => '0'
'password_overview_delay' => '4'
'path_to_files_folder' => '/var/www/html//files'
'path_to_upload_folder' => '/var/www/html//upload'
'personal_saltkey_cookie_duration' => '31'
'personal_saltkey_security_level' => '50'
'proxy_ip' => ''
'proxy_port' => ''
'purge_temporary_files_task' => ''
'pw_life_duration' => '0'
'pwd_default_length' => '14'
'pwd_maximum_length' => '40'
'rebuild_config_file' => ''
'reload_cache_table_task' => ''
'restricted_to' => '0'
'restricted_to_roles' => '0'
'richtext' => '0'
'roles_allowed_to_print' => '0'
'roles_allowed_to_print_select' => '[1]'
'saltkey_ante_2127' => 'none'
'secure_display_image' => '1'
'send_mail_on_user_login' => '0'
'send_statistics_items' => 'stat_country;stat_users;stat_items;stat_items_shared;stat_folders;stat_folders_shared;stat_admins;stat_managers;stat_ro;stat_mysqlversion;stat_phpversion;stat_teampassversion;stat_languages;stat_kb;stat_suggestion;stat_customfields;stat_api;stat_2fa;stat_agses;stat_duo;stat_ldap;stat_syslog;stat_stricthttps;stat_fav;stat_pf;'
'send_stats' => '0'
'send_stats_time' => '1754913510'
'sending_emails_job_frequency' => '2'
'settings_offline_mode' => '0'
'settings_tree_counters' => '0'
'show_description' => '1'
'show_item_data' => '0'
'show_last_items' => '1'
'show_only_accessible_folders' => '0'
'subfolder_rights_as_parent' => '1'
'syslog_enable' => '0'
'syslog_host' => ''
'syslog_port' => '514'
'task_maximum_run_time' => '300'
'tasks_history_delay' => '604800'
'tasks_log_retention_delay' => '30'
'tasks_manager_refreshing_period' => '20'
'teampass_version' => '3.1.4'
'time_format' => 'H:i:s'
'timestamp' => '1757507213'
'timezone' => 'Europe/Madrid'
'tree_counters' => '0'
'upgrade_timestamp' => '1757505510'
'upload_all_extensions_file' => '0'
'upload_docext' => 'doc,docx,dotx,xls,xlsx,xltx,rtf,csv,txt,pdf,ppt,pptx,pot,dotx,xltx'
'upload_imageresize_height' => '600'
'upload_imageresize_options' => '1'
'upload_imageresize_quality' => '90'
'upload_imageresize_width' => '800'
'upload_imagesext' => 'jpg,jpeg,gif,png'
'upload_maxfilesize' => '10mb'
'upload_otherext' => 'sql,xml'
'upload_pkgext' => '7z,rar,tar,zip'
'upload_zero_byte_file' => '0'
'url_to_files_folder' => 'http:////files'
'use_md5_password_as_salt' => '0'
'user_keys_job_frequency' => '1'
'users_personal_folder_task' => ''
'utf8_enabled' => '1'
Updated from an older Teampass or fresh install:
Client configuration
Browser: Chrome - 139.0.0.0
Operating system: Windows - 64bits
Logs
Web server error log
- ()
Teampass 10 last system errors
Log from the web-browser developer console (CTRL + SHIFT + i)
Insert the log here and especially the answer of the query that failed.
I made these comments in issue #4790 as well:
I have a similar issue trying to Import to a 3.1.4.37; no passwords or comment formatting are ingested.
I tried doing another import. Before I did I deleted all passwords and folders from the Items page. After I performed the import the Items page has a spining Loading... under Folders and a spinning Loading data... in the bottom right.
@srgroucho-rp Hope this helps you: I found that the password column in my Exported file is pw when it needs to be password for the Import.