Ps4 slim cuh-2015a SOMETIMES won't take discs

Hello

I’m having problems with my ps4, sometimes it wont take a disc in. what I would do is restart the ps4 or shut it down then turn it on and it will take the disc just as normal and read the disc just fine and fast… or if i turn it off with the disc inside once it turns on again it won’t show the disc inside. I already tried the rebuild database and it still the same.any help out there? please