[T-Mobile Samsung Galaxy Note 3] siraltus:
Running TWRP 2.7.0.1, stock rooted NE6 ROM on SM-N900T.

Made a backup earlier today, and tried restoring tonight, and all non-system (user-installed) apps were force-closing after restoring the backup. Literally every single one. The only things that worked were system apps - phone, messaging, settings, camera, gallery, etc.

I booted into TWRP and did restorecon -R /system and that fixed it. (Before that, I tried doing restorecon -R /data and it didn't help).

So what's up? TWRP is not backing up or restoring contexts properly or something? See attached logs.

This is what restorecon fixed, BTW:

restorecon -Rv /system
Relabeling /system/bin/adsprpcd from u:object_r:adsprpcd_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/app_process from u:object_r:system_file:s0 to u:object_r:zygote_exec:s0.
Relabeling /system/bin/charger_monitor from u:object_r:charger_monitor_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/charon from u:object_r:charon_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/clatd from u:object_r:clatd_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/createsystemfile from u:object_r:createsystemfile_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/ddexe from u:object_r:system_file:s0 to u:object_r:ddexe_exec:s0.
Relabeling /system/bin/drsd from u:object_r:drsd_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/icd from u:object_r:icd_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/imsqmidaemon from u:object_r:imsqmidaemon_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/insthk from u:object_r:insthk_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/ipruleset from u:object_r:ipruleset_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/mdnsd from u:object_r:mdnsd_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/prepare_param.sh from u:object_r:prepare_param_sh_file:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/rfs_access from u:object_r:rfs_access_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/bin/ss_conn_daemon from u:object_r:ss_conn_daemon_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/lib from u:object_r:unlabeled:s0 to u:object_r:system_library_file:s0.
Relabeling /system/lib/libGLESv3.so from u:object_r:unlabeled:s0 to u:object_r:system_library_file:s0.
Relabeling /system/xbin from u:object_r:zygote_exec:s0 to u:object_r:system_file:s0.
Relabeling /system/xbin/su from u:object_r:system_file:s0 to u:object_r:su_exec:s0.
Relabeling /system/xbin/sugote from u:object_r:zygote_exec:s0 to u:object_r:system_file:s0.
restorecon -Rv /data
Relabeling /data/misc/wifi/sockets/wpa_ctrl_886-1 from u:object_r:system_wpa_socket:s0 to u:object_r:wifi_data_file:s0.
Relabeling /data/misc/wifi/sockets/wpa_ctrl_886-2 from u:object_r:system_wpa_socket:s0 to u:object_r:wifi_data_file:s0.
Relabeling /data/misc/wifi/sockets/wlan0 from u:object_r:wpa_socket:s0 to u:object_r:wifi_data_file:s0.
Relabeling /data/misc/wifi/sockets/p2p0 from u:object_r:wpa_socket:s0 to u:object_r:wifi_data_file:s0.
Relabeling /data/data/imsqmisocket from u:object_r:system_data_file:s0 to u:object_r:app_data_file:s0.
Relabeling /data/system/container from u:object_r:security_file:s0 to u:object_r:system_data_file:s0.
Relabeling /data/system/container/databases from u:object_r:security_file:s0 to u:object_r:system_data_file:s0.
Relabeling /data/system/container/databases/container.db from u:object_r:security_file:s0 to u:object_r:system_data_file:s0.
Relabeling /data/system/container/databases/container.db-journal from u:object_r:security_file:s0 to u:object_r:system_data_file:s0.
Relabeling /data/system/container/databases/ecpp.enterprise.db from u:object_r:security_file:s0 to u:object_r:system_data_file:s0.
Relabeling /data/system/container/databases/ecpp.enterprise.db-wal from u:object_r:security_file:s0 to u:object_r:system_data_file:s0.
Relabeling /data/system/container/databases/ecpp.enterprise.db-shm from u:object_r:security_file:s0 to u:object_r:system_data_file:s0.
Relabeling /data/system/container/enterprisedata.xml from u:object_r:security_file:s0 to u:object_r:system_data_file:s0.
Relabeling /data/system/ndebugsocket from u:object_r:system_ndebug_socket:s0 to u:object_r:system_data_file:s0.
Relabeling /data/clipboard/knox from u:object_r:knox_clipboard_file:s0:c1 to u:object_r:knox_clipboard_file:s0.
Relabeling /data/clipboard/knox/clips.info from u:object_r:knox_clipboard_file:s0:c1 to u:object_r:knox_clipboard_file:s0.
Relabeling /data/clipboard/knox/clips.info_temp from u:object_r:knox_clipboard_file:s0:c1 to u:object_r:knox_clipboard_file:s0.
Relabeling /data/knox from u:object_r:container_app_data_backend:s0 to u:object_r:system_data_file:s0.