Took a quick look - in the change to 950.data.seed-values.sql, the ID that's the first parameter of oils_i18n_gettext() does not match the ID assigned for the permission as a whole.
For the upgrade script, I suggest adding a "WHERE NOT EXISTS (SELECT 1 FROM permission.perm_list WHERE code = 'XXX')" clause to each insert statement similar to what's going on in 1401.data.lp2051140_missing_bucket_perms.sql. That way, the update will not error out for anybody who may have manually added the missing permissions.
Took a quick look - in the change to 950.data. seed-values. sql, the ID that's the first parameter of oils_i18n_gettext() does not match the ID assigned for the permission as a whole.
For the upgrade script, I suggest adding a "WHERE NOT EXISTS (SELECT 1 FROM permission. perm_list WHERE code = 'XXX')" clause to each insert statement similar to what's going on in 1401.data. lp2051140_ missing_ bucket_ perms.sql. That way, the update will not error out for anybody who may have manually added the missing permissions.