Permission error creating new dm and uploading files (rhel + posgresql)

Users table looks correct. There are a lot of rows in ChannelMembers table that are missing ‘channel_user’. Team user looks correct as well. Did a refresh on the config.json but seems to be the same so I’m guessing it’s because of the roles in ChannelMembers table.