TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Can't save edits after upgrade to 2.1.8

Open SpikeStephens opened this issue 14 years ago • 2 comments

I performed an upgrade from 2.1.7 to 2.1.8 and now I can't save changes to password items.

There is a MySQL error about a column not existing. This is the data returned by the AJAX call when attempting to save an item (clean version after the raw):

document.getElementById("mysql_error_warning").innerHTML = "MySQL Query fail: \n\n SELECT i.id AS id, i.label AS label, i.description AS description, i.pw AS pw, i.url AS url, i.id_tree AS id_tree, i.perso AS perso, i.login AS login,\n\n i.inactif AS inactif, i.restricted_to AS restricted_to, i.anyone_can_modify AS anyone_can_modify, i.email AS email, i.notification AS notification,\n\n u.login AS user_login, u.email AS user_email\n\n FROM teampass_items AS i\n\n INNER JOIN teampass_log_items AS l ON (i.id=l.id_item)\n\n INNER JOIN teampass_users AS u ON (u.id=l.id_user)\n\n WHERE i.id=809
Unknown column 'i.notification' in 'field list'";$("#div_mysql_error").dialog("open");

Query cleaned up:

SELECT i.id AS id, i.label AS label, i.description AS description, i.pw AS pw, i.url AS url, i.id_tree AS id_tree, i.perso AS perso, i.login AS login, i.inactif AS inactif, i.restricted_to AS restricted_to, i.anyone_can_modify AS anyone_can_modify, i.email AS email, i.notification AS notification, u.login AS user_login, u.email AS user_email FROM teampass_items AS i INNER JOIN teampass_log_items AS l ON (i.id=l.id_item) INNER JOIN teampass_users AS u ON (u.id=l.id_user) WHERE i.id=809

Error message: Unknown column 'i.notification' in 'field list'

I performed my upgrade by extracting the new version into a fresh directory, copying over my settings file from the old directory, then running through the /install/upgrade web installer.

SpikeStephens avatar Aug 28 '12 15:08 SpikeStephens

PLease check already created item 130

=> https://github.com/nilsteampassnet/TeamPass/issues/130

nilsteampassnet avatar Aug 28 '12 19:08 nilsteampassnet

That took care of it. Thanks.

SpikeStephens avatar Aug 28 '12 19:08 SpikeStephens