Skip to content

[BUG] Custom fields issue after migration to 3.2.0.x #5252

@reginfo

Description

@reginfo

Steps to reproduce

  1. Migrate TP from 3.1.7.5 to 3.2.0.x
  2. Open the record containing custom fields
  3. View record

Expected behaviour

Custom field data needs to be visible/readble

Image Image

Actual behaviour

No data visible in frontend. On DB it was encrypted.

Image Image

As I understand correctly this is why after migration I have 1 Inconsistent user, it is admin and it is for teampass_sharekeys_fields.

Image

Server configuration

Operating system Linux safe 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
Web server Apache
Database 10.11.14-MariaDB-0ubuntu0.24.04.1
PHP version 8.3.6
TeamPass version 3.2.0.3
Install type Updated from 3.1.6.13 -> 3.1.7.2 -> 3.1.7.3 -> 3.1.7.4 -> 3.1.7.5
Deployment Standard

TeamPass configuration variables

Configuration variables (click to expand)

'activate_expiration' => '0'
'admin_2fa_required' => '1'
'agses_authentication_enabled' => '0'
'allow_import' => '0'
'allow_print' => '0'
'anyone_can_modify' => '0'
'anyone_can_modify_bydefault' => '0'
'api' => '0'
'api_cors_origins' => ''
'api_rate_limit_per_minute' => '0'
'api_require_https' => '0'
'api_token_duration' => '60'
'bck_script_filename' => 'bck_teampass'
'bck_script_passkey' => ''
'bck_script_passkey_restore_candidates' => ''
'bck_script_path' => '/var/www/html/teampass//backups'
'browser_extension_key' => ''
'bruteforce_lock_duration' => '10'
'clean_orphan_objects_task' => ''
'cli_php_binary_path' => ''
'clipboard_life_duration' => '30'
'copy_to_clipboard_small_icons' => '1'
'cpassman_dir' => '/var/www/html/teampass/'
'cpassman_url' => 'https:///'
'create_item_without_password' => '0'
'custom_login_text' => ''
'custom_logo' => ''
'date_format' => 'd/m/Y'
'default_language' => 'english'
'default_session_expiration_time' => '60'
'delay_item_edition' => '1'
'disable_show_forgot_pwd_link' => '1'
'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' => 'Password Management'
'email_port' => '587'
'email_security' => 'tls'
'email_server_url' => 'https://localhost'
'email_smtp_auth' => '1'
'email_smtp_server' => ''
'enable_ad_user_auto_creation' => '0'
'enable_ad_users_with_ad_groups' => '1'
'enable_attachment_encryption' => '1'
'enable_delete_after_consultation' => '0'
'enable_email_notification_on_item_shown' => '0'
'enable_email_notification_on_user_pw_change' => '1'
'enable_fastcgi_finish_request' => '1'
'enable_favourites' => '1'
'enable_http_request_login' => '0'
'enable_kb' => '0'
'enable_local_password_recovery' => '0'
'enable_massive_move_delete' => '0'
'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' => '1'
'enable_tasks_log' => '0'
'enable_tasks_manager' => '1'
'enable_user_can_create_folders' => '0'
'encryptClientServer' => '1'
'extension_licence_cache' => '{"error":false,"server_online":true,"server_version":"v1.1","licence_status":"","expiration_date":"","consumed":0,"max_users":0}'
'extension_licence_cache_at' => '1781630667'
'extension_token_all_auth_types' => '0'
'favicon' => 'https:////favicon.ico'
'files_with_defuse' => 'done'
'ga_reset_by_user' => ''
'ga_website_name' => 'TeamPass for ChangeMe'
'get_tp_info' => '1'
'google_authentication' => '0'
'health_logs_mode' => 'auto'
'health_php_fpm_log_path' => ''
'health_teampass_log_path' => ''
'health_webserver_log_path' => ''
'hibp_check_interval_days' => '7'
'hibp_enabled' => '0'
'highlight_favorites' => '0'
'highlight_selected' => '1'
'inactive_users_mgmt_action' => 'disable'
'inactive_users_mgmt_enabled' => '0'
'inactive_users_mgmt_grace_days' => '7'
'inactive_users_mgmt_inactivity_days' => '90'
'inactive_users_mgmt_last_details' => ''
'inactive_users_mgmt_last_message' => ''
'inactive_users_mgmt_last_run_at' => '0'
'inactive_users_mgmt_last_status' => ''
'inactive_users_mgmt_next_run_at' => '0'
'inactive_users_mgmt_time' => '02:00'
'insert_manual_entry_item_history' => '0'
'item_creation_templates' => '0'
'item_duplicate_in_same_folder' => '1'
'item_extra_fields' => '1'
'items_ops_job_frequency' => '1'
'items_statistics_job_frequency' => '5'
'last_cron_exec' => '1781633101'
'ldap_allowed_login_group_dn' => ''
'ldap_allowed_login_group_mode' => 'group'
'ldap_and_local_authentication' => '1'
'ldap_bdn' => 'data'
'ldap_dn_additional_user_dn' => 'data'
'ldap_group_object_filter' => ''
'ldap_group_objectclasses_attibute' => 'top,group'
'ldap_guid_attibute' => 'cn'
'ldap_hosts' => ''
'ldap_mode' => '1'
'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' => 'ActiveDirectory'
'ldap_user_attribute' => 'samaccountname'
'ldap_user_dn_attribute' => 'distinguishedname'
'ldap_user_object_filter' => ''
'ldap_username' => data'
'limited_search_default' => '0'
'log_accessed' => '1'
'log_connections' => '1'
'maintenance_mode' => '0'
'manager_edit' => '1'
'manager_move_item' => '1'
'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_bad_authentication_by_ip' => '30'
'nb_items_by_query' => 'auto'
'network_blacklist_enabled' => '0'
'network_security_header' => 'x-forwarded-for'
'network_security_mode' => 'direct'
'network_trusted_proxies' => ''
'network_whitelist_enabled' => '0'
'number_of_used_pw' => '3'
'number_users_build_cache_tree' => '10'
'oauth2_api_enabled' => '0'
'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-comment' => 'Before update to 3.1.7.4'
'onthefly-backup-key' => ''
'onthefly-restore-key' => ''
'otv_expiration_period' => '7'
'otv_is_enabled' => '0'
'password_overview_delay' => '10'
'path_to_files_folder' => '/var/www/html/teampass/storage/files'
'path_to_upload_folder' => '/var/www/html/teampass/storage/upload'
'personal_saltkey_cookie_duration' => '31'
'personal_saltkey_security_level' => '50'
'phpseclib_migration_mode' => 'progressive'
'phpseclibv3_native' => '1'
'proxy_ip' => ''
'proxy_port' => ''
'purge_temporary_files_task' => ''
'pw_life_duration' => '0'
'pwd_default_length' => '14'
'pwd_maximum_length' => '40'
'rebuild_config_file' => ''
'redis_host' => '127.0.0.1'
'redis_port' => '6379'
'redis_prefix' => 'teampass_sess_'
'redis_session_enabled' => '1'
'reload_cache_table_task' => ''
'restricted_to' => '0'
'restricted_to_roles' => '0'
'richtext' => '0'
'roles_allowed_to_print' => '0'
'roles_allowed_to_print_select' => '[]'
'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' => '1771420549'
'sending_emails_job_frequency' => '2'
'settings_offline_mode' => '0'
'settings_tree_counters' => '0'
'show_corrupted_items_in_list' => '0'
'show_description' => '1'
'show_item_data' => '1'
'show_last_items' => '1'
'show_online_users_list' => '0'
'show_only_accessible_folders' => '1'
'subfolder_rights_as_parent' => '0'
'syslog_enable' => '0'
'syslog_host' => ''
'syslog_port' => '514'
'task_duration_estimation' => '15'
'task_maximum_run_time' => '300'
'tasks_history_delay' => '604800'
'tasks_log_retention_delay' => '30'
'tasks_manager_refreshing_period' => '20'
'teampass_latest_release_cache' => '{"error":false,"has_update":true,"current_version":"3.1.7.5","latest_version":"3.1.7.6","release_url":"https://github.com/nilsteampassnet/TeamPass/releases/tag/3.1.7.6"}'
'teampass_latest_release_cache_at' => '1781608559'
'teampass_version' => '3.2.0'
'time_format' => 'H:i:s'
'timezone' => 'Europe/Riga'
'transparent_key_recovery_enabled' => '1'
'transparent_key_recovery_integrity_check' => '1'
'transparent_key_recovery_max_age_days' => '730'
'transparent_key_recovery_pbkdf2_iterations' => '100000'
'tree_counters' => '1'
'upgrade_timestamp' => '1781631167'
'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' => 'https:///storage/files'
'use_md5_password_as_salt' => '0'
'user_keys_job_frequency' => '1'
'users_personal_folder_task' => ''
'utf8_enabled' => '1'
'websocket_enabled' => '1'
'websocket_host' => '127.0.0.1'
'websocket_port' => '8080'

Important informations

Updated from an older Teampass or fresh install Updated from what release 3.1.7.5
Using Docker No

Client configuration

Browser Chrome - 149.0.0.0
Operating system Windows - 64bits

Logs

Web server error log

None

TeamPass 10 last system errors

None

Browser developer console (F12 > Console + Network)

Insert the relevant console/network errors here and especially the answer of the query that failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions