Click on publish button as not-logged user.
I got error 404.
Make sure you have https setup properly in config.phpYou could also open that php file from console to complete manually