Public course problem

I have a problem with making course public to everyone. I followed the instructions from 4.11. Enabling Public Course Content — Installing, Configuring, and Running the Open edX Platform documentation but after I created the flag seo.enable_anonymous_courseware_access and set Course Visibility For Unenrolled Learners to public, the button for accesing the course in frontend disappears and I cannot access the course if I am not a registered user

I resolved the issue. It was because of the “Course start date”. Thank you